Undo nested paragraphs added in [21816]. see #17944.

git-svn-id: http://core.svn.wordpress.org/trunk@21817 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Nacin 2012-09-11 19:16:53 +00:00
parent 2676491ceb
commit 8404dac54c
1 changed files with 6 additions and 8 deletions

View File

@ -146,14 +146,12 @@ $customize_title = sprintf( __( 'Customize “%s”' ), $ct->display('Na
<li><?php printf( __('By %s'), $ct->display('Author') ); ?></li>
<li><?php printf( __('Version %s'), $ct->display('Version') ); ?></li>
</ul>
<p class="theme-description"><?php
echo $ct->display('Description');
if ( $ct->parent() ) {
printf( ' <p class="howto">' . __( 'This <a href="%1$s">child theme</a> requires its parent theme, %2$s.' ) . '</p>',
__( 'http://codex.wordpress.org/Child_Themes' ),
$ct->parent()->display( 'Name' ) );
}
?></p>
<p class="theme-description"><?php echo $ct->display('Description'); ?></p>
<?php if ( $ct->parent() ) {
printf( ' <p class="howto">' . __( 'This <a href="%1$s">child theme</a> requires its parent theme, %2$s.' ) . '</p>',
__( 'http://codex.wordpress.org/Child_Themes' ),
$ct->parent()->display( 'Name' ) );
} ?>
<?php theme_update_available( $ct ); ?>
</div>