Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion documentcloud.php
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ function prepare_oembed_fetch( $provider, $url, $args ) {
// Merge actual args with default attributes so that defaults are always
// sent to oEmbed endpoint
$default_atts = $this->get_default_atts();
$atts = array_merge( $default_atts, $args );
$atts = wp_parse_args( $args, $default_atts );

// Some resources (like notes) have multiple possible
// user-facing URLs. We recompose them into a single form.
Expand Down