Skip to content

Commit

Permalink
Fixes: #6115 By making sure that $shortcodes_and_callbacks_to_remove …
Browse files Browse the repository at this point in the history
…exists as an array. (#6123)
  • Loading branch information
enejb authored Jan 19, 2017
1 parent 705bcbe commit 4f49f88
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sync/class.jetpack-sync-module-posts.php
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ function filter_post_content_and_add_links( $post_object ) {
$post->post_password = 'auto-' . wp_generate_password( 10, false );
}

$shortcodes_and_callbacks_to_remove = array();
/**
* Filter prevents some shortcodes from expanding.
*
Expand Down

0 comments on commit 4f49f88

Please sign in to comment.