Changeset 10723
- Timestamp:
- 02/25/2021 07:33:46 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/theme-directory/class-themes-api.php
r10722 r10723 46 46 'downloadlink' => false, 47 47 'last_updated' => false, 48 'creation_time' => false, 48 49 'parent' => false, 49 50 'rating' => false, … … 435 436 $defaults['requires'] = true; 436 437 $defaults['requires_php'] = true; 438 $defaults['creation_time'] = true; 437 439 } 438 440 … … 771 773 772 774 if ( $this->fields['last_updated'] ) { 773 $phil->last_updated = get_post_modified_time( 'Y-m-d', null, $theme->ID, true ); 775 $phil->last_updated = get_post_modified_time( 'Y-m-d', true, $theme->ID, true ); 776 $phil->last_updated_time = get_post_modified_time( 'Y-m-d H:i:s', true, $theme->ID, true ); 777 } 778 779 if ( $this->fields['creation_time'] ) { 780 $phil->creation_time = get_post_time( 'Y-m-d H:i:s', true, $theme->ID, true ); 774 781 } 775 782
Note: See TracChangeset
for help on using the changeset viewer.