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

WordPress Trac noreply at wordpress.org
Fri Jun 4 10:46:36 UTC 2021


#16773: Unescaped preg_match breaks with PHP 5.3 Namespaced Widget Classes.
--------------------------+-----------------------------
 Reporter:  5ubliminal    |       Owner:  SergeyBiryukov
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Widgets       |     Version:  3.1
 Severity:  minor         |  Resolution:  duplicate
 Keywords:                |     Focuses:
--------------------------+-----------------------------

Comment (by SergeyBiryukov):

 In [changeset:"51070" 51070]:
 {{{
 #!CommitTicketReference repository="" revision="51070"
 Coding Standards: Simplify the logic in `WP_Widget::get_field_name()` and
 `::get_field_id()`.

 Includes minor code layout fixes for better readability.

 Follow-up to [41292], [50953], [50961].

 Props 5ubliminal, solarissmoke, tamlyn, jdgrimes, jorbin, stevenkword,
 drebbits.web, westonruter, jipmoors, justinahinon, helen, lukecarbis,
 Mte90, hellofromTonya, SergeyBiryukov.
 See #16773, #52627.
 }}}

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


More information about the wp-trac mailing list