Changeset 37077

Show
Ignore:
Timestamp:
03/31/08 14:29:52 (4 months ago)
Author:
alexkingorg
Message:

fixing the RSS feed

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • 404-notifier/trunk/404-notifier.php

    r36982 r37077  
    55Plugin URI: http://alexking.org/projects/wordpress 
    66Description: 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 
     7Version: 1.2a 
    88Author: Alex King 
    99Author URI: http://alexking.org 
     
    201201      function rss_feed() { 
    202202            global $wpdb; 
     203 
     204die(" 
     205                  SELECT * 
     206                  FROM $wpdb->ak_404_log 
     207                  ORDER BY date_gmt DESC 
     208                  LIMIT $this->rss_limit 
     209"); 
    203210            $events = $wpdb->get_results(" 
    204211                  SELECT * 
     
    322329      } 
    323330} 
    324 add_action('init', 'ak404_request_handler'); 
     331add_action('init', 'ak404_request_handler', 99); 
    325332 
    326333function ak404_init() {