WordPress.org

Plugin Directory

Changeset 532264 for feedwordpress


Ignore:
Timestamp:
04/17/12 12:52:05 (5 years ago)
Author:
radgeek
Message:

MOAR DIAGNOSTICS / Diagnostics for HTTP communication back and forth during feed update.

Location:
feedwordpress/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • feedwordpress/trunk/diagnostics-page.php

    r413101 r532264  
    243243                'updated_feeds:errors:persistent' => 'when attempts to update a feed have resulted in errors</label> <label>for at least <input type="number" min="1" max="360" step="1" name="diagnostics_persistent_error_hours" value="'.$hours.'" /> hours', 
    244244                'updated_feeds:errors' => 'any time FeedWordPress encounters any errors while checking a feed for updates', 
     245                'updated_feeds:http' => "displaying the raw HTTP data passed to and from the feed being checked for updates", 
    245246                'syndicated_posts' => 'as each syndicated post is added to the database', 
    246247                'feed_items' => 'as each syndicated item is considered on the feed', 
  • feedwordpress/trunk/feedwordpress_file.class.php

    r532240 r532264  
    6464            endif; 
    6565 
     66            FeedWordPress::diagnostic('updated_feeds:http', "HTTP [$url] &#8668; ".esc_html(FeedWordPress::val($args))); 
    6667            $res = wp_remote_request($url, $args); 
     68            FeedWordPress::diagnostic('updated_feeds:http', "HTTP [$url] &#8669; ".esc_html(FeedWordPress::val($res))); 
    6769 
    6870            if ( is_wp_error($res) ) { 
Note: See TracChangeset for help on using the changeset viewer.