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:
nacin 2012-02-29 18:11:49 +00:00
parent 6321f9060c
commit 966a27513f
1 changed files with 1 additions and 1 deletions

View File

@ -1345,7 +1345,7 @@ function wp_welcome_panel() {
<?php <?php
} else { } else {
echo '<p>'; echo '<p>';
printf( __( 'Use the current theme &mdash; %1$s &mdash; or <a href="%2$s">choose a new one</a>.' ), $this->display('Name'), esc_url( admin_url( 'themes.php' ) ) ); printf( __( 'Use the current theme &mdash; %1$s &mdash; or <a href="%2$s">choose a new one</a>.' ), $theme->display('Name'), esc_url( admin_url( 'themes.php' ) ) );
echo '</p>'; echo '</p>';
} }
endif; ?> endif; ?>