We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3ada65 commit b1276ffCopy full SHA for b1276ff
1 file changed
inc/compatibilities/jetpack.php
@@ -27,8 +27,6 @@ public function register() {
27
add_filter(
28
'jetpack_sync_before_send_jetpack_published_post',
29
function ( $data ) {
30
- Optml_Url_Replacer::instance()->init();
31
-
32
if ( is_array( $data ) ) {
33
foreach ( $data as $key => &$value ) {
34
if ( $value instanceof \WP_Post ) {
@@ -43,8 +41,6 @@ function ( $data ) {
43
41
if ( isset( $value->featured_image ) && ! empty( $value->featured_image ) ) {
44
42
$value->featured_image = apply_filters( 'optml_content_url', $value->featured_image );
45
}
46
47
- $data[ $key ] = $value;
48
49
50
0 commit comments