Changeset 875508
- Timestamp:
- 03/14/2014 04:28:12 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
akismet/trunk/class.akismet-admin.php
r875466 r875508 260 260 global $submenu; 261 261 262 echo '<h3>' . esc_html( _x( 'Spam', 'comments' ) ) . '</h3>'; 263 264 $link = isset( $submenu['edit-comments.php'] ) ? 'edit-comments.php' : 'edit.php'; 262 echo '<h3>' . esc_html( _x( 'Spam', 'comments' ) ) . '</h3>'; 265 263 266 264 echo '<p>'.sprintf( _n( … … 268 266 '<a href="%1$s">Akismet</a> has protected your site from <a href="%2$s">%3$s spam comments</a>.', 269 267 $count 270 ), 'http://akismet.com/?return=true', clean_url("$link?page=akismet-admin"), number_format_i18n($count) ).'</p>';268 ), 'http://akismet.com/?return=true', ), number_format_i18n($count) ).'</p>'; 271 269 } 272 270 … … 312 310 313 311 if ( function_exists('plugins_url') ) 314 $link = 'admin.php?action=akismet_recheck_queue';312 $link = ; 315 313 else 316 $link = 'edit-comments.php?page=akismet-admin&recheckqueue=true&noheader=true';317 318 echo '</div><div class="alignleft"><a class="button-secondary checkforspam" href="' . $link. '">' . esc_html__('Check for Spam') . '</a>';314 $link = ; 315 316 echo '</div><div class="alignleft"><a class="button-secondary checkforspam" href="' . . '">' . esc_html__('Check for Spam') . '</a>'; 319 317 echo '<img src="' . esc_url( admin_url( 'images/wpspin_light.gif' ) ) . '" class="checkforspam-spinner" />'; 320 318 }
Note: See TracChangeset
for help on using the changeset viewer.