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

WordPress Trac noreply at wordpress.org
Thu May 23 01:04:41 UTC 2019


#47357: $allowedentitynames could be null
-------------------------------+------------------------------
 Reporter:  doctorlai          |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Formatting         |     Version:
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------
Changes (by SergeyBiryukov):

 * keywords:   => reporter-feedback
 * component:  General => Formatting


Comment:

 Hi @doctorlai, welcome to WordPress Trac! Thanks for the report.

 Does the issue still happen with all plugins disabled and a default theme
 (Twenty Nineteen) activated?

 It sounds like some plugin mistakenly overrides the `$allowedentitynames`
 with `null` instead of an empty array. This would indicate a developer
 error, so a warning seems appropriate here.

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


More information about the wp-trac mailing list