[wp-trac] [WordPress Trac] #44578: Unexpected string in the output.
WordPress Trac
noreply at wordpress.org
Thu Jul 12 20:21:42 UTC 2018
#44578: Unexpected string in the output.
--------------------------+-----------------------------
Reporter: VBog | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 4.9.7
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
wp-includes/media.php in function wp_playlist_scripts( $type )
This code will appear in the output for any function call:
{{{#!php
<?php
?>
<!--[if lt IE 9]><script>document.createElement('<?php echo esc_js( $type
) ?>');</script><![endif]-->
<?php
}}}
I think that this is not correct. For example, this string appears before
json in response of WP REST API request.
https://bogaiskov.ru/test/wp-json/wp/v2/posts/787
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44578>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list