[wp-trac] [WordPress Trac] #16773: Unescaped preg_match breaks with PHP 5.3 Namespaced Widget Classes.

WordPress Trac noreply at wordpress.org
Thu Jun 4 00:15:32 UTC 2015


#16773: Unescaped preg_match breaks with PHP 5.3 Namespaced Widget Classes.
-------------------------------------------------+-------------------------
 Reporter:  5ubliminal                           |       Owner:
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
Component:  Widgets                              |  Review
 Severity:  minor                                |     Version:  3.1
 Keywords:  has-patch needs-unit-tests needs-    |  Resolution:
  testing                                        |     Focuses:
-------------------------------------------------+-------------------------
Changes (by jorbin):

 * keywords:  has-patch => has-patch needs-unit-tests needs-testing


Comment:

 I'd like to ensure that switching from strtolower to sanitize_key doesn't
 cause any breakage.  @stevenkword is going to try and pull the classname
 of all the widgets currently in the plugin repo and make sure that none of
 the plugin classes are going to change from the switch.

 I would also like to see some unit tests here.

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


More information about the wp-trac mailing list