[wp-trac] [WordPress Trac] #49484: Add option 'OR' to wp_sprintf_l()

WordPress Trac noreply at wordpress.org
Tue Oct 20 05:09:34 UTC 2020


#49484: Add option 'OR' to wp_sprintf_l()
-----------------------------+-----------------------------
 Reporter:  pedromendonca    |       Owner:  SergeyBiryukov
     Type:  feature request  |      Status:  reviewing
 Priority:  normal           |   Milestone:  Future Release
Component:  Formatting       |     Version:
 Severity:  normal           |  Resolution:
 Keywords:  has-patch        |     Focuses:
-----------------------------+-----------------------------
Changes (by helen):

 * milestone:  5.6 => Future Release


Comment:

 No technical consensus, punting from 5.6. Also a little confused about the
 `$length` variable and its different value between the `and` case and the
 `default` case - thought they were the same?

 Also curious if there are any other delimiters that may be wanted? I have
 never personally used this and actually did not know it existed so I'd
 love to know more about usage.

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


More information about the wp-trac mailing list