[wp-trac] [WordPress Trac] #32477: index.php at Twenty_Fifteen : There is an unnecessary `space`.

WordPress Trac noreply at wordpress.org
Sun May 24 14:49:18 UTC 2015


#32477: index.php at Twenty_Fifteen : There is an unnecessary `space`.
---------------------------+----------------------
 Reporter:  tmatsuur       |       Owner:
     Type:  defect (bug)   |      Status:  closed
 Priority:  normal         |   Milestone:
Component:  Bundled Theme  |     Version:  4.2
 Severity:  normal         |  Resolution:  invalid
 Keywords:                 |     Focuses:
---------------------------+----------------------
Changes (by ocean90):

 * status:  new => closed
 * resolution:   => invalid
 * version:  4.2.2 => 4.2
 * component:  Themes => Bundled Theme
 * milestone:  Awaiting Review =>


Comment:

 Hello tmatsuur, thanks for your report.

 Please take a look at `paginate_links()` where you'll see this line:
 `$page_links[] = "<span class='page-numbers current'>" .
 $args['before_page_number'] . number_format_i18n( $n ) .
 $args['after_page_number'] . "</span>";`

 The space is required to separate the screen reader text and the page
 number.

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


More information about the wp-trac mailing list