Make WordPress Core


Ignore:
Timestamp:
03/28/2012 09:57:55 AM (15 years ago)
Author:
koopersmith
Message:

Theme Customizer: Move 'Site Title/Tagline' section to the top of the list. Add specific priorities to all sections. see #19910.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/class-wp-customize.php

    r20295 r20303  
    555555                        'title'          => __( 'Header' ),
    556556                        'theme_supports' => 'custom-header',
     557                        'priority'       => 20,
    557558                ) );
    558559
    … …  
    605606                        'title'          => __( 'Background' ),
    606607                        'theme_supports' => 'custom-background',
     608                        'priority'       => 30,
    607609                ) );
    608610
    … …  
    696698                        'title'          => __( 'Navigation' ),
    697699                        'theme_supports' => 'menus',
     700                        'priority'       => 40,
    698701                        'description'    => sprintf( _n('Your theme supports %s menu. Select which menu you would like to use.', 'Your theme supports %s menus. Select which menu appears in each location.', $num_locations ), number_format_i18n( $num_locations ) ),
    699702                ) );
    … …  
    728731                        'title'          => __( 'Static Front Page' ),
    729732                //      'theme_supports' => 'static-front-page',
     733                        'priority'       => 50,
    730734                        'description'    => __( 'Your theme supports a static front page.' ),
    731735                ) );
    … …  
    778782
    779783                $this->add_section( 'strings', array(
    780                         'title'          => __( 'Site Title & Tagline' ),
     784                        'title'    => __( 'Site Title & Tagline' ),
     785                        'priority' => 5,
    781786                ) );
    782787
Note: See TracChangeset for help on using the changeset viewer.