[wp-trac] [WordPress Trac] #62029: Do not bloat Debug Log with Scraping home page… when auto upgrade is OK

WordPress Trac noreply at wordpress.org
Thu Sep 19 17:57:48 UTC 2024


#62029: Do not bloat Debug Log with Scraping home page… when auto upgrade is OK
-----------------------------+---------------------
 Reporter:  georgwordpress   |       Owner:  (none)
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  6.7
Component:  Upgrade/Install  |     Version:
 Severity:  normal           |  Resolution:
 Keywords:  has-patch        |     Focuses:
-----------------------------+---------------------

Comment (by georgwordpress):

 @stoyangeorgiev:
 > ".. if you have a template redirect to lets say another page/website .."


 Yes - that is the reason in my use case.
 My htaccess allows only some query arguments - other queries are
 redirected to the same url without query arguments.

 After adding in my htaccess file a new condition before rewriting:

 {{{
 RewriteCond %{QUERY_STRING} !^wp_scrape_key=
 }}}

 the wp log is now as expected after a successful update.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/62029#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list