Changeset 8913 for sites/trunk/wordpress.org/public_html/wp-content/plugins/theme-directory/class-themes-api.php
- Timestamp:
- 06/04/2019 07:02:56 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
r8273 r8913 61 61 'photon_screenshots' => false, 62 62 'active_installs' => false, 63 'requires' => false, 64 'requires_php' => false, 63 65 ); 64 66 … … 369 371 $defaults['reviews_url'] = true; 370 372 $defaults['parent'] = true; 373 $defaults['requires'] = true; 374 $defaults['requires_php'] = true; 371 375 } 372 376 … … 788 792 } 789 793 794 if ( $this->fields['requires'] ) { 795 $phil->requires = wporg_themes_get_version_meta( $theme->ID, '_requires', $phil->version ); 796 } 797 798 if ( $this->fields['requires_php'] ) { 799 $phil->requires_php = wporg_themes_get_version_meta( $theme->ID, '_requires_php', $phil->version ); 800 } 801 790 802 if ( class_exists( 'GlotPress_Translate_Bridge' ) ) { 791 803 $glotpress_project = "wp-themes/{$phil->slug}";
Note: See TracChangeset
for help on using the changeset viewer.