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

WordPress Trac noreply at wordpress.org
Mon Jul 1 04:42:05 UTC 2019


#47357: $allowedentitynames could be null
--------------------------+----------------------
 Reporter:  doctorlai     |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Formatting    |     Version:
 Severity:  normal        |  Resolution:  wontfix
 Keywords:                |     Focuses:
--------------------------+----------------------
Changes (by pento):

 * keywords:  reporter-feedback =>
 * status:  new => closed
 * resolution:   => wontfix
 * milestone:  Awaiting Review =>


Comment:

 Thank you for the extra information, @doctorlai.

 As at @SergeyBiryukov suggested, allowing this warning to occur is the
 correct behaviour. `$allowedentitynames` should never be set to `null`, as
 there are multiple locations where it's expected to be an array.

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


More information about the wp-trac mailing list