Changeset 37077
- Timestamp:
- 03/31/08 14:29:52 (4 months ago)
- Files:
-
- 1 modified
-
404-notifier/trunk/404-notifier.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
404-notifier/trunk/404-notifier.php
r36982 r37077 5 5 Plugin URI: http://alexking.org/projects/wordpress 6 6 Description: This plugin will log 404 hits on your site and can notify you via e-mail or you can subscribe to the generated RSS feed of 404 events. Adjust your settings <a href="options-general.php?page=404-notifier.php">here</a>. 7 Version: 1.2 7 Version: 1.2a 8 8 Author: Alex King 9 9 Author URI: http://alexking.org … … 201 201 function rss_feed() { 202 202 global $wpdb; 203 204 die(" 205 SELECT * 206 FROM $wpdb->ak_404_log 207 ORDER BY date_gmt DESC 208 LIMIT $this->rss_limit 209 "); 203 210 $events = $wpdb->get_results(" 204 211 SELECT * … … 322 329 } 323 330 } 324 add_action('init', 'ak404_request_handler' );331 add_action('init', 'ak404_request_handler', 99); 325 332 326 333 function ak404_init() {
