[wp-trac] [WordPress Trac] #44076: Add `wp_page_for_privacy_policy` to `populate_options()`
WordPress Trac
noreply at wordpress.org
Mon May 14 15:42:25 UTC 2018
#44076: Add `wp_page_for_privacy_policy` to `populate_options()`
--------------------------+----------------------------
Reporter: ocean90 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.9.6
Component: Database | Version: trunk
Severity: normal | Keywords: has-patch gdpr
Focuses: performance |
--------------------------+----------------------------
We should populate the new option with `0` to avoid an unnecessary
database query by `get_privacy_policy_url()` if no privacy page is set
yet.
Previously: #34339
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44076>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list