[wp-trac] [WordPress Trac] #45057: Help notice displayed on Privacy Policy page missing in Gutenberg

WordPress Trac noreply at wordpress.org
Sat Nov 17 14:12:45 UTC 2018


#45057: Help notice displayed on Privacy Policy page missing in Gutenberg
-------------------------------------+-----------------------
 Reporter:  garrett-eclipse          |       Owner:  desrosj
     Type:  defect (bug)             |      Status:  assigned
 Priority:  normal                   |   Milestone:  5.0
Component:  Editor                   |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:  privacy
-------------------------------------+-----------------------

Comment (by swissspidy):

 Note that instead of `if ( ! $post ) { $post = get_post(); }` you could
 just write `$post = get_post( $post );`

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


More information about the wp-trac mailing list