[wp-trac] [WordPress Trac] #57047: Misleading PHPdoc for filter {$adjacent}_post_link

WordPress Trac noreply at wordpress.org
Wed Nov 9 15:09:38 UTC 2022


#57047: Misleading PHPdoc for filter {$adjacent}_post_link
-------------------------------+------------------------------
 Reporter:  apermo             |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Posts, Post Types  |     Version:  4.2
 Severity:  normal             |  Resolution:
 Keywords:  has-patch          |     Focuses:
-------------------------------+------------------------------
Changes (by audrasjb):

 * keywords:   => has-patch
 * version:  6.1 => 4.2


Comment:

 Hello, thanks for the ticket and for the related patch,

 Maybe we could use a similar wording than the one used in the
 `get_adjacent_post()` function?
 `Empty string if no corresponding post exists.`


 ''Updating the Version tag to 4.2 as this filter was added in this
 version.''

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


More information about the wp-trac mailing list