Opened 15 months ago
Last modified 15 months ago
#20151 new enhancement
Add parameter for wp_embed_defaults()
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Awaiting Review |
| Component: | Media | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: |
Description
If we can add a parameter (like $url) to wp_embed_defaults(), then people can filter more intelligently as WordPress extends to allow more and more oEmbed.
Attachments (2)
Change History (6)
I'm sorry but I am unsure how to do that. The files are located in wordpress/wp-includes/
20151.diff is a refresh of wpsmith's patch, fixed to be relative to root and with trailing CR's removed.
comment:4
in reply to:
↑ 2
DrewAPicture — 15 months ago
Replying to wpsmith:
I'm sorry but I am unsure how to do that. The files are located in wordpress/wp-includes/
You would generate the diff/patch from the site root (in your case wordpress/) rather than from within wp-includes.
Note: See
TracTickets for help on using
tickets.

Could you please make your patch relative to the root dir?