[wp-trac] [WordPress Trac] #56625: Bad link in doc caused by docblock typo

WordPress Trac noreply at wordpress.org
Thu Sep 22 16:24:37 UTC 2022


#56625: Bad link in doc caused by docblock typo
----------------------------------------+---------------------
 Reporter:  Camwynsp                    |       Owner:  (none)
     Type:  defect (bug)                |      Status:  new
 Priority:  normal                      |   Milestone:  6.1
Component:  General                     |     Version:  4.6
 Severity:  normal                      |  Resolution:
 Keywords:  needs-patch good-first-bug  |     Focuses:  docs
----------------------------------------+---------------------

Comment (by SergeyBiryukov):

 Hi there, thanks for the ticket!

 Just to clarify a bit for others looking at the ticket (I misread it
 initially), the `{@see 'hook_name'}` format itself is fine and is used in
 many other places in core.

 There appear to be two disctinct issues here:
 1. The hook in question has a `hook` word inside the quotes:
 {{{
 There is a {@see 'hook deprecated_function_run'}
 }}}
  That should be fixed, as noted in comment:3:
 {{{
 There is a hook {@see 'deprecated_function_run'}
 }}}
 2. Something weird is going on with hook links in general on the
 developer.wordpress.org side too, as noted in comment:1. That is unrelated
 to this particular hook and needs more investigation.

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


More information about the wp-trac mailing list