[wp-trac] [WordPress Trac] #57746: bad variable name in get_previous_posts_page_link()
WordPress Trac
noreply at wordpress.org
Sat Feb 18 15:06:39 UTC 2023
#57746: bad variable name in get_previous_posts_page_link()
-------------------------------+-------------------------------
Reporter: dalirajab | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: 6.2
Component: Posts, Post Types | Version: 6.1.1
Severity: normal | Resolution:
Keywords: has-patch | Focuses: coding-standards
-------------------------------+-------------------------------
Changes (by SergeyBiryukov):
* component: General => Posts, Post Types
* milestone: Awaiting Review => 6.2
Comment:
Hi there, welcome to WordPress Trac! Thanks for the ticket.
`get_previous_posts_page_link()` was introduced [5045], but the variable
appears to be even older than that, it was brought over along with
`previous_posts()`from b2/cafelog in [8].
Indeed, the suggested name makes more sense.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57746#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list