#4234 closed defect (bug) (fixed)
trac template in codex returns incorrect link
Reported by: | qdinar | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | Codex | Keywords: | |
Cc: |
Description
at
https://codex.wordpress.org/Plugin_API/Filter_Reference/preprocess_comment#Source_File
it is written
The preprocess_comment comment is located in wp-includes/comment.php.
which links to
https://core.trac.wordpress.org/browser/tags/5.1.0/src/wp-includes/comment.php#L0
which does not work. i have found out that
https://core.trac.wordpress.org/browser/tags/5.1/src/wp-includes/comment.php#L0
works.
i have tried to edit it, and i see it is written this way:
The <tt>preprocess_comment</tt> comment is located in {{Trac|wp-includes/comment.php}}.
page of the template is https://codex.wordpress.org/Template:Trac . i have checked its edit page, i see it is not possible to edit its behavior there.
Change History (2)
#2
@
6 years ago
i said "i have checked its edit page, i see it is not possible to edit its behavior there." . i was mistaken. on the top of the page source seems there is behavior code:
<includeonly><code>[https://core.trac.wordpress.org/browser/{{{2|tags/{{CurrentVersion}}}}}/src/{{{1}}}#L{{{3|0}}} {{{1}}}]</code></includeonly><noinclude>
Finally traced where it comes from, for future reference: https://codex.wordpress.org/Template:CurrentVersion