Changeset 12600 for sites/trunk/wordpress.org/public_html/wp-content/plugins/theme-directory/theme-directory.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/theme-directory.php
r12521 r12600 165 165 } 166 166 167 register_taxonomy( 'theme_business_model', 'repopackage', array(168 'hierarchical' => true, /* for tax_input[] handling on post saves. */169 'query_var' => 'theme_business_model',170 'rewrite' => false,171 'labels' => array(172 'name' => __( 'Business Model', 'wporg-themes' ),173 ),174 'public' => true,175 'show_ui' => true,176 'show_admin_column' => false,177 'capabilities' => array(178 'assign_terms' => 'assign_categories',179 ),180 ) );167 register_taxonomy( 'theme_business_model', 'repopackage', array( 168 'hierarchical' => true, /* for tax_input[] handling on post saves. */ 169 'query_var' => 'theme_business_model', 170 'rewrite' => false, 171 'labels' => array( 172 'name' => __( 'Business Model', 'wporg-themes' ), 173 ), 174 'public' => true, 175 'show_ui' => true, 176 'show_admin_column' => false, 177 'capabilities' => array( 178 'assign_terms' => 'assign_categories', 179 ), 180 ) ); 181 181 182 182 // Add the browse/* views … … 904 904 'is_community' => true, 905 905 'external_repository_url' => true, 906 'can_configure_categorization_options' => true,907 906 ); 908 907 … … 950 949 'is_community' => true, 951 950 'external_repository_url' => true, 952 'can_configure_categorization_model_options' => true,953 951 ) 954 952 ) );
Note: See TracChangeset
for help on using the changeset viewer.