mirror of
https://gh.wpcy.net/https://github.com/szepeviktor/wordpress-website-lifecycle.git
synced 2026-04-25 04:52:19 +08:00
10 lines
298 B
PHP
10 lines
298 B
PHP
<?php
|
|
|
|
/*
|
|
* Insert this snippet at the top of wp-config.php
|
|
*/
|
|
|
|
if (isset($_SERVER['REQUEST_METHOD']) && $_SERVER['REQUEST_METHOD'] === 'POST') {
|
|
// file_put_contents(WP_CONTENT_DIR.'/debug-request.log',
|
|
error_log(sprintf('POSTed:%s:%s', $_SERVER['REQUEST_URI'], json_encode($_POST)));
|
|
}
|