Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Include current `$post` with `wp_enqueue_media()` #735
If editing a post (post type), this allows additional settings to be enqueued for media handling. Specifically, this allows the auto embed of content from a URL such as YouTube, which does not work at this time.
If editing a user, term, etc...
There's a chance that the disable of auto-embed content is intentional. In that case I can find another workaround by filtering the settings. :)
@@ Coverage Diff @@ ## dev #735 +/- ## ======================================= Coverage 13.2% 13.2% Complexity 2479 2479 ======================================= Files 69 69 Lines 12576 12576 ======================================= Hits 1661 1661 Misses 10915 10915