- Timestamp:
- 08/17/2018 01:50:26 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-theme-install-list-table.php
r42871 r43571 191 191 public function display() { 192 192 wp_nonce_field( 'fetch-list-' . get_class( $this ), '_ajax_fetch_list_nonce' ); 193 ?>193 ?> 194 194 <div class="tablenav top themes"> 195 195 <div class="alignleft actions"> … … 220 220 $themes = $this->items; 221 221 foreach ( $themes as $theme ) { 222 222 ?> 223 223 <div class="available-theme installable-theme"> 224 224 <?php … … 226 226 ?> 227 227 </div> 228 <?php228 <?php 229 229 } // end foreach $theme_names 230 230 … … 271 271 'tab' => 'theme-information', 272 272 'theme' => $theme->slug, 273 ), self_admin_url( 'theme-install.php' ) 273 ), 274 self_admin_url( 'theme-install.php' ) 274 275 ); 275 276 … … 280 281 'action' => 'install-theme', 281 282 'theme' => $theme->slug, 282 ), self_admin_url( 'update.php' ) 283 ), 284 self_admin_url( 'update.php' ) 283 285 ); 284 286 … … 287 289 'action' => 'upgrade-theme', 288 290 'theme' => $theme->slug, 289 ), self_admin_url( 'update.php' ) 291 ), 292 self_admin_url( 'update.php' ) 290 293 ); 291 294 … … 347 350 348 351 <h3><?php echo $name; ?></h3> 349 <div class="theme-author"><?php 352 <div class="theme-author"> 353 <?php 350 354 /* translators: %s: theme author */ 351 355 printf( __( 'By %s' ), $author ); 352 ?></div> 356 ?> 357 </div> 353 358 354 359 <div class="action-links"> … … 431 436 'action' => 'install-theme', 432 437 'theme' => $theme->slug, 433 ), self_admin_url( 'update.php' ) 438 ), 439 self_admin_url( 'update.php' ) 434 440 ); 435 441 … … 438 444 'action' => 'upgrade-theme', 439 445 'theme' => $theme->slug, 440 ), self_admin_url( 'update.php' ) 446 ), 447 self_admin_url( 'update.php' ) 441 448 ); 442 449 … … 473 480 break; 474 481 } 475 482 ?> 476 483 <h3 class="theme-name"><?php echo $name; ?></h3> 477 <span class="theme-by"><?php 484 <span class="theme-by"> 485 <?php 478 486 /* translators: %s: theme author */ 479 487 printf( __( 'By %s' ), $author ); 480 ?></span> 488 ?> 489 </span> 481 490 <?php if ( isset( $theme->screenshot_url ) ) : ?> 482 491 <img class="theme-screenshot" src="<?php echo esc_url( $theme->screenshot_url ); ?>" alt="" />
Note: See TracChangeset
for help on using the changeset viewer.