Changeset 1274 for sites/trunk/wordpress.org/public_html/wp-content/plugins/theme-directory/class-wporg-themes-upload.php
- Timestamp:
- 02/17/2015 11:18:19 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/theme-directory/class-wporg-themes-upload.php
r1225 r1274 302 302 usort( $screen_shots, array( $this, 'sort_by_string_length' ) ); 303 303 304 $screen_shot = array_pop( $screen_shots ); 305 $this->theme->screen_shot_ext = pathinfo( $screen_shot, PATHINFO_EXTENSION ); 306 307 return (bool) $screen_shot; 304 $this->theme->screen_shot = array_pop( $screen_shots ); 305 306 return (bool) $this->theme->screen_shot; 308 307 } 309 308 … … 449 448 [[TicketQuery(format=table, keywords=~theme-{$this->theme->get_stylesheet()}, col=id|summary|status|resolution|owner)]] 450 449 451 [[Image(https://themes.svn.wordpress.org/{$this->theme->get_stylesheet()}/{$this->theme->display( 'Version' )}/ screenshot.{$this->theme->screen_shot_ext}, width=640)]]450 [[Image(https://themes.svn.wordpress.org/{$this->theme->get_stylesheet()}/{$this->theme->display( 'Version' )}/{$this->theme->screen_shot}, width=640)]] 452 451 TICKET; 453 452 } … … 532 531 '_upload_date' => $upload_date, 533 532 '_ticket_id' => $ticket_id, 533 '_screen_shot' => $this->theme->screen_shot, 534 534 ); 535 535
Note: See TracChangeset
for help on using the changeset viewer.