[wp-trac] [WordPress Trac] #41299: oEmbed proxy fails to forward maxwidth and maxheight params
WordPress Trac
noreply at wordpress.org
Fri Jul 14 15:10:42 UTC 2017
#41299: oEmbed proxy fails to forward maxwidth and maxheight params
---------------------------------------------+--------------------------
Reporter: westonruter | Owner: westonruter
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 4.8.1
Component: Embeds | Version: 4.8
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests commit | Focuses: rest-api
---------------------------------------------+--------------------------
Comment (by westonruter):
Replying to [comment:8 jnylen0]:
> - Before loading each embed, clear the cached results by running
`foreach ( $wpdb->get_results("SELECT option_name FROM $wpdb->options
WHERE option_name LIKE '_transient%oembed%'") as $row ) { error_log(
$row->option_name ); delete_option( $row->option_name ); }` in `wp shell`
BTW, you can also use `wp transient delete --all`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41299#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list