[wp-trac] [WordPress Trac] #39733: List item separator should be a WP_Locale property

WordPress Trac noreply at wordpress.org
Tue Sep 21 00:27:12 UTC 2021


#39733: List item separator should be a WP_Locale property
--------------------------------------+-----------------------------
 Reporter:  SergeyBiryukov            |       Owner:  (none)
     Type:  enhancement               |      Status:  new
 Priority:  normal                    |   Milestone:  Future Release
Component:  I18N                      |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  good-first-bug has-patch  |     Focuses:
--------------------------------------+-----------------------------

Comment (by rsiddharth):

 @johnbillion @SergeyBiryukov I upload the second version of the patch.


 Changes:

   * Added wrapper function -- `wp_get_list_item_separator()` -- for
     `WP_Locale::get_list_item_separator`.
   * Replaced `$wp_locale->get_list_item_separator()` calls with
     `wp_get_list_item_separator()` calls.
   * Added a "compatibility layer" for the twentyeleven theme. Does
     that look correct?

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


More information about the wp-trac mailing list