[wp-trac] [WordPress Trac] #43164: Function Description : wp-includes/link-template.php

WordPress Trac noreply at wordpress.org
Sat Jun 18 15:36:35 UTC 2022


#43164: Function Description : wp-includes/link-template.php
-------------------------+-----------------------------
 Reporter:  mt8.biz      |       Owner:  SergeyBiryukov
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  6.1
Component:  General      |     Version:
 Severity:  normal       |  Resolution:  fixed
 Keywords:  has-patch    |     Focuses:  docs
-------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * owner:  (none) => SergeyBiryukov
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"53520" 53520]:
 {{{
 #!CommitTicketReference repository="" revision="53520"
 Docs: Consistently declare the `$wp_query` global in link template
 functions.

 This ensures that the global is explicitly declared and documented in:
 * `get_next_posts_link()`
 * `get_posts_nav_link()`
 * `get_the_posts_navigation()`
 * `get_the_posts_pagination()`
 * `get_next_comments_link()`

 Follow-up to [30065].

 Props mt8.biz, sabernhardt.
 Fixes #43164.
 }}}

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


More information about the wp-trac mailing list