विवरण
Log and view all WP HTTP requests
How long do [core / plugin / theme] update checks take to run? What data about my site is being sent out? What about all those ajax requests? The answers to these questions are just a few clicks away.
This plugin logs all WP_HTTP requests and displays them in a table listing for easy viewing. It also stores the runtime of each HTTP request.
Available Hooks
Customize the length (in days) before older log items are removed:
add_filter( 'lhr_expiration_days', function( $days ) { return 7; // default = 1 });
Don’t log items from a specific hostname:
add_filter( 'lhr_log_data', function( $data ) { if ( false !== strpos( $data['url'], 'wordpress.org' ) ) { return false; } return $data; });
In the above example, the $data
array keys correspond to columns within the lhr_log
database table.
Important Links
स्थापना
- Download and activate the plugin.
- Browse to
Tools > Log HTTP Requests
to view log entries.
समीक्षाहरू
योगदानकर्ता र डेभलपरहरू
“Log HTTP Requests” खुला स्रोत सफ्टवेयर हो। निम्न व्यक्तिहरूले यो प्लगिनमा योगदान गरेका छन्।
योगदानकर्ताहरू“Log HTTP Requests” 2 लोकेलहरूमा अनुवाद गरिएका छन्। योगदानको लागि अनुवादकहरूलाई धन्यवाद।
“Log HTTP Requests” लाई आफ्नो भाषामा अनुवाद गर्नुहोस्
विकासमा रुचि छ?
आरएसएस द्वारा कोड ब्राउज गर्नुहोस्, एसभीएन रिपजिटरी हेर्नुहोस्, वा विकास लग को सदस्यता लिनुहोस्।
चेन्जलग
= 1.4.1
* Fixed PHP8 deprecation notices
1.4
- Added extra ajax role validation (props pluginvulnerabilities.com)
1.3.2
- Escaped URL field to prevent possible XSS (props Bishop Fox)
1.3.1
- Ensured compatibility with WP 5.8
1.3
- Minor PHP cleanup
- Ensured compatibility with WP 5.7
1.2
- Moved “Log HTTP Requests” to the
Tools
menu (props @aaemnnosttv) - Added “Status” column to show HTTP response code (props @danielbachhuber)
- Added prev/next browsing to the detail modal (props @marcissimus)
- Added keyboard support (up, down, esc) to the detail modal (props @marcissimus)
- Added raw timestamp to “Date Added” column on hover
- Added hook docs to the readme
1.1
- Added
lhr_log_data
hook to customize logged data (return FALSE to skip logging) - Added
lhr_expiration_days
hook
1.0.4
- Minor styling tweak
1.0.3
- Better visibility for long URLs
1.0.2
- Minor design tweaks
- Replaced
json_encode
withwp_send_json
1.0.1
- Tested compatibility against WP 4.9.4
1.0.0
- Initial release