modules/shortcodes/facebook.php 1 location
|
@@ 84-86 (lines=3) @@
|
| 81 |
|
$clean_parameters = array(); // jetpack_facebook_get_allowed_parameters( $url ); // FIXME! |
| 82 |
|
|
| 83 |
|
// Replace existing URL by our clean version. |
| 84 |
|
if ( ! empty( $clean_parameters['url'] ) ) { |
| 85 |
|
$provider = add_query_arg( 'url', rawurlencode( $clean_parameters['url'] ), $provider ); |
| 86 |
|
} |
| 87 |
|
|
| 88 |
|
// Our shortcode supports the width param, but the API expects maxwidth. |
| 89 |
|
if ( ! empty( $clean_parameters['width'] ) ) { |
modules/shortcodes/instagram.php 1 location
|
@@ 229-231 (lines=3) @@
|
| 226 |
|
$clean_parameters = jetpack_instagram_get_allowed_parameters( $url ); |
| 227 |
|
|
| 228 |
|
// Replace existing URL by our clean version. |
| 229 |
|
if ( ! empty( $clean_parameters['url'] ) ) { |
| 230 |
|
$provider = add_query_arg( 'url', rawurlencode( $clean_parameters['url'] ), $provider ); |
| 231 |
|
} |
| 232 |
|
|
| 233 |
|
// Our shortcode supports the width param, but the API expects maxwidth. |
| 234 |
|
if ( ! empty( $clean_parameters['width'] ) ) { |