I’d suspect it has something to do with other plugin updates possibly using the oembed_providers
filter hook.
Could you try adding the following code to your functions.php
file?
add_filter( 'oembed_providers', function( $aProviders ) {
$_sEndpointURL = add_query_arg(
array(
'oembed' => ( string ) apply_filters( 'aal_filter_plugin_slug_oembed', 'amazon-auto-links' ),
'endpoint' => true,
'format' => 'xml',
),
site_url()
);
$aProviders = array(
"#https?://([a-z0-9-]+\.)?amazon\.[a-z]+(\.[a-z])?/.*#i" => array( $_sEndpointURL, true ),
) + $aProviders;
$aProviders[ "#https?://([a-z0-9-]+\.)?amazon\.(com|com\.mx|com\.br|ca)/.*#i" ] = array( $_sEndpointURL, true );
$aProviders[ "#https?://([a-z0-9-]+\.)?amazon\.(co\.uk|de|fr|it|es|in|nl|ru)/.*#i" ] = array( $_sEndpointURL, true );
$aProviders[ "#https?://([a-z0-9-]+\.)?amazon\.(co\.jp|com\.au)/.*#i" ] = array( $_sEndpointURL, true );
return $aProviders;
}, 9999 );
If it doesn’t make a difference, try increasing and decreasing the value, 9999
, such as 999999
and 1
.
-
This reply was modified 7 months, 3 weeks ago by miunosoft.