Changeset 3816
- Timestamp:
- 08/16/2016 05:07:23 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/class-template.php
r3793 r3816 372 372 373 373 // Screenshots in the plugin folder - /plugins/plugin-name/screenshot-1.png. 374 $format = 'https:// s.w.org/plugins/%s/%s?rev=%s';374 $format = 'https://i0.wp.com/plugins.svn.wordpress.org/!svn/bc/%1$s/%2$s/trunk/%3$s?strip=all'; 375 375 } else { 376 376 377 377 // Images in the assets folder - /plugin-name/assets/screenshot-1.png. 378 $format = 'https://ps.w.org/%s/assets/%s?rev=%s'; 378 $format = 'https://i0.wp.com/plugins.svn.wordpress.org/!svn/bc/%1$s/%2$s/assets/%3$s?strip=all'; 379 379 380 } 380 381 381 382 return esc_url( sprintf( 382 383 $format, 384 $asset['revision'], 383 385 $plugin, 384 $asset['filename'], 385 $asset['revision'] 386 $asset['filename'] 386 387 ) ); 387 388 }
Note: See TracChangeset
for help on using the changeset viewer.