[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
Wed Sep 18 00:05:26 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 stoyangeorgiev):

 Tweaked this a bit at Contributor Day at WCUS 24, and we kind of found out
 a way to replicate this.

 One way to do is if you have a template redirect to lets say another
 page/website, and it will log the html in the debug log.

 However another thing we found is that when you update two plugins that
 have fatal errors, it enables the maintenance mode, and the html content
 of the maintenance mode is being logged in the error log.

 I'll try to test it more so I can find a stable way to replicate it. It
 may be possible that the checks for enabling/disabling maintenance mode in
 load.php may not be properly getting the state of the maintenance mode.
 I've managed to replicate it on my setup, however @afragen was not able to
 replicate it in his setup. I think this one needs more testing.


 @georgwordpress would it be possible to give more details on your
 applications and more steps to replicate that issue.


 I've also had a look at the existing PR https://github.com/WordPress
 /wordpress-develop/pull/7359 and I think it needs rework.

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


More information about the wp-trac mailing list