@@ 754-763 (lines=10) @@ | ||
751 | $status[$row['post_status']] = $row['post_count']; |
|
752 | } |
|
753 | ||
754 | if ( isset( $status['publish'] ) ) { |
|
755 | $status_html .= '<li><a href="edit.php?post_type=feedback"'; |
|
756 | if ( $current_menu == 'messages' ) { |
|
757 | $status_html .= ' class="current"'; |
|
758 | } |
|
759 | ||
760 | $status_html .= '>' . __( 'Messages', 'jetpack' ) . ' <span class="count">'; |
|
761 | $status_html .= '(' . number_format( $status['publish'] ) . ')'; |
|
762 | $status_html .= '</span></a> |</li>'; |
|
763 | } |
|
764 | ||
765 | if ( isset( $status['trash'] ) ) { |
|
766 | $status_html .= '<li><a href="edit.php?post_status=trash&post_type=feedback"'; |
|
@@ 778-786 (lines=9) @@ | ||
775 | $status_html .= '</li>'; |
|
776 | } |
|
777 | ||
778 | if ( isset( $status['spam'] ) ) { |
|
779 | $status_html .= '<li><a href="edit.php?post_status=spam&post_type=feedback"'; |
|
780 | if ( $current_menu == 'spam' ) |
|
781 | $status_html .= ' class="current"'; |
|
782 | ||
783 | $status_html .= '>' . __( 'Spam', 'jetpack' ) . ' <span class="count">'; |
|
784 | $status_html .= '(' . number_format( $status['spam'] ) . ')'; |
|
785 | $status_html .= '</span></a></li>'; |
|
786 | } |
|
787 | ||
788 | echo $status_html; |
|
789 | exit; |