[wp-trac] [WordPress Trac] #24709: Customise link text in paginate_links() and paginate_comments_links() for accessibility
WordPress Trac
noreply at wordpress.org
Wed Mar 19 00:34:55 UTC 2014
#24709: Customise link text in paginate_links() and paginate_comments_links() for
accessibility
----------------------------------+--------------------------------------
Reporter: grahamarmfield | Owner: johnbillion
Type: enhancement | Status: closed
Priority: normal | Milestone: 3.9
Component: Themes | Version: 3.5.2
Severity: normal | Resolution: fixed
Keywords: has-patch needs-docs | Focuses: accessibility, template
----------------------------------+--------------------------------------
Comment (by GregLone):
Hello.
Just a thought: for better i18n, shouldn't `$before_page_number .
number_format_i18n( $n ) . $after_page_number` become something like
`sprintf( $page_number_text, number_format_i18n( $n ) )`?
`$page_number_text` should always contain `%s` of course.
I think it will help in many cases (with rtl for example).
--
Ticket URL: <https://core.trac.wordpress.org/ticket/24709#comment:20>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list