Changeset 12600 for sites/trunk/wordpress.org/public_html/wp-content/plugins/theme-directory/class-themes-api.php
- Timestamp:
- 05/23/2023 06:16:42 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/theme-directory/class-themes-api.php
r12560 r12600 69 69 'external_repository_url' => false, 70 70 'external_support_url' => false, 71 'can_configure_categorization_options' => false,72 71 'upload_date' => false, 73 72 ); … … 476 475 $defaults['external_repository_url'] = true; 477 476 $defaults['external_support_url'] = true; 478 $defaults['can_configure_categorization_options'] = true;479 477 } 480 478 … … 547 545 $defaults['external_repository_url'] = true; 548 546 $defaults['external_support_url'] = true; 549 $defaults['can_configure_categorization_options'] = true;550 547 } 551 548 … … 932 929 } 933 930 934 if ( $this->fields['can_configure_categorization_options'] ) {935 $phil->can_configure_categorization_options = current_user_can( 'theme_configure_categorization_options', $theme );936 }937 938 931 if ( class_exists( 'GlotPress_Translate_Bridge' ) ) { 939 932 $glotpress_project = "wp-themes/{$phil->slug}";
Note: See TracChangeset
for help on using the changeset viewer.