Commit b381e86
committed
Media: Remove inline scripts targeting
In #24902, an inline script was introduced to `wp_playlist_scripts()`, `wp_audio_shortcode()`, and `wp_video_shortcode()` for HTML5 compatibility in browsers running IE 8 and earlier.
These browsers have long been unsupported by WordPress, and unsupported by Microsoft for 9 years or more. So this compatibility code is no longer necessary and can safely be removed.
Hit the road, Jack, and don't ya come back no more, no more, no more, no more!
Props aslamdoctor, mindctrl, nigelnelles, joedolson.
Fixes #63471.
git-svn-id: https://develop.svn.wordpress.org/trunk@60285 602fd350-edb4-49c9-b593-d223f7449a82IE < 9.1 parent aa1f5ef commit b381e86
2 files changed
Lines changed: 2 additions & 20 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2992 | 2992 | | |
2993 | 2993 | | |
2994 | 2994 | | |
2995 | | - | |
2996 | | - | |
2997 | | - | |
2998 | 2995 | | |
2999 | 2996 | | |
3000 | 2997 | | |
| |||
3502 | 3499 | | |
3503 | 3500 | | |
3504 | 3501 | | |
3505 | | - | |
3506 | | - | |
3507 | | - | |
3508 | | - | |
3509 | | - | |
3510 | | - | |
3511 | | - | |
3512 | | - | |
| 3502 | + | |
3513 | 3503 | | |
3514 | 3504 | | |
3515 | 3505 | | |
| |||
3787 | 3777 | | |
3788 | 3778 | | |
3789 | 3779 | | |
3790 | | - | |
3791 | | - | |
3792 | | - | |
3793 | | - | |
3794 | | - | |
3795 | | - | |
3796 | | - | |
3797 | | - | |
| 3780 | + | |
3798 | 3781 | | |
3799 | 3782 | | |
3800 | 3783 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
999 | 999 | | |
1000 | 1000 | | |
1001 | 1001 | | |
1002 | | - | |
1003 | 1002 | | |
1004 | 1003 | | |
1005 | 1004 | | |
| |||
0 commit comments