[wp-trac] [WordPress Trac] #41959: Incorrect filename for 'post_password_required' filter duplication inline docs
    WordPress Trac 
    noreply at wordpress.org
       
    Fri Sep 22 18:13:34 UTC 2017
    
    
  
#41959: Incorrect filename for 'post_password_required' filter duplication inline
docs
-------------------------------+-----------------------------
 Reporter:  coffee2code        |      Owner:
     Type:  defect (bug)       |     Status:  new
 Priority:  low                |  Milestone:  Awaiting Review
Component:  Posts, Post Types  |    Version:  4.7
 Severity:  trivial            |   Keywords:  has-patch
  Focuses:  docs               |
-------------------------------+-----------------------------
 The canonical documentation for the 'post_password_required' filter is in
 `post_password_required()` in the file `wp-includes/post-template.php`.
 That same function contains two duplicate uses of the filter, both of
 which are correctly documented as duplicates but ''incorrectly'' refer to
 the file `wp-includes/post.php` as containing the canonical documentation.
 Looks like this was incorrect when the filter was introduced in [38603].
 The attached patch fixes the incorrect file references in the inline docs.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41959>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
    
    
More information about the wp-trac
mailing list