Making WordPress.org


Ignore:
Timestamp:
08/27/2020 02:58:58 AM (4 years ago)
Author:
tellyworth
Message:

Plugin dir: filter out broken blocks from block search API.

See #5303.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/libs/site-search/jetpack-search.php

    r10117 r10210  
    439439                    'taxonomy.plugin_section.name' => array(
    440440                        'value' => 'block'
     441                    )
     442                )
     443            );
     444            // Exclude blocks with failing tests.
     445            $es_wp_query_args['filters'][] = array(
     446                'term' => array(
     447                    'e2e_success' => array(
     448                        'value' => 'true'
    441449                    )
    442450                )
Note: See TracChangeset for help on using the changeset viewer.