[wp-trac] [WordPress Trac] #46831: Warn users when Privacy Policy page is set as 'Homepage' or 'Posts page'

WordPress Trac noreply at wordpress.org
Tue Apr 9 04:18:11 UTC 2019


#46831: Warn users when Privacy Policy page is set as 'Homepage' or 'Posts page'
-----------------------------+------------------------------
 Reporter:  garrett-eclipse  |       Owner:  (none)
     Type:  enhancement      |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Administration   |     Version:
 Severity:  normal           |  Resolution:
 Keywords:  has-patch        |     Focuses:  ui, privacy
-----------------------------+------------------------------
Changes (by subrataemfluence):

 * keywords:  needs-patch => has-patch


Comment:

 Hi @garrett-eclipse please let me know if the patch works.

 By the way, `get_option( 'page_on_front' )` returns the ID while
 `get_option( 'show_on_front' )` returns the CPT type. I know it was
 nothing but a typo :)

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/46831#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list