Use proper object. see #20103.
git-svn-id: https://develop.svn.wordpress.org/trunk@20038 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
c7855fb7bc
commit
9cc63bb04f
@ -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
Block a user