[wp-trac] [WordPress Trac] #28724: Optimize Regexp Usage in wptexturize()

WordPress Trac noreply at wordpress.org
Sun Jul 6 08:48:59 UTC 2014

#28724: Optimize Regexp Usage in wptexturize()
 Reporter:  miqrogroove  |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  4.0
Component:  Formatting   |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:

Comment (by SergeyBiryukov):

 Replying to [comment:11 miqrogroove]:
 > Can you tell me which version of PHP is giving a fatal error?  I've
 never seen that before.

 A note from http://www.php.net/manual/en/function.empty.php:

  Prior to PHP 5.5, `empty()` only supports variables; anything else will
 result in a parse error.

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

More information about the wp-trac mailing list