Use proper object. see #20103.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20038 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
6321f9060c
commit
966a27513f
|
@ -1345,7 +1345,7 @@ function wp_welcome_panel() {
|
|||
<?php
|
||||
} else {
|
||||
echo '<p>';
|
||||
printf( __( 'Use the current theme — %1$s — or <a href="%2$s">choose a new one</a>.' ), $this->display('Name'), esc_url( admin_url( 'themes.php' ) ) );
|
||||
printf( __( 'Use the current theme — %1$s — or <a href="%2$s">choose a new one</a>.' ), $theme->display('Name'), esc_url( admin_url( 'themes.php' ) ) );
|
||||
echo '</p>';
|
||||
}
|
||||
endif; ?>
|
||||
|
|
Loading…
Reference in New Issue