[wp-trac] [WordPress Trac] #47606: Display Site Health score on Dashboard
WordPress Trac
noreply at wordpress.org
Wed Feb 5 18:40:28 UTC 2020
#47606: Display Site Health score on Dashboard
------------------------------------+-----------------------
Reporter: guddu1315 | Owner: Clorith
Type: feature request | Status: assigned
Priority: normal | Milestone: 5.4
Component: Site Health | Version: 5.2.2
Severity: normal | Resolution:
Keywords: has-patch dev-feedback | Focuses: ui
------------------------------------+-----------------------
Comment (by Otto42):
Possible workaround: Call `$wpdb->db_version();` at any point before using
$wpdb->dbh. This will cause hyperdb to initiate a connection and set the
dbh variable. Adding `$wpdb->db_version();` to the `prepare_sql_data()`
function eliminates the issue.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47606#comment:24>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list