Ticket #19404: add.sub.items.diff
File add.sub.items.diff, 971 bytes (added by , 13 years ago) |
---|
-
wp-includes/admin-bar.php
536 536 'href' => admin_url('edit-comments.php'), 537 537 'meta' => array( 'title' => $awaiting_title ), 538 538 ) ); 539 540 if ( $awaiting_mod ) 541 $sub_title = sprintf( _n( '%s Comment', '%s Comments', $awaiting_mod ), number_format_i18n( $awaiting_mod ) ); 542 else 543 $sub_title = __('Comments'); 544 545 $wp_admin_bar->add_menu( array( 546 'parent' => 'comments', 547 'id' => 'comments-title', 548 'title' => esc_attr( $sub_title ), 549 'href' => admin_url('edit-comments.php'), 550 ) ); 539 551 } 540 552 541 553 /** … … 587 599 'title' => $update_data['title'], 588 600 ), 589 601 ) ); 602 603 $wp_admin_bar->add_menu( array( 604 'parent' => 'updates', 605 'id' => 'updates-title', 606 'title' => $update_data['title'], 607 'href' => network_admin_url( 'update-core.php' ), 608 ) ); 590 609 } 591 610 592 611 /**