[wp-trac] [WordPress Trac] #54801: Avoid WPDB errors when examining installation state of a site/network

WordPress Trac noreply at wordpress.org
Thu Jan 13 14:51:45 UTC 2022


#54801: Avoid WPDB errors when examining installation state of a site/network
--------------------------+------------------------------
 Reporter:  schlessera    |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Database      |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+------------------------------

Comment (by schlessera):

 The changeset in https://core.trac.wordpress.org/changeset/51358 already
 has a history of being reverted due to unexpected breakage caused by the
 additional error output:
 https://core.trac.wordpress.org/ticket/11742#comment:22

 Given that we are this late in the cycle and there might still be other
 breakage caused by this that we haven't surfaced yet, the suggestion would
 be to:

 1. Revert https://core.trac.wordpress.org/changeset/51358 to get the error
 reporting in multisite back to what it was with 5.8.
 2. Start early in the 6.0 cycle to fix error reporting again, in tandem
 with an audit on the database accesses that might potentially produce
 unexpected error output depending on the state of the WordPress
 installation.

 See full discussion on Slack:
 https://wordpress.slack.com/archives/C02RQBWTW/p1642033761079000

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


More information about the wp-trac mailing list