Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change the default for indexing filtered content to true to better support Gutenberg #119

Closed
wants to merge 1 commit into from
Closed
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
Change the default for indexing filtered content to true to better su…
…pport Gutenberg
  • Loading branch information
kevinfodness committed Jan 22, 2020
commit 9122681382818ba02301ba8f0b9502b8cade1f42
4 changes: 2 additions & 2 deletions lib/class-sp-post.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public function __get( $property ) {
*/
public function fill( $post ) {
do_action( 'sp_debug', '[SP_Post] Populating Post' );
$apply_filters = apply_filters( 'sp_post_index_filtered_data', false );
$apply_filters = apply_filters( 'sp_post_index_filtered_data', true );

$this->data['post_id'] = intval( $post->ID );
// We're storing the login here instead of user ID, as that's more flexible.
Expand Down Expand Up @@ -138,7 +138,7 @@ public static function get_meta( $post_id ) {
'_wpas_done_all',
'_encloseme',
'_pingme',
)
)
);
foreach ( $ignored_meta as $key ) {
unset( $meta[ $key ] );
Expand Down