updated plugin Jetpack Protect
version 1.1.1
This commit is contained in:
@ -5,6 +5,56 @@ All notable changes to this project will be documented in this file.
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
|
||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
## [1.43.0] - 2022-11-17
|
||||
### Added
|
||||
- Added new sync option for launch-status [#27434]
|
||||
- Jetpack Sync: Add new endpoint for resetting Sync locks. [#27446]
|
||||
|
||||
## [1.42.0] - 2022-11-14
|
||||
### Changed
|
||||
- Save attached media to post meta [#26930]
|
||||
|
||||
## [1.41.0] - 2022-11-07
|
||||
### Changed
|
||||
- Jetpack Sync: add Updates module in required Sync modules. [#27182]
|
||||
- Updated package dependencies. [#27278]
|
||||
|
||||
## [1.40.3] - 2022-11-01
|
||||
### Added
|
||||
- Adds wpcom_gifting_subscription option for syncing [#27116]
|
||||
|
||||
## [1.40.2] - 2022-10-27
|
||||
### Fixed
|
||||
- Check $action_links is still array after plugin_action_links filter has been applied. [#27076]
|
||||
|
||||
## [1.40.1] - 2022-10-25
|
||||
### Added
|
||||
- Added featured_image_email_enabled option for syncing [#27009]
|
||||
|
||||
### Changed
|
||||
- Search Sync Settings :: Add Marketplace product extra fields meta to allow list [#26927]
|
||||
- Updated package dependencies. [#26705]
|
||||
|
||||
## [1.40.0] - 2022-10-17
|
||||
### Added
|
||||
- Adding the `sl-insta-media` post type to the Sync blacklist as the post type data isn't relevant to Sync and takes up non-trivial resources. [#26826]
|
||||
|
||||
## [1.39.0] - 2022-10-11
|
||||
### Added
|
||||
- Added some taxonomies to be indexed by Search. [#26683]
|
||||
|
||||
## [1.38.4] - 2022-09-20
|
||||
### Added
|
||||
- Gutenberg Support: add additional theme_supports items to our synced allowlist. [#26239]
|
||||
|
||||
### Changed
|
||||
- Default Theme Support: Add support for new feature added in WP 6.1 [#26236]
|
||||
- Theme Supports: updated allowed values list to align with a Core change r54159-core [#26220]
|
||||
|
||||
## [1.38.3] - 2022-09-08
|
||||
### Changed
|
||||
- Updated package dependencies.
|
||||
|
||||
## [1.38.2] - 2022-08-29
|
||||
### Changed
|
||||
- Updated package dependencies.
|
||||
@ -711,6 +761,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
- Packages: Move sync to a classmapped package
|
||||
|
||||
[1.43.0]: https://github.com/Automattic/jetpack-sync/compare/v1.42.0...v1.43.0
|
||||
[1.42.0]: https://github.com/Automattic/jetpack-sync/compare/v1.41.0...v1.42.0
|
||||
[1.41.0]: https://github.com/Automattic/jetpack-sync/compare/v1.40.3...v1.41.0
|
||||
[1.40.3]: https://github.com/Automattic/jetpack-sync/compare/v1.40.2...v1.40.3
|
||||
[1.40.2]: https://github.com/Automattic/jetpack-sync/compare/v1.40.1...v1.40.2
|
||||
[1.40.1]: https://github.com/Automattic/jetpack-sync/compare/v1.40.0...v1.40.1
|
||||
[1.40.0]: https://github.com/Automattic/jetpack-sync/compare/v1.39.0...v1.40.0
|
||||
[1.39.0]: https://github.com/Automattic/jetpack-sync/compare/v1.38.4...v1.39.0
|
||||
[1.38.4]: https://github.com/Automattic/jetpack-sync/compare/v1.38.3...v1.38.4
|
||||
[1.38.3]: https://github.com/Automattic/jetpack-sync/compare/v1.38.2...v1.38.3
|
||||
[1.38.2]: https://github.com/Automattic/jetpack-sync/compare/v1.38.1...v1.38.2
|
||||
[1.38.1]: https://github.com/Automattic/jetpack-sync/compare/v1.38.0...v1.38.1
|
||||
[1.38.0]: https://github.com/Automattic/jetpack-sync/compare/v1.37.1...v1.38.0
|
||||
|
@ -4,12 +4,12 @@
|
||||
"type": "jetpack-library",
|
||||
"license": "GPL-2.0-or-later",
|
||||
"require": {
|
||||
"automattic/jetpack-connection": "^1.44",
|
||||
"automattic/jetpack-connection": "^1.46",
|
||||
"automattic/jetpack-constants": "^1.6",
|
||||
"automattic/jetpack-identity-crisis": "^0.8",
|
||||
"automattic/jetpack-password-checker": "^0.2",
|
||||
"automattic/jetpack-roles": "^1.4",
|
||||
"automattic/jetpack-status": "^1.14"
|
||||
"automattic/jetpack-status": "^1.15"
|
||||
},
|
||||
"require-dev": {
|
||||
"automattic/jetpack-changelogger": "^3.2",
|
||||
@ -31,7 +31,8 @@
|
||||
"test-php": [
|
||||
"@composer phpunit"
|
||||
],
|
||||
"post-update-cmd": "php -r \"copy('vendor/automattic/wordbless/src/dbless-wpdb.php', 'wordpress/wp-content/db.php');\""
|
||||
"post-install-cmd": "WorDBless\\Composer\\InstallDropin::copy",
|
||||
"post-update-cmd": "WorDBless\\Composer\\InstallDropin::copy"
|
||||
},
|
||||
"minimum-stability": "dev",
|
||||
"prefer-stable": true,
|
||||
@ -46,7 +47,7 @@
|
||||
"link-template": "https://github.com/Automattic/jetpack-sync/compare/v${old}...v${new}"
|
||||
},
|
||||
"branch-alias": {
|
||||
"dev-trunk": "1.38.x-dev"
|
||||
"dev-trunk": "1.43.x-dev"
|
||||
}
|
||||
},
|
||||
"config": {
|
||||
|
@ -1042,4 +1042,28 @@ class Actions {
|
||||
}
|
||||
return $result;
|
||||
}
|
||||
|
||||
/**
|
||||
* Reset Sync locks.
|
||||
*
|
||||
* @access public
|
||||
* @static
|
||||
* @since 1.43.0
|
||||
*/
|
||||
public static function reset_sync_locks() {
|
||||
// Next sync locks.
|
||||
delete_option( Sender::NEXT_SYNC_TIME_OPTION_NAME . '_sync' );
|
||||
delete_option( Sender::NEXT_SYNC_TIME_OPTION_NAME . '_full_sync' );
|
||||
delete_option( Sender::NEXT_SYNC_TIME_OPTION_NAME . '_full-sync-enqueue' );
|
||||
// Retry after locks.
|
||||
delete_option( self::RETRY_AFTER_PREFIX . '_sync' );
|
||||
delete_option( self::RETRY_AFTER_PREFIX . '_full_sync' );
|
||||
// Dedicated sync lock.
|
||||
\Jetpack_Options::delete_raw_option( Dedicated_Sender::DEDICATED_SYNC_REQUEST_LOCK_OPTION_NAME );
|
||||
// Queue locks.
|
||||
$sync_queue = new Queue( 'sync' );
|
||||
$sync_queue->unlock();
|
||||
$full_sync_queue = new Queue( 'full_sync' );
|
||||
$full_sync_queue->unlock();
|
||||
}
|
||||
}
|
||||
|
@ -21,6 +21,7 @@ class Data_Settings {
|
||||
'Automattic\\Jetpack\\Sync\\Modules\\Constants',
|
||||
'Automattic\\Jetpack\\Sync\\Modules\\Full_Sync_Immediately', // enable Initial Sync on Site Connection.
|
||||
'Automattic\\Jetpack\\Sync\\Modules\\Options',
|
||||
'Automattic\\Jetpack\\Sync\\Modules\\Updates',
|
||||
),
|
||||
'jetpack_sync_callable_whitelist' => array(
|
||||
'site_url' => array( 'Automattic\\Jetpack\\Connection\\Urls', 'site_url' ),
|
||||
|
@ -57,6 +57,7 @@ class Defaults {
|
||||
'disabled_reblogs',
|
||||
'disallowed_keys',
|
||||
'enable_header_ad',
|
||||
'featured_image_email_enabled',
|
||||
'gmt_offset',
|
||||
'gravatar_disable_hovercards',
|
||||
'highlander_comment_form_prompt',
|
||||
@ -101,6 +102,7 @@ class Defaults {
|
||||
'jetpack_wga',
|
||||
'large_size_h',
|
||||
'large_size_w',
|
||||
'launch-status',
|
||||
'mailserver_login', // Not syncing contents, only the option name.
|
||||
'mailserver_pass', // Not syncing contents, only the option name.
|
||||
'mailserver_port',
|
||||
@ -173,6 +175,7 @@ class Defaults {
|
||||
'wpcom_publish_comments_with_markdown',
|
||||
'wpcom_publish_posts_with_markdown',
|
||||
'videopress_private_enabled_for_site',
|
||||
'wpcom_gifting_subscription',
|
||||
);
|
||||
|
||||
/**
|
||||
@ -407,6 +410,7 @@ class Defaults {
|
||||
'scheduled-action', // Action Scheduler - Job Queue for WordPress https://github.com/woocommerce/woocommerce/tree/e7762627c37ec1f7590e6cac4218ba0c6a20024d/includes/libraries/action-scheduler .
|
||||
'secupress_log_action',
|
||||
'sg_optimizer_jobs',
|
||||
'sl-insta-media',
|
||||
'snitch',
|
||||
'vip-legacy-redirect',
|
||||
'wp-rest-api-log', // https://wordpress.org/plugins/wp-rest-api-log/.
|
||||
@ -721,6 +725,7 @@ class Defaults {
|
||||
'_wpas_feature_enabled',
|
||||
'_wpas_is_tweetstorm',
|
||||
'_wpas_mess',
|
||||
'_wpas_options',
|
||||
'advanced_seo_description', // Jetpack_SEO_Posts::DESCRIPTION_META_KEY.
|
||||
'content_width',
|
||||
'custom_css_add',
|
||||
@ -796,16 +801,21 @@ class Defaults {
|
||||
*/
|
||||
public static $default_theme_support_whitelist = array(
|
||||
'align-wide',
|
||||
'appearance-tools', // In Gutenberg.
|
||||
'automatic-feed-links',
|
||||
'block-templates',
|
||||
'block-template-parts', // WP 6.1. Added via https://core.trac.wordpress.org/changeset/54176
|
||||
'custom-background',
|
||||
'custom-header',
|
||||
'custom-logo',
|
||||
'customize-selective-refresh-widgets',
|
||||
'dark-editor-style',
|
||||
'default-color-palette', // In Gutenberg.
|
||||
'default-gradient-presets', // In Gutenberg.
|
||||
'disable-custom-colors',
|
||||
'disable-custom-font-sizes',
|
||||
'disable-custom-gradients',
|
||||
'disable-layout-styles', // WP 6.1. Added via https://core.trac.wordpress.org/changeset/54159
|
||||
'editor-color-palette',
|
||||
'editor-font-sizes',
|
||||
'editor-gradient-presets',
|
||||
|
@ -12,7 +12,7 @@ namespace Automattic\Jetpack\Sync;
|
||||
*/
|
||||
class Package_Version {
|
||||
|
||||
const PACKAGE_VERSION = '1.38.2';
|
||||
const PACKAGE_VERSION = '1.43.0';
|
||||
|
||||
const PACKAGE_SLUG = 'sync';
|
||||
|
||||
|
@ -317,6 +317,17 @@ class REST_Endpoints {
|
||||
)
|
||||
);
|
||||
|
||||
// Reset Sync locks.
|
||||
register_rest_route(
|
||||
'jetpack/v4',
|
||||
'/sync/locks',
|
||||
array(
|
||||
'methods' => WP_REST_Server::DELETABLE,
|
||||
'callback' => __CLASS__ . '::reset_locks',
|
||||
'permission_callback' => __CLASS__ . '::verify_default_permissions',
|
||||
)
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
@ -768,6 +779,23 @@ class REST_Endpoints {
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Reset Sync locks.
|
||||
*
|
||||
* @since 1.43.0
|
||||
*
|
||||
* @return \WP_REST_Response
|
||||
*/
|
||||
public static function reset_locks() {
|
||||
Actions::reset_sync_locks();
|
||||
|
||||
return rest_ensure_response(
|
||||
array(
|
||||
'success' => true,
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Verify that request has default permissions to perform sync actions.
|
||||
*
|
||||
|
@ -376,6 +376,10 @@ class Callables extends Module {
|
||||
);
|
||||
/** This filter is documented in src/wp-admin/includes/class-wp-plugins-list-table.php */
|
||||
$action_links = apply_filters( 'plugin_action_links', $action_links, $plugin_file, null, 'all' );
|
||||
// Verify $action_links is still an array.
|
||||
if ( ! is_array( $action_links ) ) {
|
||||
$action_links = array();
|
||||
}
|
||||
/** This filter is documented in src/wp-admin/includes/class-wp-plugins-list-table.php */
|
||||
$action_links = apply_filters( "plugin_action_links_{$plugin_file}", $action_links, $plugin_file, null, 'all' );
|
||||
// Verify $action_links is still an array to resolve warnings from filters not returning an array.
|
||||
|
@ -69,367 +69,368 @@ class Search extends Module {
|
||||
*/
|
||||
private static $postmeta_to_sync = array(
|
||||
// jetpack.
|
||||
'jetpack-search-meta0' => array( 'searchable_in_all_content' => true ),
|
||||
'jetpack-search-meta1' => array( 'searchable_in_all_content' => true ),
|
||||
'jetpack-search-meta2' => array( 'searchable_in_all_content' => true ),
|
||||
'jetpack-search-meta3' => array( 'searchable_in_all_content' => true ),
|
||||
'jetpack-search-meta4' => array( 'searchable_in_all_content' => true ),
|
||||
'jetpack-search-meta5' => array( 'searchable_in_all_content' => true ),
|
||||
'jetpack-search-meta6' => array( 'searchable_in_all_content' => true ),
|
||||
'jetpack-search-meta7' => array( 'searchable_in_all_content' => true ),
|
||||
'jetpack-search-meta8' => array( 'searchable_in_all_content' => true ),
|
||||
'jetpack-search-meta9' => array( 'searchable_in_all_content' => true ),
|
||||
'jetpack-search-meta0' => array( 'searchable_in_all_content' => true ),
|
||||
'jetpack-search-meta1' => array( 'searchable_in_all_content' => true ),
|
||||
'jetpack-search-meta2' => array( 'searchable_in_all_content' => true ),
|
||||
'jetpack-search-meta3' => array( 'searchable_in_all_content' => true ),
|
||||
'jetpack-search-meta4' => array( 'searchable_in_all_content' => true ),
|
||||
'jetpack-search-meta5' => array( 'searchable_in_all_content' => true ),
|
||||
'jetpack-search-meta6' => array( 'searchable_in_all_content' => true ),
|
||||
'jetpack-search-meta7' => array( 'searchable_in_all_content' => true ),
|
||||
'jetpack-search-meta8' => array( 'searchable_in_all_content' => true ),
|
||||
'jetpack-search-meta9' => array( 'searchable_in_all_content' => true ),
|
||||
|
||||
// woocommerce.
|
||||
'entity_types' => array(),
|
||||
'exclude_product_categories' => array(),
|
||||
'exclude_product_ids' => array(),
|
||||
'free_shipping' => array(),
|
||||
'id_field' => array(),
|
||||
'individual_use' => array(),
|
||||
'limit_usage_to_x_items' => array(),
|
||||
'maximum_amount' => array(),
|
||||
'minimum_amount' => array(),
|
||||
'post_id' => array(),
|
||||
'product_categories' => array( 'searchable_in_all_content' => true ),
|
||||
'product_ids' => array(),
|
||||
'total_sales' => array(
|
||||
'entity_types' => array(),
|
||||
'exclude_product_categories' => array(),
|
||||
'exclude_product_ids' => array(),
|
||||
'free_shipping' => array(),
|
||||
'id_field' => array(),
|
||||
'individual_use' => array(),
|
||||
'limit_usage_to_x_items' => array(),
|
||||
'maximum_amount' => array(),
|
||||
'minimum_amount' => array(),
|
||||
'post_id' => array(),
|
||||
'product_categories' => array( 'searchable_in_all_content' => true ),
|
||||
'product_ids' => array(),
|
||||
'total_sales' => array(
|
||||
'available' => false,
|
||||
'alternatives' => array(
|
||||
'wc.percent_of_sales',
|
||||
),
|
||||
),
|
||||
'usage_limit' => array(),
|
||||
'usage_limit_per_user' => array(),
|
||||
'_crosssell_ids' => array(),
|
||||
'_downloadable' => array(),
|
||||
'_featured' => array(),
|
||||
'_height' => array(),
|
||||
'_length' => array(),
|
||||
'_price' => array(
|
||||
'usage_limit' => array(),
|
||||
'usage_limit_per_user' => array(),
|
||||
'_crosssell_ids' => array(),
|
||||
'_downloadable' => array(),
|
||||
'_featured' => array(),
|
||||
'_height' => array(),
|
||||
'_length' => array(),
|
||||
'_price' => array(
|
||||
'alternatives' => array(
|
||||
'wc.price',
|
||||
'wc.min_price',
|
||||
'wc.max_price',
|
||||
),
|
||||
),
|
||||
'_prices_include_tax' => array(),
|
||||
'_product_attributes' => array(),
|
||||
'_product_version' => array(),
|
||||
'_regular_price' => array(
|
||||
'_prices_include_tax' => array(),
|
||||
'_product_attributes' => array(),
|
||||
'_product_version' => array(),
|
||||
'_regular_price' => array(
|
||||
'alternatives' => array(
|
||||
'wc.regular_price',
|
||||
),
|
||||
),
|
||||
'_sale_price' => array(
|
||||
'_sale_price' => array(
|
||||
'alternatives' => array(
|
||||
'wc.sale_price',
|
||||
),
|
||||
),
|
||||
'_sale_price_dates_from' => array(),
|
||||
'_sale_price_dates_to' => array(),
|
||||
'_sku' => array( 'searchable_in_all_content' => true ),
|
||||
'_stock_status' => array(),
|
||||
'_wc_average_rating' => array(
|
||||
'_sale_price_dates_from' => array(),
|
||||
'_sale_price_dates_to' => array(),
|
||||
'_sku' => array( 'searchable_in_all_content' => true ),
|
||||
'_stock_status' => array(),
|
||||
'_wc_average_rating' => array(
|
||||
'alternatives' => array(
|
||||
'wc.ave_rating_score',
|
||||
),
|
||||
),
|
||||
'_wc_rating_count' => array(
|
||||
'_wc_rating_count' => array(
|
||||
'alternatives' => array(
|
||||
'wc.rating', // wc.rating.count_1, wc.rating.count_2, ...
|
||||
),
|
||||
),
|
||||
'_wc_review_count' => array(),
|
||||
'_weight' => array(),
|
||||
'_width' => array(),
|
||||
'_wc_review_count' => array(),
|
||||
'_weight' => array(),
|
||||
'_width' => array(),
|
||||
|
||||
// co-authors plus.
|
||||
'cap-description' => array( 'searchable_in_all_content' => true ),
|
||||
'cap-user_login' => array( 'searchable_in_all_content' => true ),
|
||||
'cap-user_email' => array(),
|
||||
'cap-last_name' => array( 'searchable_in_all_content' => true ),
|
||||
'cap-first_name' => array( 'searchable_in_all_content' => true ),
|
||||
'cap-display_name' => array( 'searchable_in_all_content' => true ),
|
||||
'cap-website' => array(),
|
||||
'cap-jabber' => array(),
|
||||
'cap-aim' => array(),
|
||||
'cap-twitter' => array(),
|
||||
'cap-facebook' => array(),
|
||||
'cap-google_plus' => array(),
|
||||
'cap-job_title' => array( 'searchable_in_all_content' => true ),
|
||||
'cap-description' => array( 'searchable_in_all_content' => true ),
|
||||
'cap-user_login' => array( 'searchable_in_all_content' => true ),
|
||||
'cap-user_email' => array(),
|
||||
'cap-last_name' => array( 'searchable_in_all_content' => true ),
|
||||
'cap-first_name' => array( 'searchable_in_all_content' => true ),
|
||||
'cap-display_name' => array( 'searchable_in_all_content' => true ),
|
||||
'cap-website' => array(),
|
||||
'cap-jabber' => array(),
|
||||
'cap-aim' => array(),
|
||||
'cap-twitter' => array(),
|
||||
'cap-facebook' => array(),
|
||||
'cap-google_plus' => array(),
|
||||
'cap-job_title' => array( 'searchable_in_all_content' => true ),
|
||||
|
||||
// bbpress.
|
||||
'bbpl_like' => array(),
|
||||
'bbpress_discussion_comments_copied' => array(),
|
||||
'bbpress_discussion_tags_copied' => array(),
|
||||
'bbpress_discussion_topic_id' => array(),
|
||||
'bbpress_discussion_use_defaults' => array(),
|
||||
'bbpress_page_header_bg' => array(),
|
||||
'bbpress_title_bg' => array(),
|
||||
'use_bbpress_discussion_topic' => array(),
|
||||
'bbpl_like' => array(),
|
||||
'bbpress_discussion_comments_copied' => array(),
|
||||
'bbpress_discussion_tags_copied' => array(),
|
||||
'bbpress_discussion_topic_id' => array(),
|
||||
'bbpress_discussion_use_defaults' => array(),
|
||||
'bbpress_page_header_bg' => array(),
|
||||
'bbpress_title_bg' => array(),
|
||||
'use_bbpress_discussion_topic' => array(),
|
||||
|
||||
// wpml.
|
||||
'tm_meta_wpml' => array(),
|
||||
'wpml_language' => array(),
|
||||
'wpml_media_lang' => array(),
|
||||
'wpml_media_processed' => array(),
|
||||
'tm_meta_wpml' => array(),
|
||||
'wpml_language' => array(),
|
||||
'wpml_media_lang' => array(),
|
||||
'wpml_media_processed' => array(),
|
||||
|
||||
// blogger import.
|
||||
'blogger_author' => array( 'searchable_in_all_content' => true ),
|
||||
'blogger_blog' => array( 'searchable_in_all_content' => true ),
|
||||
'blogger_permalink' => array( 'searchable_in_all_content' => true ),
|
||||
'blogger_author' => array( 'searchable_in_all_content' => true ),
|
||||
'blogger_blog' => array( 'searchable_in_all_content' => true ),
|
||||
'blogger_permalink' => array( 'searchable_in_all_content' => true ),
|
||||
|
||||
// geo.
|
||||
'geo_address' => array( 'searchable_in_all_content' => true ),
|
||||
'geo_latitude' => array(),
|
||||
'geo_longitude' => array(),
|
||||
'geo_public' => array(),
|
||||
'geolocated' => array(),
|
||||
'geolocation_city' => array( 'searchable_in_all_content' => true ),
|
||||
'geolocation_country_long' => array( 'searchable_in_all_content' => true ),
|
||||
'geolocation_country_short' => array( 'searchable_in_all_content' => true ),
|
||||
'geolocation_formatted_address' => array( 'searchable_in_all_content' => true ),
|
||||
'geolocation_lat' => array(),
|
||||
'geolocation_long' => array(),
|
||||
'geolocation_postcode' => array( 'searchable_in_all_content' => true ),
|
||||
'geolocation_state_long' => array( 'searchable_in_all_content' => true ),
|
||||
'geolocation_state_short' => array( 'searchable_in_all_content' => true ),
|
||||
'geo_address' => array( 'searchable_in_all_content' => true ),
|
||||
'geo_latitude' => array(),
|
||||
'geo_longitude' => array(),
|
||||
'geo_public' => array(),
|
||||
'geolocated' => array(),
|
||||
'geolocation_city' => array( 'searchable_in_all_content' => true ),
|
||||
'geolocation_country_long' => array( 'searchable_in_all_content' => true ),
|
||||
'geolocation_country_short' => array( 'searchable_in_all_content' => true ),
|
||||
'geolocation_formatted_address' => array( 'searchable_in_all_content' => true ),
|
||||
'geolocation_lat' => array(),
|
||||
'geolocation_long' => array(),
|
||||
'geolocation_postcode' => array( 'searchable_in_all_content' => true ),
|
||||
'geolocation_state_long' => array( 'searchable_in_all_content' => true ),
|
||||
'geolocation_state_short' => array( 'searchable_in_all_content' => true ),
|
||||
|
||||
// wp-ultimate-recipe.
|
||||
'recipe_alternate_image' => array(),
|
||||
'recipe_cook_time' => array(),
|
||||
'recipe_cook_time_text' => array(),
|
||||
'recipe_description' => array( 'searchable_in_all_content' => true ),
|
||||
'recipe_ingredients' => array( 'searchable_in_all_content' => true ),
|
||||
'recipe_instructions' => array( 'searchable_in_all_content' => true ),
|
||||
'recipe_notes' => array( 'searchable_in_all_content' => true ),
|
||||
'recipe_nutritional' => array( 'searchable_in_all_content' => true ),
|
||||
'recipe_passive_time' => array(),
|
||||
'recipe_passive_time_text' => array(),
|
||||
'recipe_prep_time' => array(),
|
||||
'recipe_prep_time_text' => array(),
|
||||
'recipe_rating' => array(),
|
||||
'recipe_servings' => array(),
|
||||
'recipe_servings_normalized' => array(),
|
||||
'recipe_servings_type' => array(),
|
||||
'recipe_terms' => array( 'searchable_in_all_content' => true ),
|
||||
'recipe_terms_with_parents' => array(),
|
||||
'recipe_title' => array( 'searchable_in_all_content' => true ),
|
||||
'recipe_user_ratings' => array(),
|
||||
'recipe_user_ratings_rating' => array(),
|
||||
'recipe_alternate_image' => array(),
|
||||
'recipe_cook_time' => array(),
|
||||
'recipe_cook_time_text' => array(),
|
||||
'recipe_description' => array( 'searchable_in_all_content' => true ),
|
||||
'recipe_ingredients' => array( 'searchable_in_all_content' => true ),
|
||||
'recipe_instructions' => array( 'searchable_in_all_content' => true ),
|
||||
'recipe_notes' => array( 'searchable_in_all_content' => true ),
|
||||
'recipe_nutritional' => array( 'searchable_in_all_content' => true ),
|
||||
'recipe_passive_time' => array(),
|
||||
'recipe_passive_time_text' => array(),
|
||||
'recipe_prep_time' => array(),
|
||||
'recipe_prep_time_text' => array(),
|
||||
'recipe_rating' => array(),
|
||||
'recipe_servings' => array(),
|
||||
'recipe_servings_normalized' => array(),
|
||||
'recipe_servings_type' => array(),
|
||||
'recipe_terms' => array( 'searchable_in_all_content' => true ),
|
||||
'recipe_terms_with_parents' => array(),
|
||||
'recipe_title' => array( 'searchable_in_all_content' => true ),
|
||||
'recipe_user_ratings' => array(),
|
||||
'recipe_user_ratings_rating' => array(),
|
||||
|
||||
// generic fields.
|
||||
// from advanced-custom-fields and metabox.io .
|
||||
'Link' => array(),
|
||||
'Location' => array(),
|
||||
'Title' => array( 'searchable_in_all_content' => true ),
|
||||
'ad_code' => array(),
|
||||
'address' => array(),
|
||||
'admin_mail' => array(),
|
||||
'admin_only' => array(),
|
||||
'advertisers' => array( 'searchable_in_all_content' => true ),
|
||||
'age' => array(),
|
||||
'aliases' => array(),
|
||||
'alternate_title' => array(),
|
||||
'amazon' => array(),
|
||||
'answer' => array( 'searchable_in_all_content' => true ),
|
||||
'area' => array(),
|
||||
'attention' => array(),
|
||||
'attr' => array(),
|
||||
'author' => array( 'searchable_in_all_content' => true ),
|
||||
'author_name' => array( 'searchable_in_all_content' => true ),
|
||||
'blog' => array(),
|
||||
'blog_id' => array(),
|
||||
'call_to_action' => array(),
|
||||
'campaign_preview' => array(),
|
||||
'canonical_url' => array(),
|
||||
'catch_text' => array(),
|
||||
'category' => array( 'searchable_in_all_content' => true ),
|
||||
'classificacao' => array(),
|
||||
'classification' => array(),
|
||||
'code' => array(),
|
||||
'codigo' => array(),
|
||||
'company' => array( 'searchable_in_all_content' => true ),
|
||||
'company_website' => array(),
|
||||
'config' => array(),
|
||||
'construction' => array(),
|
||||
'container_ids' => array(),
|
||||
'content' => array( 'searchable_in_all_content' => true ),
|
||||
'content_body-full_content' => array( 'searchable_in_all_content' => true ),
|
||||
'copyright' => array(),
|
||||
'custom_page_title' => array( 'searchable_in_all_content' => true ),
|
||||
'custom_permalink' => array(),
|
||||
'customize' => array(),
|
||||
'data' => array(),
|
||||
'date' => array(),
|
||||
'day' => array(),
|
||||
'descripcion' => array( 'searchable_in_all_content' => true ),
|
||||
'description' => array( 'searchable_in_all_content' => true ),
|
||||
'display_settings' => array(),
|
||||
'display_type' => array(),
|
||||
'duration' => array(),
|
||||
'embed' => array(),
|
||||
'entity_ids' => array(),
|
||||
'entity_types' => array(),
|
||||
'event_subtitle' => array( 'searchable_in_all_content' => true ),
|
||||
'excluded_container_ids' => array(),
|
||||
'exclusions' => array(),
|
||||
'experience' => array(),
|
||||
'external_url' => array(),
|
||||
'featured' => array(),
|
||||
'featured_image' => array(),
|
||||
'featured_post' => array(),
|
||||
'featured_story' => array(),
|
||||
'fee' => array(),
|
||||
'filter' => array(),
|
||||
'follow' => array(),
|
||||
'footer_text' => array(),
|
||||
'from_header' => array(),
|
||||
'fullscreen_view' => array(),
|
||||
'gallery' => array(),
|
||||
'genre' => array( 'searchable_in_all_content' => true ),
|
||||
'guests' => array( 'searchable_in_all_content' => true ),
|
||||
'has_variations' => array(),
|
||||
'hashtag' => array(),
|
||||
'header_image' => array(),
|
||||
'hidden_from_ui' => array(),
|
||||
'hide_on_screen' => array(),
|
||||
'homepage_order' => array(),
|
||||
'hours' => array(),
|
||||
'i18n' => array(),
|
||||
'id' => array(),
|
||||
'image' => array(),
|
||||
'image_size' => array(),
|
||||
'image_source' => array(),
|
||||
'index' => array(),
|
||||
'intro_text' => array( 'searchable_in_all_content' => true ),
|
||||
'job_mention' => array( 'searchable_in_all_content' => true ),
|
||||
'keywords' => array( 'searchable_in_all_content' => true ),
|
||||
'latest_news' => array(),
|
||||
'layout' => array(),
|
||||
'link' => array(),
|
||||
'link_dump' => array( 'searchable_in_all_content' => true ),
|
||||
'link_url' => array(),
|
||||
'location' => array(),
|
||||
'logo' => array(),
|
||||
'main_title' => array( 'searchable_in_all_content' => true ),
|
||||
'maximum_entity_count' => array(),
|
||||
'media' => array(),
|
||||
'mentions' => array(),
|
||||
'messages' => array(),
|
||||
'meta_description' => array( 'searchable_in_all_content' => true ),
|
||||
'meta_id' => array(),
|
||||
'meta_index' => array(),
|
||||
'meta_key' => array(),
|
||||
'meta_value' => array(),
|
||||
'modal-dialog-id' => array(),
|
||||
'name' => array( 'searchable_in_all_content' => true ),
|
||||
'nombre' => array( 'searchable_in_all_content' => true ),
|
||||
'notes' => array( 'searchable_in_all_content' => true ),
|
||||
'options' => array(),
|
||||
'order_by' => array(),
|
||||
'order_direction' => array(),
|
||||
'original_cats' => array(),
|
||||
'original_headers' => array(),
|
||||
'original_link' => array(),
|
||||
'original_message' => array(),
|
||||
'original_subject' => array(),
|
||||
'original_title' => array(),
|
||||
'original_to' => array(),
|
||||
'other_setting' => array(),
|
||||
'page_canonical' => array(),
|
||||
'page_layout' => array(),
|
||||
'page_sidebar' => array(),
|
||||
'page_tags' => array(),
|
||||
'panels_data' => array(),
|
||||
'parking' => array(),
|
||||
'pdf_upload' => array(),
|
||||
'photo' => array(),
|
||||
'play_time' => array(),
|
||||
'position' => array(),
|
||||
'post-rating' => array(),
|
||||
'post_background' => array(),
|
||||
'post_color' => array(),
|
||||
'post_sidebar' => array(),
|
||||
'post_subtitle' => array( 'searchable_in_all_content' => true ),
|
||||
'price' => array(),
|
||||
'publication' => array(),
|
||||
'rating' => array(),
|
||||
'ratings_average' => array(),
|
||||
'ratings_score' => array(),
|
||||
'ratings_users' => array(),
|
||||
'relation' => array(),
|
||||
'reply_to_header' => array(),
|
||||
'required' => array(),
|
||||
'returns' => array(),
|
||||
'review_post' => array(),
|
||||
'rule' => array(),
|
||||
'section' => array( 'searchable_in_all_content' => true ),
|
||||
'session_transcript' => array(),
|
||||
'settings' => array(),
|
||||
'sex' => array(),
|
||||
'shares_count' => array(),
|
||||
'show_description' => array( 'searchable_in_all_content' => true ),
|
||||
'show_page_title' => array(),
|
||||
'side' => array(),
|
||||
'sidebar' => array(),
|
||||
'site' => array(),
|
||||
'situation' => array(),
|
||||
'slide_template' => array(),
|
||||
'slug' => array(),
|
||||
'sortorder' => array(),
|
||||
'source' => array(),
|
||||
'start_date' => array(),
|
||||
'status' => array(),
|
||||
'styles' => array(),
|
||||
'subtitle' => array( 'searchable_in_all_content' => true ),
|
||||
'subtitulo' => array(),
|
||||
'success' => array(),
|
||||
'summary' => array( 'searchable_in_all_content' => true ),
|
||||
'synopsis' => array( 'searchable_in_all_content' => true ),
|
||||
'tel' => array(),
|
||||
'tema' => array(),
|
||||
'testimonial' => array(),
|
||||
'testimonial_author' => array(),
|
||||
'text_already_subscribed' => array(),
|
||||
'text_error' => array(),
|
||||
'text_invalid_email' => array(),
|
||||
'text_not_subscribed' => array(),
|
||||
'text_required_field_missing' => array(),
|
||||
'text_subscribed' => array(),
|
||||
'text_unsubscribed' => array(),
|
||||
'thumbnail' => array(),
|
||||
'time' => array(),
|
||||
'time_jump_list' => array( 'searchable_in_all_content' => true ),
|
||||
'title' => array( 'searchable_in_all_content' => true ),
|
||||
'title_view' => array(),
|
||||
'titre' => array( 'searchable_in_all_content' => true ),
|
||||
'titulo' => array( 'searchable_in_all_content' => true ),
|
||||
'to_header' => array(),
|
||||
'toc' => array(),
|
||||
'transcript' => array( 'searchable_in_all_content' => true ),
|
||||
'transport_uri' => array(),
|
||||
'type' => array(),
|
||||
'url' => array(),
|
||||
'validation' => array(),
|
||||
'value' => array(),
|
||||
'values' => array(),
|
||||
'variation' => array(),
|
||||
'video' => array(),
|
||||
'video_type' => array(),
|
||||
'video_url' => array(),
|
||||
'videopress_guid' => array(),
|
||||
'website' => array(),
|
||||
'weight' => array(),
|
||||
'year' => array(),
|
||||
'Link' => array(),
|
||||
'Location' => array(),
|
||||
'Title' => array( 'searchable_in_all_content' => true ),
|
||||
'ad_code' => array(),
|
||||
'address' => array(),
|
||||
'admin_mail' => array(),
|
||||
'admin_only' => array(),
|
||||
'advertisers' => array( 'searchable_in_all_content' => true ),
|
||||
'age' => array(),
|
||||
'aliases' => array(),
|
||||
'alternate_title' => array(),
|
||||
'amazon' => array(),
|
||||
'answer' => array( 'searchable_in_all_content' => true ),
|
||||
'area' => array(),
|
||||
'attention' => array(),
|
||||
'attr' => array(),
|
||||
'author' => array( 'searchable_in_all_content' => true ),
|
||||
'author_name' => array( 'searchable_in_all_content' => true ),
|
||||
'blog' => array(),
|
||||
'blog_id' => array(),
|
||||
'call_to_action' => array(),
|
||||
'campaign_preview' => array(),
|
||||
'canonical_url' => array(),
|
||||
'catch_text' => array(),
|
||||
'category' => array( 'searchable_in_all_content' => true ),
|
||||
'classificacao' => array(),
|
||||
'classification' => array(),
|
||||
'code' => array(),
|
||||
'codigo' => array(),
|
||||
'company' => array( 'searchable_in_all_content' => true ),
|
||||
'company_website' => array(),
|
||||
'config' => array(),
|
||||
'construction' => array(),
|
||||
'container_ids' => array(),
|
||||
'content' => array( 'searchable_in_all_content' => true ),
|
||||
'content_body-full_content' => array( 'searchable_in_all_content' => true ),
|
||||
'copyright' => array(),
|
||||
'custom_page_title' => array( 'searchable_in_all_content' => true ),
|
||||
'custom_permalink' => array(),
|
||||
'customize' => array(),
|
||||
'data' => array(),
|
||||
'date' => array(),
|
||||
'day' => array(),
|
||||
'descripcion' => array( 'searchable_in_all_content' => true ),
|
||||
'description' => array( 'searchable_in_all_content' => true ),
|
||||
'display_settings' => array(),
|
||||
'display_type' => array(),
|
||||
'duration' => array(),
|
||||
'embed' => array(),
|
||||
'entity_ids' => array(),
|
||||
'entity_types' => array(),
|
||||
'event_subtitle' => array( 'searchable_in_all_content' => true ),
|
||||
'excluded_container_ids' => array(),
|
||||
'exclusions' => array(),
|
||||
'experience' => array(),
|
||||
'external_url' => array(),
|
||||
'featured' => array(),
|
||||
'featured_image' => array(),
|
||||
'featured_post' => array(),
|
||||
'featured_story' => array(),
|
||||
'fee' => array(),
|
||||
'filter' => array(),
|
||||
'follow' => array(),
|
||||
'footer_text' => array(),
|
||||
'from_header' => array(),
|
||||
'fullscreen_view' => array(),
|
||||
'gallery' => array(),
|
||||
'genre' => array( 'searchable_in_all_content' => true ),
|
||||
'guests' => array( 'searchable_in_all_content' => true ),
|
||||
'has_variations' => array(),
|
||||
'hashtag' => array(),
|
||||
'header_image' => array(),
|
||||
'hidden_from_ui' => array(),
|
||||
'hide_on_screen' => array(),
|
||||
'homepage_order' => array(),
|
||||
'hours' => array(),
|
||||
'i18n' => array(),
|
||||
'id' => array(),
|
||||
'image' => array(),
|
||||
'image_size' => array(),
|
||||
'image_source' => array(),
|
||||
'index' => array(),
|
||||
'intro_text' => array( 'searchable_in_all_content' => true ),
|
||||
'job_mention' => array( 'searchable_in_all_content' => true ),
|
||||
'keywords' => array( 'searchable_in_all_content' => true ),
|
||||
'latest_news' => array(),
|
||||
'layout' => array(),
|
||||
'link' => array(),
|
||||
'link_dump' => array( 'searchable_in_all_content' => true ),
|
||||
'link_url' => array(),
|
||||
'location' => array(),
|
||||
'logo' => array(),
|
||||
'main_title' => array( 'searchable_in_all_content' => true ),
|
||||
'maximum_entity_count' => array(),
|
||||
'media' => array(),
|
||||
'mentions' => array(),
|
||||
'messages' => array(),
|
||||
'meta_description' => array( 'searchable_in_all_content' => true ),
|
||||
'meta_id' => array(),
|
||||
'meta_index' => array(),
|
||||
'meta_key' => array(),
|
||||
'meta_value' => array(),
|
||||
'modal-dialog-id' => array(),
|
||||
'name' => array( 'searchable_in_all_content' => true ),
|
||||
'nombre' => array( 'searchable_in_all_content' => true ),
|
||||
'notes' => array( 'searchable_in_all_content' => true ),
|
||||
'options' => array(),
|
||||
'order_by' => array(),
|
||||
'order_direction' => array(),
|
||||
'original_cats' => array(),
|
||||
'original_headers' => array(),
|
||||
'original_link' => array(),
|
||||
'original_message' => array(),
|
||||
'original_subject' => array(),
|
||||
'original_title' => array(),
|
||||
'original_to' => array(),
|
||||
'other_setting' => array(),
|
||||
'page_canonical' => array(),
|
||||
'page_layout' => array(),
|
||||
'page_sidebar' => array(),
|
||||
'page_tags' => array(),
|
||||
'panels_data' => array(),
|
||||
'parking' => array(),
|
||||
'pdf_upload' => array(),
|
||||
'photo' => array(),
|
||||
'play_time' => array(),
|
||||
'position' => array(),
|
||||
'post-rating' => array(),
|
||||
'post_background' => array(),
|
||||
'post_color' => array(),
|
||||
'post_sidebar' => array(),
|
||||
'post_subtitle' => array( 'searchable_in_all_content' => true ),
|
||||
'price' => array(),
|
||||
'publication' => array(),
|
||||
'rating' => array(),
|
||||
'ratings_average' => array(),
|
||||
'ratings_score' => array(),
|
||||
'ratings_users' => array(),
|
||||
'relation' => array(),
|
||||
'reply_to_header' => array(),
|
||||
'required' => array(),
|
||||
'returns' => array(),
|
||||
'review_post' => array(),
|
||||
'rule' => array(),
|
||||
'section' => array( 'searchable_in_all_content' => true ),
|
||||
'session_transcript' => array(),
|
||||
'settings' => array(),
|
||||
'sex' => array(),
|
||||
'shares_count' => array(),
|
||||
'show_description' => array( 'searchable_in_all_content' => true ),
|
||||
'show_page_title' => array(),
|
||||
'side' => array(),
|
||||
'sidebar' => array(),
|
||||
'site' => array(),
|
||||
'situation' => array(),
|
||||
'slide_template' => array(),
|
||||
'slug' => array(),
|
||||
'sortorder' => array(),
|
||||
'source' => array(),
|
||||
'start_date' => array(),
|
||||
'status' => array(),
|
||||
'styles' => array(),
|
||||
'subtitle' => array( 'searchable_in_all_content' => true ),
|
||||
'subtitulo' => array(),
|
||||
'success' => array(),
|
||||
'summary' => array( 'searchable_in_all_content' => true ),
|
||||
'synopsis' => array( 'searchable_in_all_content' => true ),
|
||||
'tel' => array(),
|
||||
'tema' => array(),
|
||||
'testimonial' => array(),
|
||||
'testimonial_author' => array(),
|
||||
'text_already_subscribed' => array(),
|
||||
'text_error' => array(),
|
||||
'text_invalid_email' => array(),
|
||||
'text_not_subscribed' => array(),
|
||||
'text_required_field_missing' => array(),
|
||||
'text_subscribed' => array(),
|
||||
'text_unsubscribed' => array(),
|
||||
'thumbnail' => array(),
|
||||
'time' => array(),
|
||||
'time_jump_list' => array( 'searchable_in_all_content' => true ),
|
||||
'title' => array( 'searchable_in_all_content' => true ),
|
||||
'title_view' => array(),
|
||||
'titre' => array( 'searchable_in_all_content' => true ),
|
||||
'titulo' => array( 'searchable_in_all_content' => true ),
|
||||
'to_header' => array(),
|
||||
'toc' => array(),
|
||||
'transcript' => array( 'searchable_in_all_content' => true ),
|
||||
'transport_uri' => array(),
|
||||
'type' => array(),
|
||||
'url' => array(),
|
||||
'validation' => array(),
|
||||
'value' => array(),
|
||||
'values' => array(),
|
||||
'variation' => array(),
|
||||
'video' => array(),
|
||||
'video_type' => array(),
|
||||
'video_url' => array(),
|
||||
'videopress_guid' => array(),
|
||||
'website' => array(),
|
||||
'weight' => array(),
|
||||
'year' => array(),
|
||||
|
||||
// wp.com martketplace search - @see https://wp.me/pdh6GB-Ax#comment-2104
|
||||
'_app_icon' => array(),
|
||||
'_featured_product_video' => array(),
|
||||
'wpcom_marketplace_org_slug' => array(),
|
||||
'_wc_general_product_dependency_theme' => array(),
|
||||
'_wc_general_product_dependency_plugin' => array(),
|
||||
'_app_icon' => array(),
|
||||
'_featured_product_video' => array(),
|
||||
'wpcom_marketplace_org_slug' => array(),
|
||||
'_wc_general_product_dependency_theme' => array(),
|
||||
'_wc_general_product_dependency_plugin' => array(),
|
||||
'wpcom_marketplace_product_extra_fields' => array(),
|
||||
|
||||
); // end indexed post meta.
|
||||
|
||||
@ -1014,6 +1015,7 @@ class Search extends Module {
|
||||
'product-brand',
|
||||
'product_brand',
|
||||
'product-category',
|
||||
'product_cat',
|
||||
'product_delivery_time',
|
||||
'product_delivery_times',
|
||||
'product_price_label',
|
||||
@ -1083,6 +1085,7 @@ class Search extends Module {
|
||||
'attachment_category',
|
||||
'attachment_tag',
|
||||
'atum_location',
|
||||
'audience_type',
|
||||
'avhec_catgroup',
|
||||
'bartype',
|
||||
'baths',
|
||||
@ -1092,6 +1095,8 @@ class Search extends Module {
|
||||
'booked_custom_calendars',
|
||||
'brand',
|
||||
'brands',
|
||||
'business',
|
||||
'business_cat',
|
||||
'business_category',
|
||||
'bwg_tag',
|
||||
'byline',
|
||||
@ -1154,6 +1159,7 @@ class Search extends Module {
|
||||
'dlm_download_tag',
|
||||
'doc_tag',
|
||||
'document-category',
|
||||
'document-type',
|
||||
'download_artist',
|
||||
'download_category',
|
||||
'download_tag',
|
||||
@ -1241,6 +1247,7 @@ class Search extends Module {
|
||||
'incsub_wiki_category',
|
||||
'industry',
|
||||
'ingredient',
|
||||
'insight-type',
|
||||
'issue',
|
||||
'issuem_issue',
|
||||
'issuem_issue_tags',
|
||||
@ -1302,6 +1309,8 @@ class Search extends Module {
|
||||
'muviyear',
|
||||
'news-category',
|
||||
'news-tag',
|
||||
'news-type',
|
||||
'news_type_cat',
|
||||
'news_category',
|
||||
'nova_menu',
|
||||
'nova_menu_item_label',
|
||||
@ -1318,6 +1327,7 @@ class Search extends Module {
|
||||
'pdf_lv_tag',
|
||||
'pec_events_category',
|
||||
'people',
|
||||
'people-department',
|
||||
'people-expertise',
|
||||
'people-location',
|
||||
'perfect_quotes_category',
|
||||
@ -1350,6 +1360,7 @@ class Search extends Module {
|
||||
'portcat',
|
||||
'portfolio-category',
|
||||
'portfolio-gallery',
|
||||
'portfolio-status',
|
||||
'portfolio-skills',
|
||||
'portfolio-tag',
|
||||
'portfolio-tags',
|
||||
@ -1378,6 +1389,8 @@ class Search extends Module {
|
||||
'pricingcats',
|
||||
'print_section',
|
||||
'print_status',
|
||||
'product_asset_class',
|
||||
'product_name',
|
||||
'programs',
|
||||
'project-attributes',
|
||||
'project-cat',
|
||||
@ -1407,6 +1420,7 @@ class Search extends Module {
|
||||
'pwb-brand',
|
||||
'qmn_log_type',
|
||||
'qualification',
|
||||
'qualifications',
|
||||
'quality',
|
||||
'question-category',
|
||||
'question-tag',
|
||||
@ -1636,6 +1650,7 @@ class Search extends Module {
|
||||
'wcs-room',
|
||||
'wcs-type',
|
||||
'wdca_ad_categories',
|
||||
'webinar_type_cat',
|
||||
'where',
|
||||
'who',
|
||||
'wiki-category',
|
||||
|
Reference in New Issue
Block a user