#44076 closed defect (bug) (fixed)
Add `wp_page_for_privacy_policy` to `populate_options()`
| Reported by: | ocean90 | Owned by: | azaozz |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.9.6 |
| Component: | Privacy | Version: | 5.1 |
| Severity: | normal | Keywords: | has-patch gdpr commit |
| Cc: | Focuses: | performance |
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)
This ticket was mentioned in Slack in #core by desrosj. View the logs.
8 years ago
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
+1, good to go for 4.9.6.