[wp-trac] [WordPress Trac] #44356: Privacy settings page is listing non published pages
WordPress Trac
noreply at wordpress.org
Wed Jun 13 09:18:26 UTC 2018
#44356: Privacy settings page is listing non published pages
--------------------------+-----------------------------
Reporter: f2cmb | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Privacy | Version:
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
Hello,
when choosing in the select field in /wp-admin/privacy.php a page whose
status is draft, the option wp_page_for_privacy_policy in the database is
updated, but as the page is not published, the get_privacy_policy_url() in
https://github.com/WordPress/WordPress/blob/master/wp-
includes/user.php#L3110 stays empty, causing the email generated in
https://github.com/WordPress/WordPress/blob/master/wp-
includes/user.php#L3137 giving an empty url.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44356>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list