Opened 9 years ago
Closed 9 years ago
#41959 closed defect (bug) (fixed)
Incorrect filename for 'post_password_required' filter duplication inline docs
| Reported by: | coffee2code | Owned by: | SergeyBiryukov |
|---|---|---|---|
| Priority: | low | Milestone: | 4.9 |
| Component: | Posts, Post Types | Version: | 4.7 |
| Severity: | trivial | Keywords: | has-patch |
| Cc: | Focuses: | docs |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
The patch mentioned in ticket description.