Forum Replies Created

Viewing 1 replies (of 1 total)
  • We are encountering the same problem on multiple pages within the file.

    wp-content/plugins/search-exclude/lib/controllers/class-backend.php

    line: 188

    work arround:

    protected function is_excluded( $post_id ) {
    $post_type = get_post_type( $post_id );
    $excluded = Models_Settings::instance()->get()->get( ‘entries’ )[ $post_type ][‘ids’];
    if (is_array($excluded)) {
    return false !== array_search($post_id, $excluded);
    } else {
    // Fallback, falls $excluded kein Array ist
    return false;
    }

Viewing 1 replies (of 1 total)