facetwp / log-http-requests Goto Github PK
View Code? Open in Web Editor NEWA small plugin to log WP_HTTP requests for easy viewing.
Home Page: https://wordpress.org/plugins/log-http-requests/
A small plugin to log WP_HTTP requests for easy viewing.
Home Page: https://wordpress.org/plugins/log-http-requests/
I've got these 2 Deprecation messaging in my error_log:
Creation of dynamic property LHR_Upgrade::$version is deprecated
Stacktrace:
wp-content/plugins/log-http-requests/includes/class-upgrade.php:6
LHR_Upgrade->__construct()
wp-content/plugins/log-http-requests/log-http-requests.php:65
Log_HTTP_Requests->init()
wp-includes/class-wp-hook.php:308
do_action('init')
wp-settings.php:623
And the second one:
Creation of dynamic property LHR_Upgrade::$last_version is deprecated
Stracktrace:
wp-content/plugins/log-http-requests/includes/class-upgrade.php:7
LHR_Upgrade->__construct()
wp-content/plugins/log-http-requests/log-http-requests.php:65
Log_HTTP_Requests->init()
wp-includes/class-wp-hook.php:308
do_action('init')
wp-settings.php:623
https://php.watch/versions/8.2/dynamic-properties-deprecated#exempt
#[AllowDynamicProperties]
Currently the plugin adds its admin view under the general Settings admin menu.
I think it may be a bit more intuitive for users to find this under the Tools menu, particularly because it has no settings ๐
I'm happy to send a PR for this if you're open to the idea. Thanks for the plugin!
I'm using Log HTTP Requests to debug production interactions with a 3rd party API.
Because I'm not able to review the logs every day, it would be useful if I could change the cleanup period from -1 days
to a week or so.
Something you'd be open to a pull request for?
I'd like to be able to stop logging but still be able to browse what has already been logged.
i.e. once I get a full day's logs, I don't really need to gather more data, but I still need to be able to see what was recorded.
Better yet if there is a "stop logging in x hours" option!
It would be nice if the user could click forward/backwards from the details view to go to the next/previous item in the log (similar to the attachment details modal).
As part of this, the request URL would need to be added to the modal as well (something I feel would be a good addition even now), but that's the easy part ๐
Let me know if you'd be open to a PR for this.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.