[wp-trac] [WordPress Trac] #16996: oEmbed: Allow custom arguments to be specified
WordPress Trac
wp-trac at lists.automattic.com
Mon Apr 11 19:01:34 UTC 2011
#16996: oEmbed: Allow custom arguments to be specified
-------------------------------------+------------------------------
Reporter: newmediarts | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Embeds | Version: 3.1
Severity: normal | Resolution:
Keywords: has-patch needs-testing |
-------------------------------------+------------------------------
Comment (by r-a-y):
Using the filter, it's possible to add arguments on a per-URL basis (not
shortcode) if you use the parse_url() function to see if any arguments
(that you want) exist in the URL string.
If they exist, then you could tack them on to $provider. If they don't,
don't add them.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16996#comment:9>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list