Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #41859, comment 8


Ignore:
Timestamp:
01/02/2018 09:08:47 AM (8 years ago)
Author:
antonioeatgoat
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #41859, comment 8

    initial v1  
    1 @afercia, to add the CSS class to `_wp_link_page()` is definitely the best solution. I've actually made confusion, because I was sure that that functions was used also in other places, for this reason I avoided to edit it. In addition `_wp_link_page()` is used many times there and I missed it, so `str_replace()` was really a terrible solution. My bad, I apologize.
     1@afercia, to add the CSS class to `_wp_link_page()` is definitely the best solution. I've actually made confusion, because I was sure that that function was used also in other places, for this reason I avoided to edit it. In addition `_wp_link_page()` is used many times there and I missed it, so `str_replace()` was really a terrible solution. My bad, I apologize.
    22
    33Just uploaded the new patch following your suggestions, only the unit tests are still missing.