Ticket #16214: ticket.16214.diff
| File ticket.16214.diff, 1.0 KB (added by ptahdunbar, 2 years ago) |
|---|
-
wp-admin/includes/template.php
419 419 * @param unknown_type $meta 420 420 */ 421 421 function list_meta( $meta ) { 422 if ( empty($meta) ) 423 return; 424 422 425 // Exit if no meta 423 if ( ! $meta ) { 424 echo ' 426 foreach ( $meta as $_meta ) { 427 if ( '_' == $_meta['meta_key'][0] ) { 428 return; 429 } 430 } 431 432 // Display the table 433 echo ' 425 434 <table id="list-table" style="display: none;"> 426 <thead>427 <tr>428 <th class="left">' . __( 'Name' ) . '</th>429 <th>' . __( 'Value' ) . '</th>430 </tr>431 </thead>432 <tbody id="the-list" class="list:meta">433 <tr><td></td></tr>434 </tbody>435 <thead> 436 <tr> 437 <th class="left">' . __( 'Name' ) . '</th> 438 <th>' . __( 'Value' ) . '</th> 439 </tr> 440 </thead> 441 <tbody id="the-list" class="list:meta"> 442 <tr><td></td></tr> 443 </tbody> 435 444 </table>'; //TBODY needed for list-manipulation JS 436 return; 437 } 445 return; 438 446 $count = 0; 439 447 ?> 440 448 <table id="list-table">