Skip to content

Commit

Permalink
Customize: Bump down the priority custom logo's control.
Browse files Browse the repository at this point in the history
Keeps the control in the same place but allows for plugins and themes to place
other controls above it.

Props celloexpressions.
Fixes #35942.

Built from https://develop.svn.wordpress.org/trunk@36912


git-svn-id: http://core.svn.wordpress.org/trunk@36880 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information
obenland committed Mar 9, 2016
1 parent e677a80 commit 9dda05f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion wp-includes/class-wp-customize-manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -1966,7 +1966,7 @@ public function register_controls() {
$this->add_control( new WP_Customize_Media_Control( $this, 'custom_logo', array(
'label' => __( 'Logo' ),
'section' => 'title_tagline',
'priority' => 0,
'priority' => 8,
'mime_type' => 'image',
'button_labels' => array(
'select' => __( 'Select logo' ),
Expand Down
2 changes: 1 addition & 1 deletion wp-includes/version.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.5-beta2-36911';
$wp_version = '4.5-beta2-36912';

/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
Expand Down

0 comments on commit 9dda05f

Please sign in to comment.