Make WordPress Core

Changeset 26684


Ignore:
Timestamp:
12/05/2013 07:08:01 PM (11 years ago)
Author:
nacin
Message:

Theme: When showing an author in the grid (during a search), don't include the author's link.

fixes #26433.

Location:
trunk/src/wp-admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/theme.php

    r26658 r26684  
    411411            'screenshot'   => array( $theme->get_screenshot() ), // @todo multiple
    412412            'description'  => $theme->display( 'Description' ),
    413             'author'       => $theme->display( 'Author' ),
     413            'author'       => $theme->display( 'Author', false, true ),
     414            'authorAndUri' => $theme->display( 'Author' ),
    414415            'version'      => $theme->display( 'Version' ),
    415416            'tags'         => $theme->display( 'Tags' ),
  • trunk/src/wp-admin/themes.php

    r26681 r26684  
    274274                <# } #>
    275275                <h3 class="theme-name">{{{ data.name }}}<span class="theme-version"><?php printf( __( 'Version: %s' ), '{{{ data.version }}}' ); ?></span></h3>
    276                 <h4 class="theme-author"><?php printf( __( 'By %s' ), '{{{ data.author }}}' ); ?></h4>
     276                <h4 class="theme-author"><?php printf( __( 'By %s' ), '{{{ data.authorAndUri }}}' ); ?></h4>
    277277
    278278                <# if ( data.hasUpdate ) { #>
Note: See TracChangeset for help on using the changeset viewer.