#44076 closed defect (bug) (fixed)
Add `wp_page_for_privacy_policy` to `populate_options()`
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 4.9.6 | Priority: | normal |
| Severity: | normal | Version: | 5.1 |
| Component: | Privacy | Keywords: | has-patch gdpr commit |
| Focuses: | performance | Cc: |
Description
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
Attachments (1)
Change History (6)
Note: See
TracTickets for help on using
tickets.
+1, good to go for 4.9.6.