#44578 closed defect (bug) (invalid)
Unexpected string in the output.
| Reported by: | VBog | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Media | Version: | 4.9.7 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
wp-includes/media.php in function wp_playlist_scripts( $type )
This code will appear in the output for any function call:
<?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
Attachments (1)
Change History (4)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Sorry! I can't read numbers apparently.