@@ 736-745 (lines=10) @@ | ||
733 | $status[$row['post_status']] = $row['post_count']; |
|
734 | } |
|
735 | ||
736 | if ( isset( $status['publish'] ) ) { |
|
737 | $status_html .= '<li><a href="edit.php?post_type=feedback"'; |
|
738 | if ( $current_menu == 'messages' ) { |
|
739 | $status_html .= ' class="current"'; |
|
740 | } |
|
741 | ||
742 | $status_html .= '>' . __( 'Messages', 'jetpack' ) . ' <span class="count">'; |
|
743 | $status_html .= '(' . number_format( $status['publish'] ) . ')'; |
|
744 | $status_html .= '</span></a> |</li>'; |
|
745 | } |
|
746 | ||
747 | if ( isset( $status['trash'] ) ) { |
|
748 | $status_html .= '<li><a href="edit.php?post_status=trash&post_type=feedback"'; |
|
@@ 760-768 (lines=9) @@ | ||
757 | $status_html .= '</li>'; |
|
758 | } |
|
759 | ||
760 | if ( isset( $status['spam'] ) ) { |
|
761 | $status_html .= '<li><a href="edit.php?post_status=spam&post_type=feedback"'; |
|
762 | if ( $current_menu == 'spam' ) |
|
763 | $status_html .= ' class="current"'; |
|
764 | ||
765 | $status_html .= '>' . __( 'Spam', 'jetpack' ) . ' <span class="count">'; |
|
766 | $status_html .= '(' . number_format( $status['spam'] ) . ')'; |
|
767 | $status_html .= '</span></a></li>'; |
|
768 | } |
|
769 | ||
770 | echo $status_html; |
|
771 | exit; |