[wp-trac] [WordPress Trac] #25735: paginate_links runs number_format_i18n for the entire range of pages
WordPress Trac
noreply at wordpress.org
Thu Mar 13 17:38:53 UTC 2014
#25735: paginate_links runs number_format_i18n for the entire range of pages
--------------------------+------------------------------------
Reporter: johnpbloch | Owner: johnbillion
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 3.9
Component: General | Version: 2.7
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses: template, performance
--------------------------+------------------------------------
Changes (by johnbillion):
* owner: => johnbillion
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"27523"]:
{{{
#!CommitTicketReference repository="" revision="27523"
Improve `paginate_links()` performance by not calling
`number_format_i18n()` unnecessarily. Fixes #25735 with tests. Props
johnpbloch.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/25735#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list