Make WordPress Core


Ignore:
Timestamp:
02/21/2016 06:14:59 AM (9 years ago)
Author:
westonruter
Message:

Customize: Fix "Loading..." message from persisting in panel title when user does not have manage_options cap to edit blogname.

Reverts part of [36388].

Fixes #35579.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/customize.php

    r36532 r36606  
    133133                <div class="accordion-section-title">
    134134                    <span class="preview-notice"><?php
    135                         echo sprintf( __( 'You are customizing %s' ), '<strong class="panel-title site-title">' . __( 'Loading&hellip;' ) . '</strong>' );
     135                        echo sprintf( __( 'You are customizing %s' ), '<strong class="panel-title site-title">' . get_bloginfo( 'name' ) . '</strong>' );
    136136                    ?></span>
    137137                    <button class="customize-help-toggle dashicons dashicons-editor-help" aria-expanded="false"><span class="screen-reader-text"><?php _e( 'Help' ); ?></span></button>
Note: See TracChangeset for help on using the changeset viewer.