Changeset 21816
- Timestamp:
- 09/11/2012 07:12:37 PM (12 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/class-wp-themes-list-table.php
r21768 r21816 182 182 <p><strong><?php _e('Version: '); ?></strong><?php echo $version; ?></p> 183 183 <p><?php echo $theme->display('Description'); ?></p> 184 <?php if ( $theme->parent() ) { 185 printf( ' <p class="howto">' . __( 'This <a href="%1$s">child theme</a> requires its parent theme, %2$s.' ) . '</p>', 186 __( 'http://codex.wordpress.org/Child_Themes' ), 187 $theme->parent()->display( 'Name' ) ); 188 } ?> 184 189 </div> 185 190 -
trunk/wp-admin/themes.php
r21131 r21816 147 147 <li><?php printf( __('Version %s'), $ct->display('Version') ); ?></li> 148 148 </ul> 149 <p class="theme-description"><?php echo $ct->display('Description'); ?></p> 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> 150 157 <?php theme_update_available( $ct ); ?> 151 158 </div>
Note: See TracChangeset
for help on using the changeset viewer.