Opened 7 years ago
Closed 7 years ago
#41959 closed defect (bug) (fixed)
Incorrect filename for 'post_password_required' filter duplication inline docs
Reported by: | coffee2code | Owned by: | SergeyBiryukov |
---|---|---|---|
Milestone: | 4.9 | Priority: | low |
Severity: | trivial | Version: | 4.7 |
Component: | Posts, Post Types | Keywords: | has-patch |
Focuses: | docs | Cc: |
Description
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.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
The patch mentioned in ticket description.