Opened 8 months ago
Last modified 8 months ago
#60448 new defect (bug)
Iframe from `$errmsg` is now removed from error message in the plugins page
Reported by: | renathoc | Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | 6.3 |
Component: | Plugins | Keywords: | |
Focuses: | administration | Cc: |
Description (last modified by )
We have a die
with a message in case of a plugin activation failure here: https://github.com/Automattic/sensei/blob/1933acc544be8a98866bec1b8790a5b195d5b4c7/sensei-lms.php#L65.
The message used to work until WordPress 6.3, and it stopped working.
I think it was broken with this change:
changeset 56573, wp-admin/plugins.php
The reason seems to be because the iframe is now concatenated in the $errmsg
variable, which is sent to the wp_admin_notice
, and later it goes through the wp_kses_post
, being removed.
Attachments (2)
Change History (3)
Note: See
TracTickets for help on using
tickets.
The expected behavior that used to work