Make WordPress Core

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#44578 closed defect (bug) (invalid)

Unexpected string in the output.

Reported by: VBog Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.9.7
Component: Media Keywords:
Focuses: Cc:


wp-includes/media.php in function wp_playlist_scripts( $type )
This code will appear in the output for any function call:

<!--[if lt IE 9]><script>document.createElement('<?php echo esc_js( $type ) ?>');</script><![endif]-->

I think that this is not correct. For example, this string appears before json in response of WP REST API request.

Attachments (1)

44578.diff (6.9 KB) - added by TimothyBlynJacobs 3 years ago.

Download all attachments as: .zip

Change History (4)

#1 @VBog
3 years ago

  • Resolution set to invalid
  • Status changed from new to closed

#2 @SergeyBiryukov
3 years ago

  • Component changed from General to Media
  • Milestone Awaiting Review deleted

#3 @TimothyBlynJacobs
3 years ago

Sorry! I can't read numbers apparently.

Note: See TracTickets for help on using tickets.