Changeset 38887 for trunk/src/wp-includes/class-wp-customize-manager.php
- Timestamp:
- 10/24/2016 06:16:41 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-customize-manager.php
r38862 r38887 3027 3027 ) ) ); 3028 3028 3029 $this->add_section( new WP_Customize_Themes_Section( $this, 'search_themes', array( 3030 'title' => __( 'Search themes…' ), 3031 'text_before' => __( 'Browse all WordPress.org themes' ), 3032 'action' => 'search', 3033 'capability' => 'install_themes', 3034 'panel' => 'themes', 3035 'priority' => 5, 3036 ) ) ); 3037 3038 $this->add_section( new WP_Customize_Themes_Section( $this, 'featured_themes', array( 3039 'title' => __( 'Featured' ), 3040 'action' => 'featured', 3041 'capability' => 'install_themes', 3042 'panel' => 'themes', 3043 'priority' => 10, 3044 ) ) ); 3045 3046 $this->add_section( new WP_Customize_Themes_Section( $this, 'popular_themes', array( 3047 'title' => __( 'Popular' ), 3048 'action' => 'popular', 3049 'capability' => 'install_themes', 3050 'panel' => 'themes', 3051 'priority' => 15, 3052 ) ) ); 3053 3054 $this->add_section( new WP_Customize_Themes_Section( $this, 'latest_themes', array( 3055 'title' => __( 'Latest' ), 3056 'action' => 'latest', 3057 'capability' => 'install_themes', 3058 'panel' => 'themes', 3059 'priority' => 20, 3060 ) ) ); 3061 3062 $this->add_section( new WP_Customize_Themes_Section( $this, 'feature_filter_themes', array( 3063 'title' => __( 'Feature Filter' ), 3064 'action' => 'feature_filter', 3065 'capability' => 'install_themes', 3066 'panel' => 'themes', 3067 'priority' => 25, 3068 ) ) ); 3069 3070 $this->add_section( new WP_Customize_Themes_Section( $this, 'favorites_themes', array( 3071 'title' => __( 'Favorites' ), 3072 'action' => 'favorites', 3073 'capability' => 'install_themes', 3074 'panel' => 'themes', 3075 'priority' => 30, 3076 ) ) ); 3029 if ( ! is_multisite() ) { 3030 $this->add_section( new WP_Customize_Themes_Section( $this, 'search_themes', array( 3031 'title' => __( 'Search themes…' ), 3032 'text_before' => __( 'Browse all WordPress.org themes' ), 3033 'action' => 'search', 3034 'capability' => 'install_themes', 3035 'panel' => 'themes', 3036 'priority' => 5, 3037 ) ) ); 3038 3039 $this->add_section( new WP_Customize_Themes_Section( $this, 'featured_themes', array( 3040 'title' => __( 'Featured' ), 3041 'action' => 'featured', 3042 'capability' => 'install_themes', 3043 'panel' => 'themes', 3044 'priority' => 10, 3045 ) ) ); 3046 3047 $this->add_section( new WP_Customize_Themes_Section( $this, 'popular_themes', array( 3048 'title' => __( 'Popular' ), 3049 'action' => 'popular', 3050 'capability' => 'install_themes', 3051 'panel' => 'themes', 3052 'priority' => 15, 3053 ) ) ); 3054 3055 $this->add_section( new WP_Customize_Themes_Section( $this, 'latest_themes', array( 3056 'title' => __( 'Latest' ), 3057 'action' => 'latest', 3058 'capability' => 'install_themes', 3059 'panel' => 'themes', 3060 'priority' => 20, 3061 ) ) ); 3062 3063 $this->add_section( new WP_Customize_Themes_Section( $this, 'feature_filter_themes', array( 3064 'title' => __( 'Feature Filter' ), 3065 'action' => 'feature_filter', 3066 'capability' => 'install_themes', 3067 'panel' => 'themes', 3068 'priority' => 25, 3069 ) ) ); 3070 3071 $this->add_section( new WP_Customize_Themes_Section( $this, 'favorites_themes', array( 3072 'title' => __( 'Favorites' ), 3073 'action' => 'favorites', 3074 'capability' => 'install_themes', 3075 'panel' => 'themes', 3076 'priority' => 30, 3077 ) ) ); 3078 } 3077 3079 3078 3080 // Themes Setting (unused - the theme is considerably more fundamental to the Customizer experience).
Note: See TracChangeset
for help on using the changeset viewer.