Repository navigation
Conversation
The theme printed an inline script on every page that set the wmode parameter on the VideoPress Flash player through jQuery.VideoPress. The Flash player is long gone, and jQuery isn't loaded on WordPress.tv anymore, so the script only threw "jQuery is not defined" in the console on every page view. Fixes #7143. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. Core Committers: Use this line as a base for the props when committing in SVN: To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. Props Bot commandsYou can trigger Props Bot actions by commenting on this PR:
|
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
|
@propsbot add harshgajipara |
Fixes https://meta.trac.wordpress.org/ticket/7143
The wptv2 theme hooks
videopress_flash_params()intowp_footer, which prints this on every page:It set
wmodeon the VideoPress Flash player, which no longer exists. jQuery isn’t loaded on WordPress.tv anymore either (none of the scripts on the home page define it), so the script throwsReferenceError: jQuery is not definedon every page view. That’s the console error the ticket reports.This removes the callback and its hook. The subtitle upload failure in the ticket’s title was a problem with the reporter’s TTML file (see comment:3), and the upload flow itself was reworked in https://meta.trac.wordpress.org/changeset/15316.
Testing
Uncaught ReferenceError: jQuery is not defined.view-source:no longer containsjQuery.VideoPress.🤖 Generated with Claude Code
Summary by CodeRabbit