Theme: When showing an author in the grid (during a search), don't include the author's link.
fixes #26433. git-svn-id: https://develop.svn.wordpress.org/trunk@26684 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
5ee03aa6c7
commit
74ea276315
@ -410,7 +410,8 @@ function wp_prepare_themes_for_js( $themes = null ) {
|
|||||||
'name' => $theme->display( 'Name' ),
|
'name' => $theme->display( 'Name' ),
|
||||||
'screenshot' => array( $theme->get_screenshot() ), // @todo multiple
|
'screenshot' => array( $theme->get_screenshot() ), // @todo multiple
|
||||||
'description' => $theme->display( 'Description' ),
|
'description' => $theme->display( 'Description' ),
|
||||||
'author' => $theme->display( 'Author' ),
|
'author' => $theme->display( 'Author', false, true ),
|
||||||
|
'authorAndUri' => $theme->display( 'Author' ),
|
||||||
'version' => $theme->display( 'Version' ),
|
'version' => $theme->display( 'Version' ),
|
||||||
'tags' => $theme->display( 'Tags' ),
|
'tags' => $theme->display( 'Tags' ),
|
||||||
'parent' => $parent,
|
'parent' => $parent,
|
||||||
|
@ -273,7 +273,7 @@ if ( ! is_multisite() && current_user_can('edit_themes') && $broken_themes = wp_
|
|||||||
<span class="current-label"><?php _e( 'Current Theme' ); ?></span>
|
<span class="current-label"><?php _e( 'Current Theme' ); ?></span>
|
||||||
<# } #>
|
<# } #>
|
||||||
<h3 class="theme-name">{{{ data.name }}}<span class="theme-version"><?php printf( __( 'Version: %s' ), '{{{ data.version }}}' ); ?></span></h3>
|
<h3 class="theme-name">{{{ data.name }}}<span class="theme-version"><?php printf( __( 'Version: %s' ), '{{{ data.version }}}' ); ?></span></h3>
|
||||||
<h4 class="theme-author"><?php printf( __( 'By %s' ), '{{{ data.author }}}' ); ?></h4>
|
<h4 class="theme-author"><?php printf( __( 'By %s' ), '{{{ data.authorAndUri }}}' ); ?></h4>
|
||||||
|
|
||||||
<# if ( data.hasUpdate ) { #>
|
<# if ( data.hasUpdate ) { #>
|
||||||
<div class="theme-update-message">
|
<div class="theme-update-message">
|
||||||
|
Loading…
Reference in New Issue
Block a user