[wp-trac] [WordPress Trac] #53091: [Twenty Twenty-One] Incorrect use of `the_password_form` filter argument

WordPress Trac noreply at wordpress.org
Mon Apr 26 15:05:17 UTC 2021


#53091: [Twenty Twenty-One] Incorrect use of `the_password_form` filter argument
-------------------------------------+---------------------
 Reporter:  burhandodhy              |       Owner:  (none)
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  5.7.2
Component:  Bundled Theme            |     Version:  5.6
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-refresh  |     Focuses:
-------------------------------------+---------------------
Changes (by mukesh27):

 * keywords:  has-patch => has-patch needs-refresh


Comment:

 Hi there!

 Thank you for the ticket and patch.

 The [https://github.com/WordPress/wordpress-develop/pull/1208 PR #1208]
 looks fine to me.

 Can you please add doc for `global $post;` like below?

 `* @global WP_Post    $post    Global post object.`

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


More information about the wp-trac mailing list