| 55 | | |
|---|
| | 55 | <?php |
|---|
| | 56 | if ( isset( $_GET['approved'] ) || isset( $_GET['deleted'] ) || isset( $_GET['spam'] ) ) { |
|---|
| | 57 | $approved = isset( $_GET['approved'] ) ? (int) $_GET['approved'] : 0; |
|---|
| | 58 | $deleted = isset( $_GET['deleted'] ) ? (int) $_GET['deleted'] : 0; |
|---|
| | 59 | $spam = isset( $_GET['spam'] ) ? (int) $_GET['spam'] : 0; |
|---|
| | 60 | |
|---|
| | 61 | if ( $approved > 0 || $deleted > 0 || $spam > 0 ) { |
|---|
| | 62 | echo '<div id="moderated" class="updated fade"><p>'; |
|---|
| | 63 | |
|---|
| | 64 | if ( $approved > 0 ) { |
|---|
| | 65 | printf( __ngettext( '%s comment approved', '%s comments approved', $approved ), $approved ); |
|---|
| | 66 | echo '<br />'; |
|---|
| | 67 | } |
|---|
| | 68 | |
|---|
| | 69 | if ( $deleted > 0 ) { |
|---|
| | 70 | printf( __ngettext( '%s comment deleted', '%s comments deleted', $deleted ), $deleted ); |
|---|
| | 71 | echo '<br />'; |
|---|
| | 72 | } |
|---|
| | 73 | |
|---|
| | 74 | if ( $spam > 0 ) { |
|---|
| | 75 | printf( __ngettext( '%s comment marked as spam', '%s comments marked as spam', $spam ), $spam ); |
|---|
| | 76 | echo '<br />'; |
|---|
| | 77 | } |
|---|
| | 78 | |
|---|
| | 79 | echo '</p></div>'; |
|---|
| | 80 | } |
|---|
| | 81 | } |
|---|
| | 82 | ?> |
|---|
| 79 | | |
|---|
| 80 | | <?php |
|---|
| 81 | | if ( isset( $_GET['approved'] ) || isset( $_GET['deleted'] ) || isset( $_GET['spam'] ) ) { |
|---|
| 82 | | $approved = isset( $_GET['approved'] ) ? (int) $_GET['approved'] : 0; |
|---|
| 83 | | $deleted = isset( $_GET['deleted'] ) ? (int) $_GET['deleted'] : 0; |
|---|
| 84 | | $spam = isset( $_GET['spam'] ) ? (int) $_GET['spam'] : 0; |
|---|
| 85 | | |
|---|
| 86 | | if ( $approved > 0 || $deleted > 0 || $spam > 0 ) { |
|---|
| 87 | | echo '<div id="moderated" class="updated fade"><p>'; |
|---|
| 88 | | |
|---|
| 89 | | if ( $approved > 0 ) { |
|---|
| 90 | | printf( __ngettext( '%s comment approved', '%s comments approved', $approved ), $approved ); |
|---|
| 91 | | echo '<br />'; |
|---|
| 92 | | } |
|---|
| 93 | | |
|---|
| 94 | | if ( $deleted > 0 ) { |
|---|
| 95 | | printf( __ngettext( '%s comment deleted', '%s comments deleted', $deleted ), $deleted ); |
|---|
| 96 | | echo '<br />'; |
|---|
| 97 | | } |
|---|
| 98 | | |
|---|
| 99 | | if ( $spam > 0 ) { |
|---|
| 100 | | printf( __ngettext( '%s comment marked as spam', '%s comments marked as spam', $spam ), $spam ); |
|---|
| 101 | | echo '<br />'; |
|---|
| 102 | | } |
|---|
| 103 | | |
|---|
| 104 | | echo '</p></div>'; |
|---|
| 105 | | } |
|---|
| 106 | | } |
|---|
| 107 | | ?> |
|---|