[wp-trac] [WordPress Trac] #63821: Proposal: Drop support for IE conditional scripts and styles
WordPress Trac
noreply at wordpress.org
Wed Sep 17 02:25:27 UTC 2025
#63821: Proposal: Drop support for IE conditional scripts and styles
-------------------------------------------------+-------------------------
Reporter: jonsurrell | Owner: joedolson
Type: enhancement | Status: accepted
Priority: normal | Milestone: 6.9
Component: General | Version: 4.8
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests needs-dev- | Focuses:
note needs-testing has-test-info | javascript, css
-------------------------------------------------+-------------------------
Comment (by rollybueno):
== Test Report
=== Description
This report validates whether the indicated patch works as expected.
Patch tested: https://github.com/WordPress/wordpress-develop/pull/9497
=== Environment
- WordPress: 6.9-alpha-60093-src
- PHP: 8.2.29
- Server: nginx/1.29.1
- Database: mysqli (Server: 8.4.6 / Client: mysqlnd 8.2.29)
- Browser: Chrome 139.0.0.0
- OS: Linux
- Theme: Twenty Twenty-Five 1.3
- MU Plugins: None activated
- Plugins:
* Test 63821 1.0.0
* Test Reports 1.2.0
=== Actual Results
1. ✅ Issue resolved with patch.
Based on
https://gist.github.com/joedolson/fc5a5da9c7cb23e44257128e6a6564f8, it
shows a depreciated notices when the debugging set to true on the
environment. As evident, I have this on the header when activating the
test data:
[[Image(https://i.imgur.com/LZGyXld.png)]]
=== Additional Notes
- Also run the following test individually and all of them passed:
{{{
test_wp_script_add_data_with_conditional_key
test_wp_add_inline_script_after_and_before_with_concat_and_conditional
test_conditional_inline_styles_are_also_conditional
test_wp_add_inline_script_after_with_concat_and_conditional_and_core_dependency
}}}
=== Supplemental Artifacts
Test suite: [[Image(https://i.imgur.com/lDm9lpM.png)]]
Test plugin from:
https://gist.github.com/joedolson/fc5a5da9c7cb23e44257128e6a6564f8
[[Image(https://i.imgur.com/LZGyXld.png)]]
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63821#comment:23>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list