@@ 748-757 (lines=10) @@ | ||
745 | $status[$row['post_status']] = $row['post_count']; |
|
746 | } |
|
747 | ||
748 | if ( isset( $status['publish'] ) ) { |
|
749 | $status_html .= '<li><a href="edit.php?post_type=feedback"'; |
|
750 | if ( $current_menu == 'messages' ) { |
|
751 | $status_html .= ' class="current"'; |
|
752 | } |
|
753 | ||
754 | $status_html .= '>' . __( 'Messages', 'jetpack' ) . ' <span class="count">'; |
|
755 | $status_html .= '(' . number_format( $status['publish'] ) . ')'; |
|
756 | $status_html .= '</span></a> |</li>'; |
|
757 | } |
|
758 | ||
759 | if ( isset( $status['trash'] ) ) { |
|
760 | $status_html .= '<li><a href="edit.php?post_status=trash&post_type=feedback"'; |
|
@@ 772-780 (lines=9) @@ | ||
769 | $status_html .= '</li>'; |
|
770 | } |
|
771 | ||
772 | if ( isset( $status['spam'] ) ) { |
|
773 | $status_html .= '<li><a href="edit.php?post_status=spam&post_type=feedback"'; |
|
774 | if ( $current_menu == 'spam' ) |
|
775 | $status_html .= ' class="current"'; |
|
776 | ||
777 | $status_html .= '>' . __( 'Spam', 'jetpack' ) . ' <span class="count">'; |
|
778 | $status_html .= '(' . number_format( $status['spam'] ) . ')'; |
|
779 | $status_html .= '</span></a></li>'; |
|
780 | } |
|
781 | ||
782 | echo $status_html; |
|
783 | exit; |