Este plugin no se ha probado con las últimas 3 versiones mayores de WordPress. Puede que ya no tenga soporte ni lo mantenga nadie, o puede que tenga problemas de compatibilidad cuando se usa con las versiones más recientes de WordPress.

Log HTTP Requests

Descripción

Registrar y ver todas las peticiones de WordPress por HTTP

¿Cuánto tardan en ejecutarse las comprobaciones de actualizaciones del núcleo de WordPress, Plugins o Temas? ¿Qué datos sobre mi sitio se envían? ¿Qué pasa con todas las solicitudes de ajax? Las respuestas a estas preguntas están a solo unos clics de distancia.

Este Plugin registra todas las solicitudes WP_HTTP y las muestra en una lista de tablas para una fácil visualización. También almacena el tiempo de ejecución de la solicitud HTTP.

Hooks disponibles

Personalizar la duración (en días) antes de que se eliminen los registros más antiguos:

add_filter( 'lhr_expiration_days', function( $days ) {
    return 7; // default = 1
});

No registrar elementos desde un específico nombre de dominio:

add_filter( 'lhr_log_data', function( $data ) {
    if ( false !== strpos( $data['url'], 'wordpress.org' ) ) {
        return false;
    }
    return $data;
});

En el siguiente ejemplo, $data las llaves del arreglo corresponden a columnas dentro de la tablalhr_log en la Base de Datos

Enlaces importantes

Instalación

  1. Descargar y activar el plugin.
  2. Navegar a Tools > Log HTTP Requestspara ver los registros.

Reseñas

11 de noviembre de 2023
This plugin has proven to be an indispensable tool for tracking and analyzing HTTP requests. Its ability to reveal whether a request was made, along with detailed insights into the transmitted data and received responses, is simply remarkable. The clarity it provides is instrumental for troubleshooting and optimizing processes. A must-have for anyone dealing with HTTP interactions
22 de septiembre de 2021
This plugin is so helpful for tracking down whether an HTTP request was made at all, and when it was, what data was sent and what response was received. It's invaluable for tracking down bugs tied to unexpected responses and requests.
6 de diciembre de 2020
The Log HTTP Requests plugin might be my favorite troubleshooting tool of all time. It's helped me pinpoint intermittent issues that we never would have seen otherwise. THANK YOU, FacetWP! 🙂
22 de octubre de 2020
After installing this plugin I noticed a lot of requests being made to one site. It turns out that there was a bug in the caching of the request data, and it was being made on every page load. Fixing this has given a big performance improvement. Thank you.
Leer todas las 13 reseñas

Colaboradores y desarrolladores

Este software es de código abierto. Las siguientes personas han contribuido a este plugin.

Colaboradores

"Log HTTP Requests" ha sido traducido a 1 idioma local. Gracias a los traductores por sus contribuciones.

Traduce "Log HTTP Requests" a tu idioma.

¿Interesado en el desarrollo?

Revisa el código, echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.

Registro de cambios

= 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 with wp_send_json

1.0.1

  • Tested compatibility against WP 4.9.4

1.0.0

  • Initial release