[wp-trac] [WordPress Trac] #47357: $allowedentitynames could be null

WordPress Trac noreply at wordpress.org
Fri Oct 21 13:02:49 UTC 2022


#47357: $allowedentitynames could be null
-------------------------------------+-----------------------------
 Reporter:  doctorlai                |       Owner:  SergeyBiryukov
     Type:  defect (bug)             |      Status:  accepted
 Priority:  normal                   |   Milestone:  6.2
Component:  Formatting               |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+-----------------------------

Comment (by SergeyBiryukov):

 Replying to [comment:16 mukesh27]:
 > The [attachment:"47357.2.diff"] looks good. Do we needs unit test to
 check this behavior?

 Thanks! I thought about that, but a unit test does not seem feasible here,
 as it would need to define the `CUSTOM_TAGS` constant, which cannot be
 unset and would then affect all the other KSES tests.

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


More information about the wp-trac mailing list