Make WordPress Core


Ignore:
Timestamp:
01/23/2016 11:14:10 PM (9 years ago)
Author:
westonruter
Message:

Customizer: Use "(Untitled)" as site title if blogname is empty.

Fixes a layout issue in the Customizer UI. Also de-duplicate title display logic, outputting "Loading..." as site title in PHP with actual title being set upon Customizer ready. Also update the site title in response to a blogname setting change as opposed to input DOM events on the control.

Fixes #35579.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/script-loader.php

    r36341 r36388  
    444444        'collapseSidebar'    => __( 'Collapse Sidebar' ),
    445445        'expandSidebar'      => __( 'Expand Sidebar' ),
     446        'untitledBlogName'   => __( '(Untitled)' ),
    446447        // Used for overriding the file types allowed in plupload.
    447448        'allowedFiles'       => __( 'Allowed Files' ),
Note: See TracChangeset for help on using the changeset viewer.