[wp-trac] [WordPress Trac] #47407: Documentation `tests_add_filter` function incorrect

WordPress Trac noreply at wordpress.org
Fri Nov 29 21:41:11 UTC 2019


#47407: Documentation `tests_add_filter` function incorrect
------------------------------+-----------------------------
 Reporter:  remcotolsma       |       Owner:  SergeyBiryukov
     Type:  enhancement       |      Status:  closed
 Priority:  normal            |   Milestone:  5.4
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch         |     Focuses:
------------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"46801" 46801]:
 {{{
 #!CommitTicketReference repository="" revision="46801"
 Docs: Correct `@param` type for the function parameter in
 `tests_add_filter()` and `_test_filter_build_unique_id()`.

 Synchronize documentation for `add_filter()`, `tests_add_filter()`,
 `_wp_filter_build_unique_id()`, `_test_filter_build_unique_id()`.

 Add a note that `$tag` and `$priority` are no longer used in
 `_wp_filter_build_unique_id()` since [46220], and the function always
 returns a string now.

 Props donmhico, remcotolsma, SergeyBiryukov.
 Fixes #47407. See #48303.
 }}}

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


More information about the wp-trac mailing list