Make WordPress Core


Ignore:
Timestamp:
09/11/2012 07:16:53 PM (12 years ago)
Author:
nacin
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/themes.php

    r21816 r21817  
    147147            <li><?php printf( __('Version %s'), $ct->display('Version') ); ?></li>
    148148        </ul>
    149         <p class="theme-description"><?php
    150             echo $ct->display('Description');
    151             if ( $ct->parent() ) {
    152                 printf( ' <p class="howto">' . __( 'This <a href="%1$s">child theme</a> requires its parent theme, %2$s.' ) . '</p>',
    153                     __( 'http://codex.wordpress.org/Child_Themes' ),
    154                     $ct->parent()->display( 'Name' ) );
    155             }
    156         ?></p>
     149        <p class="theme-description"><?php echo $ct->display('Description'); ?></p>
     150        <?php if ( $ct->parent() ) {
     151            printf( ' <p class="howto">' . __( 'This <a href="%1$s">child theme</a> requires its parent theme, %2$s.' ) . '</p>',
     152                __( 'http://codex.wordpress.org/Child_Themes' ),
     153                $ct->parent()->display( 'Name' ) );
     154        } ?>
    157155        <?php theme_update_available( $ct ); ?>
    158156    </div>
Note: See TracChangeset for help on using the changeset viewer.