Changeset 26316 for trunk/src/wp-admin/themes.php
- Timestamp:
- 11/22/2013 02:33:19 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/themes.php
r26314 r26316 216 216 <img src="{{ data.screenshot[0] }}" alt="" /> 217 217 </div> 218 <div class="theme-author"><?php printf( __( 'By %s' ), '{{ data.author}}' ); ?></div>218 <div class="theme-author"><?php printf( __( 'By %s' ), '{{{ data.author }}}' ); ?></div> 219 219 <h3 class="theme-name">{{ data.name }}</h3> 220 220 <div class="theme-actions"> … … 267 267 <span class="current-label"><?php _e( 'Current Theme' ); ?></span> 268 268 <# } #> 269 <h3 class="theme-name">{{ data.name }}<span class="theme-version"><?php _e('Version: '); ?> {{ data.version }}</span></h3> 270 <# if ( data.authorURI ) { #> 271 <h4 class="theme-author"><?php printf( __( 'By %s' ), '<a href="{{ data.authorURI }}">{{ data.author }}</a>' ); ?></h4> 272 <# } else { #> 273 <h4 class="theme-author"><?php printf( __( 'By %s' ), '{{ data.author }}' ); ?></h4> 274 <# } #> 269 <h3 class="theme-name">{{{ data.name }}}<span class="theme-version"><?php printf( __( 'Version: %s' ), '{{{ data.version }}}' ); ?></span></h3> 270 <h4 class="theme-author"><?php printf( __( 'By %s' ), '{{{ data.author }}}' ); ?></h4> 275 271 276 272 <# if ( data.hasUpdate ) { #> … … 283 279 284 280 <# if ( data.parent ) { #> 285 <p class="parent-theme"><?php printf( __( 'This is a child theme of <strong>%s</strong>.' ), '{{ data.parent}}' ); ?></p>281 <p class="parent-theme"><?php printf( __( 'This is a child theme of <strong>%s</strong>.' ), '{{{ data.parent }}}' ); ?></p> 286 282 <# } #> 287 283 288 <# if ( data.tags .length !== 0) { #>284 <# if ( data.tags ) { #> 289 285 <p class="theme-tags"> 290 286 <span><?php _e( 'Tags:' ); ?></span> 291 {{{ data.tags. join( ', ' ).replace( /-/g, ' ' ) }}}287 {{{ data.tags.replace( /-/g, ' ' ) }}} 292 288 </p> 293 289 <# } #>
Note: See TracChangeset
for help on using the changeset viewer.