Complex expressions

Here is the list of the most complex expressions used in the code. A complex expression is an expression that requires more than 20 tokens to be build.

Literal arrays are omitted.

File Count Expression
/src/integrations/blocks/structured-data-blocks.php:1001\register_block_type('yoast/how-to-block', ['render_callback' => [$this, 'optimize_how_to_images'], 'attributes' => ['hasDuration' => ['type' => 'boolean', ], 'days' => ['type' => 'string', ], 'hours' => ['type' => 'string', ], 'minutes' => ['type' => 'string', ], 'description' => ['type' => 'array', 'source' => 'children', 'selector' => '.schema-how-to-description', ], 'jsonDescription' => ['type' => 'string', ], 'steps' => ['type' => 'array', ], 'additionalListCssClasses' => ['type' => 'string', ], 'unorderedList' => ['type' => 'boolean', ], 'durationText' => ['type' => 'string', ], 'defaultDurationText' => ['type' => 'string', ], ], ])
/src/presentations/indexable-post-type-presentation.php:3111\array_merge($robots, ['imageindex' => ($this->model->is_robots_noimageindex === true) ? 'noimageindex' : null, 'archive' => ($this->model->is_robots_noarchive === true) ? 'noarchive' : null, 'snippet' => ($this->model->is_robots_nosnippet === true) ? 'nosnippet' : null, ])
/src/config/schema-types.php:1231\apply_filters('wpseo_schema_article_types_labels', [['name' => \__('Article', 'wordpress-seo'), 'value' => 'Article', ], ['name' => \__('Blog Post', 'wordpress-seo'), 'value' => 'BlogPosting', ], ['name' => \__('Social Media Posting', 'wordpress-seo'), 'value' => 'SocialMediaPosting', ], ['name' => \__('News Article', 'wordpress-seo'), 'value' => 'NewsArticle', ], ['name' => \__('Advertiser Content Article', 'wordpress-seo'), 'value' => 'AdvertiserContentArticle', ], ['name' => \__('Satirical Article', 'wordpress-seo'), 'value' => 'SatiricalArticle', ], ['name' => \__('Scholarly Article', 'wordpress-seo'), 'value' => 'ScholarlyArticle', ], ['name' => \__('Tech Article', 'wordpress-seo'), 'value' => 'TechArticle', ], ['name' => \__('Report', 'wordpress-seo'), 'value' => 'Report', ], ['name' => \__('None', 'wordpress-seo'), 'value' => 'None', ], ])
/src/actions/wincher/wincher-keyphrases-action.php:2811\array_column($this->indexable_repository->query( )->select('primary_focus_keyword')->where_not_null('primary_focus_keyword')->where('object_type', 'post')->where_not_equal('post_status', 'trash')->distinct( )->find_array( ), 'primary_focus_keyword')
/src/introductions/user-interface/introductions-seen-route.php:761\register_rest_route(Main::API_V1_NAMESPACE, self::ROUTE_PREFIX, [['methods' => 'POST', 'callback' => [$this, 'set_introduction_seen'], 'permission_callback' => [$this, 'permission_edit_posts'], 'args' => ['introduction_id' => ['required' => true, 'type' => 'string', 'sanitize_callback' => 'sanitize_text_field', ], 'is_seen' => ['required' => false, 'type' => 'bool', 'default' => true, 'sanitize_callback' => 'rest_sanitize_boolean', ], ], ], ])
/src/deprecated/src/routes/settings-introduction-route.php:1001\register_rest_route(Main::API_V1_NAMESPACE, self::WISTIA_EMBED_PERMISSION, [['methods' => 'GET', 'callback' => [$this, 'get_wistia_embed_permission'], 'permission_callback' => [$this, 'permission_manage_options'], ], ['methods' => 'POST', 'callback' => [$this, 'set_wistia_embed_permission'], 'permission_callback' => [$this, 'permission_manage_options'], 'args' => ['value' => ['required' => true, 'type' => 'bool', ], ], ], ])
/src/integrations/admin/helpscout-beacon.php:2111\array_merge(['name' => \trim($current_user->user_firstname . ' ' . $current_user->user_lastname), 'email' => $current_user->user_email, 'Languages' => $this->get_language_settings( ), ], $this->get_server_info( ), ['WordPress Version' => $this->get_wordpress_version( ), 'Active theme' => $this->get_theme_info( ), 'Active plugins' => $this->get_active_plugins( ), 'Must-use and dropins' => $this->get_mustuse_and_dropins( ), 'Indexables status' => $this->get_indexables_status( ), ])
/src/introductions/user-interface/wistia-embed-permission-route.php:631\register_rest_route(Main::API_V1_NAMESPACE, self::ROUTE_PREFIX, [['methods' => 'GET', 'callback' => [$this, 'get_wistia_embed_permission'], 'permission_callback' => [$this, 'permission_edit_posts'], ], ['methods' => 'POST', 'callback' => [$this, 'set_wistia_embed_permission'], 'permission_callback' => [$this, 'permission_edit_posts'], 'args' => ['value' => ['required' => false, 'type' => 'bool', 'default' => true, ], ], ], ])
/src/deprecated/src/routes/settings-introduction-route.php:1231\register_rest_route(Main::API_V1_NAMESPACE, self::SHOW, [['methods' => 'GET', 'callback' => [$this, 'get_show'], 'permission_callback' => [$this, 'permission_manage_options'], ], ['methods' => 'POST', 'callback' => [$this, 'set_show'], 'permission_callback' => [$this, 'permission_manage_options'], 'args' => ['value' => ['required' => true, 'type' => 'bool', ], ], ], ])
/src/integrations/third-party/elementor.php:7741\implode(' ', [\YoastSEO( )->meta->for_post($post->ID)->presentation->title, \YoastSEO( )->meta->for_post($post->ID)->presentation->meta_description, ])
/admin/class-bulk-editor-list-table.php:10341array_merge(['col_page_title' => __('WP Page Title', 'wordpress-seo'), 'col_post_type' => __('Content Type', 'wordpress-seo'), 'col_post_status' => __('Post Status', 'wordpress-seo'), 'col_post_date' => __('Publication date', 'wordpress-seo'), 'col_page_slug' => __('Page URL/Slug', 'wordpress-seo'), ], $columns)
/admin/class-admin.php:3511array_merge(['isRtl' => is_rtl( ), 'variable_warning' => sprintf(__('Warning: the variable %1$s cannot be used in this template. See the %2$s for more info.', 'wordpress-seo'), '<code>%s</code>', 'HelpScout beacon'), 'help_video_iframe_title' => sprintf(__('%s video tutorial', 'wordpress-seo'), 'Yoast SEO'), 'scrollable_table_hint' => __('Scroll to see the table content.', 'wordpress-seo'), 'wincher_is_logged_in' => WPSEO_Options::get('wincher_integration_active', true) ? YoastSEO( )->helpers->wincher->login_status( ) : false, ], YoastSEO( )->helpers->wincher->get_admin_global_links( ))
/inc/class-wpseo-replace-vars.php:14691$replacement_variables = [new WPSEO_Replacement_Variable('date', __('Date', 'wordpress-seo'), __('Replaced with the date of the post/page', 'wordpress-seo')), new WPSEO_Replacement_Variable('title', __('Title', 'wordpress-seo'), __('Replaced with the title of the post/page', 'wordpress-seo')), new WPSEO_Replacement_Variable('parent_title', __('Parent title', 'wordpress-seo'), __('Replaced with the title of the parent page of the current page', 'wordpress-seo')), new WPSEO_Replacement_Variable('archive_title', __('Archive title', 'wordpress-seo'), __('Replaced with the normal title for an archive generated by WordPress', 'wordpress-seo')), new WPSEO_Replacement_Variable('sitename', __('Site title', 'wordpress-seo'), __('The site\'s name', 'wordpress-seo')), new WPSEO_Replacement_Variable('sitedesc', __('Tagline', 'wordpress-seo'), __('The site\'s tagline', 'wordpress-seo')), new WPSEO_Replacement_Variable('excerpt', __('Excerpt', 'wordpress-seo'), __('Replaced with the post/page excerpt (or auto-generated if it does not exist)', 'wordpress-seo')), new WPSEO_Replacement_Variable('excerpt_only', __('Excerpt only', 'wordpress-seo'), __('Replaced with the post/page excerpt (without auto-generation)', 'wordpress-seo')), new WPSEO_Replacement_Variable('tag', __('Tag', 'wordpress-seo'), __('Replaced with the current tag/tags', 'wordpress-seo')), new WPSEO_Replacement_Variable('category', __('Category', 'wordpress-seo'), __('Replaced with the post categories (comma separated)', 'wordpress-seo')), new WPSEO_Replacement_Variable('primary_category', __('Primary category', 'wordpress-seo'), __('Replaced with the primary category of the post/page', 'wordpress-seo')), new WPSEO_Replacement_Variable('category_description', __('Category description', 'wordpress-seo'), __('Replaced with the category description', 'wordpress-seo')), new WPSEO_Replacement_Variable('tag_description', __('Tag description', 'wordpress-seo'), __('Replaced with the tag description', 'wordpress-seo')), new WPSEO_Replacement_Variable('term_description', __('Term description', 'wordpress-seo'), __('Replaced with the term description', 'wordpress-seo')), new WPSEO_Replacement_Variable('term_title', __('Term title', 'wordpress-seo'), __('Replaced with the term name', 'wordpress-seo')), new WPSEO_Replacement_Variable('searchphrase', __('Search phrase', 'wordpress-seo'), __('Replaced with the current search phrase', 'wordpress-seo')), new WPSEO_Replacement_Variable('term_hierarchy', __('Term hierarchy', 'wordpress-seo'), __('Replaced with the term ancestors hierarchy', 'wordpress-seo')), new WPSEO_Replacement_Variable('sep', __('Separator', 'wordpress-seo'), $separator_description), new WPSEO_Replacement_Variable('currentdate', __('Current date', 'wordpress-seo'), __('Replaced with the current date', 'wordpress-seo')), new WPSEO_Replacement_Variable('currentyear', __('Current year', 'wordpress-seo'), __('Replaced with the current year', 'wordpress-seo')), new WPSEO_Replacement_Variable('currentmonth', __('Current month', 'wordpress-seo'), __('Replaced with the current month', 'wordpress-seo')), new WPSEO_Replacement_Variable('currentday', __('Current day', 'wordpress-seo'), __('Replaced with the current day', 'wordpress-seo')), new WPSEO_Replacement_Variable('post_year', __('Post year', 'wordpress-seo'), __('Replaced with the year the post was published', 'wordpress-seo')), new WPSEO_Replacement_Variable('post_month', __('Post month', 'wordpress-seo'), __('Replaced with the month the post was published', 'wordpress-seo')), new WPSEO_Replacement_Variable('post_day', __('Post day', 'wordpress-seo'), __('Replaced with the day the post was published', 'wordpress-seo')), new WPSEO_Replacement_Variable('author_first_name', __('Author first name', 'wordpress-seo'), __('Replaced with the first name of the author', 'wordpress-seo')), new WPSEO_Replacement_Variable('author_last_name', __('Author last name', 'wordpress-seo'), __('Replaced with the last name of the author', 'wordpress-seo')), new WPSEO_Replacement_Variable('permalink', __('Permalink', 'wordpress-seo'), __('Replaced with the permalink', 'wordpress-seo')), new WPSEO_Replacement_Variable('post_content', __('Post Content', 'wordpress-seo'), __('Replaced with the post content', 'wordpress-seo')), new WPSEO_Replacement_Variable('category_title', __('Category Title', 'wordpress-seo'), __('Current or first category title', 'wordpress-seo')), ]
/inc/class-wpseo-replace-vars.php:15131$replacement_variables = [new WPSEO_Replacement_Variable('pt_single', __('Post type (singular)', 'wordpress-seo'), __('Replaced with the content type single label', 'wordpress-seo')), new WPSEO_Replacement_Variable('pt_plural', __('Post type (plural)', 'wordpress-seo'), __('Replaced with the content type plural label', 'wordpress-seo')), new WPSEO_Replacement_Variable('modified', __('Modified', 'wordpress-seo'), __('Replaced with the post/page modified time', 'wordpress-seo')), new WPSEO_Replacement_Variable('id', __('ID', 'wordpress-seo'), __('Replaced with the post/page ID', 'wordpress-seo')), new WPSEO_Replacement_Variable('name', __('Name', 'wordpress-seo'), __('Replaced with the post/page author\'s \'nicename\'', 'wordpress-seo')), new WPSEO_Replacement_Variable('user_description', __('User description', 'wordpress-seo'), __('Replaced with the post/page author\'s \'Biographical Info\'', 'wordpress-seo')), new WPSEO_Replacement_Variable('page', __('Page', 'wordpress-seo'), __('Replaced with the current page number with context (i.e. page 2 of 4)', 'wordpress-seo')), new WPSEO_Replacement_Variable('pagetotal', __('Pagetotal', 'wordpress-seo'), __('Replaced with the current page total', 'wordpress-seo')), new WPSEO_Replacement_Variable('pagenumber', __('Pagenumber', 'wordpress-seo'), __('Replaced with the current page number', 'wordpress-seo')), new WPSEO_Replacement_Variable('caption', __('Caption', 'wordpress-seo'), __('Attachment caption', 'wordpress-seo')), new WPSEO_Replacement_Variable('focuskw', __('Focus keyword', 'wordpress-seo'), __('Replaced with the posts focus keyphrase', 'wordpress-seo')), new WPSEO_Replacement_Variable('term404', __('Term404', 'wordpress-seo'), __('Replaced with the slug which caused the 404', 'wordpress-seo')), new WPSEO_Replacement_Variable('cf_<custom-field-name>', '<custom-field-name> ' . __('(custom field)', 'wordpress-seo'), __('Replaced with a posts custom field value', 'wordpress-seo')), new WPSEO_Replacement_Variable('ct_<custom-tax-name>', '<custom-tax-name> ' . __('(custom taxonomy)', 'wordpress-seo'), __('Replaced with a posts custom taxonomies, comma separated.', 'wordpress-seo')), new WPSEO_Replacement_Variable('ct_desc_<custom-tax-name>', '<custom-tax-name> ' . __('description (custom taxonomy)', 'wordpress-seo'), __('Replaced with a custom taxonomies description', 'wordpress-seo')), ]
/inc/options/class-wpseo-option-titles.php:9741$separators = ['sc-dash' => ['option' => '-', 'label' => __('Dash', 'wordpress-seo'), ], 'sc-ndash' => ['option' => '&#8211;', 'label' => __('En dash', 'wordpress-seo'), ], 'sc-mdash' => ['option' => '&#8212;', 'label' => __('Em dash', 'wordpress-seo'), ], 'sc-colon' => ['option' => ':', 'label' => __('Colon', 'wordpress-seo'), ], 'sc-middot' => ['option' => '&#183;', 'label' => __('Middle dot', 'wordpress-seo'), ], 'sc-bull' => ['option' => '&#8226;', 'label' => __('Bullet', 'wordpress-seo'), ], 'sc-star' => ['option' => '*', 'label' => __('Asterisk', 'wordpress-seo'), ], 'sc-smstar' => ['option' => '&#8902;', 'label' => __('Low asterisk', 'wordpress-seo'), ], 'sc-pipe' => ['option' => '|', 'label' => __('Vertical bar', 'wordpress-seo'), ], 'sc-tilde' => ['option' => '~', 'label' => __('Small tilde', 'wordpress-seo'), ], 'sc-laquo' => ['option' => '&#171;', 'label' => __('Left angle quotation mark', 'wordpress-seo'), ], 'sc-raquo' => ['option' => '&#187;', 'label' => __('Right angle quotation mark', 'wordpress-seo'), ], 'sc-lt' => ['option' => '&#062;', 'label' => __('Less than sign', 'wordpress-seo'), ], 'sc-gt' => ['option' => '&#060;', 'label' => __('Greater than sign', 'wordpress-seo'), ], ]
/inc/class-addon-manager.php:8331return (object) ['renewal_url' => $subscription->renewalUrl, 'expiry_date' => $subscription->expiryDate, 'product' => (object) ['version' => $subscription->product->version, 'name' => $subscription->product->name, 'slug' => $subscription->product->slug, 'last_updated' => $subscription->product->lastUpdated, 'store_url' => $subscription->product->storeUrl, 'download' => ($subscription->product->download ?? null), 'changelog' => $subscription->product->changelog, ], ]
/inc/class-addon-manager.php:5681return (object) ['new_version' => ($subscription->product->version ?? ''), 'name' => $subscription->product->name, 'slug' => $subscription->product->slug, 'plugin' => $plugin_file, 'url' => $subscription->product->store_url, 'last_update' => $subscription->product->last_updated, 'homepage' => $subscription->product->store_url, 'download_link' => $subscription->product->download, 'package' => $subscription->product->download, 'sections' => ['changelog' => $changelog, 'support' => $this->get_support_section( ), ], 'icons' => ['2x' => $this->get_icon($subscription->product->slug), ], 'update_supported' => true, 'banners' => $this->get_banners($subscription->product->slug), 'tested' => YOAST_SEO_WP_TESTED, 'requires' => ($yoast_free_data->requires ?? $defaults['requires']), 'requires_php' => YOAST_SEO_PHP_REQUIRED, ]
/inc/class-wpseo-meta.php:10151$post_ids = $repository->query( )->select('object_id')->where('primary_focus_keyword', $keyword)->where('object_type', 'post')->where_not_equal('object_id', $post_id)->where_not_equal('post_status', 'trash')->limit(2)->find_array( )
/inc/class-wpseo-meta.php:3781$field_defs['meta-robots-noindex']['options']['0'] = sprintf($field_defs['meta-robots-noindex']['options']['0'], ((WPSEO_Options::get('noindex-' . $post_type, false) === true) ? $field_defs['meta-robots-noindex']['options']['1'] : $field_defs['meta-robots-noindex']['options']['2']), $post_type_object->label)
/inc/class-upgrade-history.php:861$results = $wpdb->get_results($wpdb->prepare(' SELECT %i, %i FROM ' . $wpdb->options . ' WHERE %i IN ( ' . implode(',', array_fill(0, count($option_names), '%s')) . ' ) ', array_merge(['option_value', 'option_name', 'option_name'], $option_names)), ARRAY_A)
/inc/class-wpseo-utils.php:8581$wpseo_admin_l10n = ['displayAdvancedTab' => WPSEO_Capability_Utils::current_user_can('wpseo_edit_advanced_metadata') || !WPSEO_Options::get('disableadvanced_meta'), 'noIndex' => (bool) $no_index, 'isPostType' => (bool) get_post_type( ), 'postType' => get_post_type( ), 'postTypeNamePlural' => ($page_type === 'post') ? $label_object->label : $label_object->name, 'postTypeNameSingular' => ($page_type === 'post') ? $label_object->labels->singular_name : $label_object->singular_name, 'isBreadcrumbsDisabled' => WPSEO_Options::get('breadcrumbs-enable', false) !== true && !current_theme_supports('yoast-seo-breadcrumbs'), 'isPrivateBlog' => ((string) get_option('blog_public')) === '0', 'news_seo_is_active' => (defined('WPSEO_NEWS_FILE')), ]
/inc/class-wpseo-rank.php:2311$labels = [self::BAD => sprintf(__('Inclusive language: %s', 'wordpress-seo'), __('Needs improvement', 'wordpress-seo')), self::OK => sprintf(__('Inclusive language: %s', 'wordpress-seo'), __('Potentially non-inclusive', 'wordpress-seo')), self::GOOD => sprintf(__('Inclusive language: %s', 'wordpress-seo'), __('Good', 'wordpress-seo')), ]
/inc/class-wpseo-rank.php:2041$labels = [self::BAD => sprintf(__('Readability: %s', 'wordpress-seo'), __('Needs improvement', 'wordpress-seo')), self::OK => sprintf(__('Readability: %s', 'wordpress-seo'), __('OK', 'wordpress-seo')), self::GOOD => sprintf(__('Readability: %s', 'wordpress-seo'), __('Good', 'wordpress-seo')), ]
/inc/class-wpseo-rank.php:1671$labels = [self::NO_FOCUS => sprintf(__('SEO: %s', 'wordpress-seo'), __('No Focus Keyphrase', 'wordpress-seo')), self::BAD => sprintf(__('SEO: %s', 'wordpress-seo'), __('Needs improvement', 'wordpress-seo')), self::OK => sprintf(__('SEO: %s', 'wordpress-seo'), __('OK', 'wordpress-seo')), self::GOOD => sprintf(__('SEO: %s', 'wordpress-seo'), __('Good', 'wordpress-seo')), self::NO_INDEX => sprintf(__('SEO: %s', 'wordpress-seo'), __('Post Noindexed', 'wordpress-seo')), ]
/inc/class-wpseo-rank.php:1371$labels = [self::NO_FOCUS => __('Not available', 'wordpress-seo'), self::NO_INDEX => __('No index', 'wordpress-seo'), self::BAD => __('Needs improvement', 'wordpress-seo'), self::OK => __('OK', 'wordpress-seo'), self::GOOD => __('Good', 'wordpress-seo'), ]
/inc/class-wpseo-admin-bar-menu.php:5551$submenu_items = [['id' => 'wpseo-yoast-help', 'title' => __('Yoast.com help section', 'wordpress-seo'), 'href' => $this->shortlinker->build_shortlink('https://yoa.st/admin-bar-yoast-help'), ], ['id' => 'wpseo-premium-support', 'title' => __('Yoast Premium support', 'wordpress-seo'), 'href' => $this->shortlinker->build_shortlink('https://yoa.st/admin-bar-premium-support'), ], ['id' => 'wpseo-wp-support-forums', 'title' => __('WordPress.org support forums', 'wordpress-seo'), 'href' => $this->shortlinker->build_shortlink('https://yoa.st/admin-bar-wp-support-forums'), ], ['id' => 'wpseo-learn-seo-2', 'title' => __('Learn more SEO', 'wordpress-seo'), 'href' => $this->shortlinker->build_shortlink('https://yoa.st/admin-bar-learn-more-seo-help'), ], ]
/inc/class-wpseo-admin-bar-menu.php:5111$submenu_items = [['id' => 'wpseo-learn-seo', 'title' => __('Learn more SEO', 'wordpress-seo'), 'href' => $this->shortlinker->build_shortlink('https://yoa.st/admin-bar-learn-more-seo'), ], ['id' => 'wpseo-improve-blogpost', 'title' => __('Improve your blog post', 'wordpress-seo'), 'href' => $this->shortlinker->build_shortlink('https://yoa.st/admin-bar-improve-blog-post'), ], ['id' => 'wpseo-write-better-content', 'title' => __('Write better content', 'wordpress-seo'), 'href' => $this->shortlinker->build_shortlink('https://yoa.st/admin-bar-write-better'), ], ]
/inc/class-wpseo-admin-bar-menu.php:4741$submenu_items = [['id' => 'wpseo-semrush', 'title' => 'Semrush', 'href' => $this->shortlinker->build_shortlink('https://yoa.st/admin-bar-semrush'), ], ['id' => 'wpseo-wincher', 'title' => 'Wincher', 'href' => $this->shortlinker->build_shortlink('https://yoa.st/admin-bar-wincher'), ], ['id' => 'wpseo-google-trends', 'title' => 'Google trends', 'href' => $this->shortlinker->build_shortlink('https://yoa.st/admin-bar-gtrends'), ], ]
/inc/class-wpseo-admin-bar-menu.php:4321$submenu_items = [['id' => 'wpseo-inlinks', 'title' => __('Check links to this URL', 'wordpress-seo'), 'href' => 'https://search.google.com/search-console/links/drilldown?resource_id=' . rawurlencode(get_option('siteurl')) . '&type=EXTERNAL&target=' . $encoded_url . '&domain=', ], ['id' => 'wpseo-structureddata', 'title' => __('Google Rich Results Test', 'wordpress-seo'), 'href' => 'https://search.google.com/test/rich-results?url=' . $encoded_url, ], ['id' => 'wpseo-facebookdebug', 'title' => __('Facebook Debugger', 'wordpress-seo'), 'href' => '//developers.facebook.com/tools/debug/?q=' . $encoded_url, ], ['id' => 'wpseo-pagespeed', 'title' => __('Google Page Speed Test', 'wordpress-seo'), 'href' => '//developers.google.com/speed/pagespeed/insights/?url=' . $encoded_url, ], ]
/inc/class-wpseo-admin-bar-menu.php:3931$admin_bar_menu_args = ['parent' => self::MENU_IDENTIFIER, 'id' => 'wpseo-notifications', 'title' => __('Notifications', 'wordpress-seo') . $counter, 'href' => $settings_url, 'meta' => ['tabindex' => !empty($settings_url) ? false : '0'], ]
/config/php-scoper/psr.inc.php:71return array('finders' => [Finder::create( )->files( )->in('vendor/psr/container')->name(['*.php', 'LICENSE', 'composer.json']), Finder::create( )->files( )->in('vendor/psr/http-client')->name(['*.php', 'LICENSE', 'composer.json']), Finder::create( )->files( )->in('vendor/psr/http-factory')->name(['*.php', 'LICENSE', 'composer.json']), Finder::create( )->files( )->in('vendor/psr/http-message')->name(['*.php', 'LICENSE', 'composer.json']), Finder::create( )->files( )->in('vendor/psr/log')->exclude('Test')->name(['*.php', 'LICENSE', 'composer.json']), ], 'patchers' => [ ], )
/inc/sitemaps/class-author-sitemap-provider.php:931$defaults = ['capability' => ['edit_posts'], 'meta_key' => '_yoast_wpseo_profile_updated', 'orderby' => 'meta_value_num', 'order' => 'DESC', 'meta_query' => ['relation' => 'AND', ['key' => $wpdb->get_blog_prefix( ) . 'user_level', 'value' => '0', 'compare' => '!=', ], ['relation' => 'OR', ['key' => 'wpseo_noindex_author', 'value' => 'on', 'compare' => '!=', ], ['key' => 'wpseo_noindex_author', 'compare' => 'NOT EXISTS', ], ], ], ]
/inc/sitemaps/class-author-sitemap-provider.php:731$index[] = ['loc' => WPSEO_Sitemaps_Router::get_base_url('author-sitemap' . $current_page . '.xml'), 'lastmod' => ($user->_yoast_wpseo_profile_updated) ? YoastSEO( )->helpers->date->format_timestamp($user->_yoast_wpseo_profile_updated) : null, ]
/inc/sitemaps/class-sitemaps.php:5471$dates = $wpdb->get_results($wpdb->prepare(' SELECT %i, MAX(%i) AS %i FROM %i WHERE %i IN (' . implode(', ', array_fill(0, count($post_statuses), '%s')) . ') AND %i IN (' . implode(', ', array_fill(0, count($post_type_names), '%s')) . ') GROUP BY %i ORDER BY %i DESC ', $replacements))
/admin/class-admin.php:3511return array_merge(['isRtl' => is_rtl( ), 'variable_warning' => sprintf(__('Warning: the variable %1$s cannot be used in this template. See the %2$s for more info.', 'wordpress-seo'), '<code>%s</code>', 'HelpScout beacon'), 'help_video_iframe_title' => sprintf(__('%s video tutorial', 'wordpress-seo'), 'Yoast SEO'), 'scrollable_table_hint' => __('Scroll to see the table content.', 'wordpress-seo'), 'wincher_is_logged_in' => WPSEO_Options::get('wincher_integration_active', true) ? YoastSEO( )->helpers->wincher->login_status( ) : false, ], YoastSEO( )->helpers->wincher->get_admin_global_links( ))
/config/php-scoper/dependency-injection.inc.php:71return array('finders' => [Finder::create( )->files( )->in('vendor/symfony/dependency-injection')->name(['Container.php', 'ContainerInterface.php', 'ResettableContainerInterface.php', 'LICENSE', 'composer.json']), Finder::create( )->files( )->in('vendor/symfony/dependency-injection/Argument')->name(['RewindableGenerator.php']), Finder::create( )->files( )->in('vendor/symfony/dependency-injection/Exception')->name(['InvalidArgumentException.php', 'LogicException.php', 'RuntimeException.php', 'ServiceCircularReferenceException.php', 'ServiceNotFoundException.php', 'EnvNotFoundException.php', 'ParameterCircularReferenceException.php', 'ExceptionInterface.php']), Finder::create( )->files( )->in('vendor/symfony/dependency-injection/ParameterBag')->name(['FrozenParameterBag.php', 'ParameterBagInterface.php', 'EnvPlaceholderParameterBag.php', 'ParameterBag.php']), ], 'patchers' => [ ], )
/config/php-scoper/guzzlehttp.inc.php:71return ['finders' => [Finder::create( )->files( )->in('vendor/guzzlehttp/guzzle')->name(['*.php', 'LICENSE', 'composer.json']), Finder::create( )->files( )->in('vendor/guzzlehttp/promises')->exclude('vendor-bin')->name(['*.php', 'LICENSE', 'composer.json']), Finder::create( )->files( )->in('vendor/guzzlehttp/psr7')->name(['*.php', 'LICENSE', 'composer.json']), ], 'patchers' => [function ($file_path, $prefix, $content) { /**/ } , ], ]
/config/php-scoper/deprecation-contracts.inc.php:71return ['finders' => [Finder::create( )->files( )->in('vendor/symfony/deprecation-contracts')->name(['*.php', 'LICENSE', 'composer.json']), ], 'patchers' => [ ], 'files-whitelist' => ['../../vendor/symfony/deprecation-contracts/function.php'], ]
/admin/class-plugin-availability.php:391$this->plugins = ['yoast-seo-premium' => ['url' => WPSEO_Shortlinker::get('https://yoa.st/1y7'), 'title' => 'Yoast SEO Premium', 'description' => sprintf(__('The premium version of %1$s with more features & support.', 'wordpress-seo'), 'Yoast SEO'), 'installed' => false, 'slug' => 'wordpress-seo-premium/wp-seo-premium.php', 'version_sync' => true, 'premium' => true, ], 'video-seo-for-wordpress-seo-by-yoast' => ['url' => WPSEO_Shortlinker::get('https://yoa.st/1y8'), 'title' => 'Video SEO', 'description' => __('Optimize your videos to show them off in search results and get more clicks!', 'wordpress-seo'), 'installed' => false, 'slug' => 'wpseo-video/video-seo.php', 'version_sync' => true, 'premium' => true, ], 'yoast-news-seo' => ['url' => WPSEO_Shortlinker::get('https://yoa.st/1y9'), 'title' => 'News SEO', 'description' => __('Are you in Google News? Increase your traffic from Google News by optimizing for it!', 'wordpress-seo'), 'installed' => false, 'slug' => 'wpseo-news/wpseo-news.php', 'version_sync' => true, 'premium' => true, ], 'local-seo-for-yoast-seo' => ['url' => WPSEO_Shortlinker::get('https://yoa.st/1ya'), 'title' => 'Local SEO', 'description' => __('Rank better locally and in Google Maps, without breaking a sweat!', 'wordpress-seo'), 'installed' => false, 'slug' => 'wordpress-seo-local/local-seo.php', 'version_sync' => true, 'premium' => true, ], 'yoast-woocommerce-seo' => ['url' => WPSEO_Shortlinker::get('https://yoa.st/1o0'), 'title' => 'Yoast WooCommerce SEO', 'description' => sprintf(__('Seamlessly integrate WooCommerce with %1$s and get extra features!', 'wordpress-seo'), 'Yoast SEO'), '_dependencies' => ['WooCommerce' => ['slug' => 'woocommerce/woocommerce.php', 'conditional' => new WooCommerce_Conditional( ), ], ], 'installed' => false, 'slug' => 'wpseo-woocommerce/wpseo-woocommerce.php', 'version_sync' => true, 'premium' => true, ], ]
/admin/class-paper-presenter.php:961$view_variables = ['class' => $this->settings['class'], 'collapsible' => $this->settings['collapsible'], 'collapsible_config' => $this->collapsible_config( ), 'collapsible_header_class' => $this->settings['collapsible_header_class'], 'title_after' => $this->settings['title_after'], 'help_text' => $this->settings['help_text'], 'view_file' => $this->view_file, 'title' => $this->title, 'paper_id' => $this->settings['paper_id'], 'paper_id_prefix' => $this->settings['paper_id_prefix'], 'yform' => Yoast_Form::get_instance( ), ]
/admin/class-premium-upsell-admin-block.php:551$arguments = [sprintf(esc_html__('%1$sAI%2$s: Better SEO titles and meta descriptions, faster.', 'wordpress-seo'), '<strong>', '</strong>'), sprintf(esc_html__('%1$sMultiple keywords%2$s: Rank higher for more searches.', 'wordpress-seo'), '<strong>', '</strong>'), sprintf(esc_html__('%1$sSuper fast%2$s internal linking suggestions.', 'wordpress-seo'), '<strong>', '</strong>'), sprintf(esc_html__('%1$sNo more broken links%2$s: Automatic redirect manager.', 'wordpress-seo'), '<strong>', '</strong>'), sprintf(esc_html__('%1$sAppealing social previews%2$s people actually want to click on.', 'wordpress-seo'), '<strong>', '</strong>'), sprintf(esc_html__('%1$s24/7 support%2$s: Also on evenings and weekends.', 'wordpress-seo'), '<strong>', '</strong>'), '<strong>' . esc_html__('No ads!', 'wordpress-seo') . '</strong>', ]
/admin/class-yoast-dashboard-widget.php:1271return ['feed_header' => sprintf(__('Latest blog posts on %1$s', 'wordpress-seo'), 'Yoast.com'), 'feed_footer' => __('Read more like this on our SEO blog', 'wordpress-seo'), 'wp_version' => substr($GLOBALS['wp_version'], 0, 3) . '-' . (is_plugin_active('classic-editor/classic-editor.php') ? '1' : '0'), 'php_version' => PHP_MAJOR_VERSION . '.' . PHP_MINOR_VERSION, ]
/admin/class-yoast-notifications.php:2541return ['metrics' => ['total' => self::$notification_count, 'active' => self::get_active_notification_count( ), 'errors' => count(self::$errors), 'warnings' => count(self::$warnings), ], 'errors' => ['dismissed' => self::$dismissed_errors, 'active' => self::$active_errors, ], 'warnings' => ['dismissed' => self::$dismissed_warnings, 'active' => self::$active_warnings, ], ]
/admin/class-bulk-editor-list-table.php:10341$columns = array_merge(['col_page_title' => __('WP Page Title', 'wordpress-seo'), 'col_post_type' => __('Content Type', 'wordpress-seo'), 'col_post_status' => __('Post Status', 'wordpress-seo'), 'col_post_date' => __('Publication date', 'wordpress-seo'), 'col_page_slug' => __('Page URL/Slug', 'wordpress-seo'), ], $columns)
/admin/class-bulk-editor-list-table.php:3391$status_links[$status_name] = '<a href="' . esc_url(add_query_arg(['post_status' => $status_name], admin_url('admin.php?page=wpseo_tools&tool=bulk-editor' . $this->page_url))) . '"' . $current_link_attributes . '>' . sprintf(translate_nooped_plural($status->label_count, $total), number_format_i18n($total)) . '</a>'
/admin/class-bulk-editor-list-table.php:1461$this->current_order = ['order' => (!empty($this->input_fields['order'])) ? $this->input_fields['order'] : 'asc', 'orderby' => (!empty($this->input_fields['orderby'])) ? $this->input_fields['orderby'] : 'post_title', ]
/inc/options/class-wpseo-option-ms.php:851$this->defaults = ['access' => 'admin', 'defaultblog' => '', "{$allow_prefix}disableadvanced_meta" => true, "{$allow_prefix}ryte_indexability" => false, "{$allow_prefix}content_analysis_active" => true, "{$allow_prefix}keyword_analysis_active" => true, "{$allow_prefix}inclusive_language_analysis_active" => true, "{$allow_prefix}enable_admin_bar_menu" => true, "{$allow_prefix}enable_cornerstone_content" => true, "{$allow_prefix}enable_xml_sitemap" => true, "{$allow_prefix}enable_text_link_counter" => true, "{$allow_prefix}enable_headless_rest_endpoints" => true, "{$allow_prefix}enable_metabox_insights" => true, "{$allow_prefix}enable_link_suggestions" => true, "{$allow_prefix}tracking" => true, "{$allow_prefix}enable_enhanced_slack_sharing" => true, "{$allow_prefix}semrush_integration_active" => true, "{$allow_prefix}zapier_integration_active" => true, "{$allow_prefix}wincher_integration_active" => false, "{$allow_prefix}remove_feed_global" => true, "{$allow_prefix}remove_feed_global_comments" => true, "{$allow_prefix}remove_feed_post_comments" => true, "{$allow_prefix}enable_index_now" => true, "{$allow_prefix}enable_ai_generator" => true, "{$allow_prefix}remove_feed_authors" => true, "{$allow_prefix}remove_feed_categories" => true, "{$allow_prefix}remove_feed_tags" => true, "{$allow_prefix}remove_feed_custom_taxonomies" => true, "{$allow_prefix}remove_feed_post_types" => true, "{$allow_prefix}remove_feed_search" => true, "{$allow_prefix}remove_atom_rdf_feeds" => true, "{$allow_prefix}remove_shortlinks" => true, "{$allow_prefix}remove_rest_api_links" => true, "{$allow_prefix}remove_rsd_wlw_links" => true, "{$allow_prefix}remove_oembed_links" => true, "{$allow_prefix}remove_generator" => true, "{$allow_prefix}remove_emoji_scripts" => true, "{$allow_prefix}remove_powered_by_header" => true, "{$allow_prefix}remove_pingback_header" => true, "{$allow_prefix}clean_campaign_tracking_urls" => true, "{$allow_prefix}clean_permalinks" => true, "{$allow_prefix}search_cleanup" => true, "{$allow_prefix}search_cleanup_emoji" => true, "{$allow_prefix}search_cleanup_patterns" => true, "{$allow_prefix}redirect_search_pretty_urls" => true, "{$allow_prefix}wordproof_integration_active" => false, "{$allow_prefix}algolia_integration_active" => true, ]
/src/config/schema-types.php:581return [['name' => \__('Web Page', 'wordpress-seo'), 'value' => 'WebPage', ], ['name' => \__('Item Page', 'wordpress-seo'), 'value' => 'ItemPage', ], ['name' => \__('About Page', 'wordpress-seo'), 'value' => 'AboutPage', ], ['name' => \__('FAQ Page', 'wordpress-seo'), 'value' => 'FAQPage', ], ['name' => \__('QA Page', 'wordpress-seo'), 'value' => 'QAPage', ], ['name' => \__('Profile Page', 'wordpress-seo'), 'value' => 'ProfilePage', ], ['name' => \__('Contact Page', 'wordpress-seo'), 'value' => 'ContactPage', ], ['name' => \__('Medical Web Page', 'wordpress-seo'), 'value' => 'MedicalWebPage', ], ['name' => \__('Collection Page', 'wordpress-seo'), 'value' => 'CollectionPage', ], ['name' => \__('Checkout Page', 'wordpress-seo'), 'value' => 'CheckoutPage', ], ['name' => \__('Real Estate Listing', 'wordpress-seo'), 'value' => 'RealEstateListing', ], ['name' => \__('Search Results Page', 'wordpress-seo'), 'value' => 'SearchResultsPage', ], ]
/src/config/semrush-client.php:361$provider = new GenericProvider(['clientId' => 'yoast', 'clientSecret' => 'YdqNsWwnP4vE54WO1ugThKEjGMxMAHJt', 'redirectUri' => 'https://oauth.semrush.com/oauth2/yoast/success', 'urlAuthorize' => 'https://oauth.semrush.com/oauth2/authorize', 'urlAccessToken' => 'https://oauth.semrush.com/oauth2/access_token', 'urlResourceOwnerDetails' => 'https://oauth.semrush.com/oauth2/resource', ], ['httpClient' => new Client(['handler' => $wp_remote_handler]), ])
/src/config/wincher-client.php:501$provider = new Wincher_PKCE_Provider(['clientId' => 'yoast', 'redirectUri' => 'https://auth.wincher.com/yoast/setup', 'urlAuthorize' => 'https://auth.wincher.com/connect/authorize', 'urlAccessToken' => 'https://auth.wincher.com/connect/token', 'urlResourceOwnerDetails' => 'https://api.wincher.com/beta/user', 'scopes' => ['profile', 'account', 'websites:read', 'websites:write', 'offline_access'], 'scopeSeparator' => ' ', 'pkceMethod' => 'S256', ], ['httpClient' => new Client(['handler' => $wp_remote_handler]), ])
/src/config/schema-types.php:1231return \apply_filters('wpseo_schema_article_types_labels', [['name' => \__('Article', 'wordpress-seo'), 'value' => 'Article', ], ['name' => \__('Blog Post', 'wordpress-seo'), 'value' => 'BlogPosting', ], ['name' => \__('Social Media Posting', 'wordpress-seo'), 'value' => 'SocialMediaPosting', ], ['name' => \__('News Article', 'wordpress-seo'), 'value' => 'NewsArticle', ], ['name' => \__('Advertiser Content Article', 'wordpress-seo'), 'value' => 'AdvertiserContentArticle', ], ['name' => \__('Satirical Article', 'wordpress-seo'), 'value' => 'SatiricalArticle', ], ['name' => \__('Scholarly Article', 'wordpress-seo'), 'value' => 'ScholarlyArticle', ], ['name' => \__('Tech Article', 'wordpress-seo'), 'value' => 'TechArticle', ], ['name' => \__('Report', 'wordpress-seo'), 'value' => 'Report', ], ['name' => \__('None', 'wordpress-seo'), 'value' => 'None', ], ])
/src/editors/framework/integrations/wincher.php:541return ['active' => $this->is_enabled( ), 'loginStatus' => $this->is_enabled( ) && $this->wincher_helper->login_status( ), 'websiteId' => $this->options_helper->get('wincher_website_id', ''), 'autoAddKeyphrases' => $this->options_helper->get('wincher_automatically_add_keyphrases', false), ]
/src/editors/framework/inclusive-language-analysis.php:591return $this->is_globally_enabled( ) && $this->is_user_enabled( ) && $this->is_current_version_supported( ) && $this->language_helper->has_inclusive_language_support($this->language_helper->get_language( ))
/src/editors/framework/integrations/semrush.php:481return ['active' => $this->is_enabled( ), 'countryCode' => $this->options_helper->get('semrush_country_code', false), 'loginStatus' => $this->options_helper->get('semrush_integration_active', true) && $this->get_semrush_login_status( ), ]
/src/editors/framework/integrations/wincher.php:681return ['wincherIntegrationActive' => $this->is_enabled( ), 'wincherLoginStatus' => $this->is_enabled( ) && $this->wincher_helper->login_status( ), 'wincherWebsiteId' => $this->options_helper->get('wincher_website_id', ''), 'wincherAutoAddKeyphrases' => $this->options_helper->get('wincher_automatically_add_keyphrases', false), ]
/admin/views/licenses.php:191$premium_extension = ['buyUrl' => WPSEO_Shortlinker::get('https://yoa.st/zz'), 'infoUrl' => WPSEO_Shortlinker::get('https://yoa.st/zy'), 'title' => 'Yoast SEO Premium', 'desc' => sprintf(__('The premium version of %1$s with more features & support.', 'wordpress-seo'), 'Yoast SEO'), 'image' => plugin_dir_url(WPSEO_FILE) . 'packages/js/images/Yoast_SEO_Icon.svg', 'benefits' => [ ], ]
/admin/views/partial-notifications-template.php:941$dismissed_paper = new WPSEO_Paper_Presenter(esc_html($yoast_seo_i18n_muted_issues_title), null, ['paper_id' => esc_attr($yoast_seo_type . '-dismissed'), 'paper_id_prefix' => 'yoast-', 'class' => 'yoast-notifications-dismissed', 'content' => _yoast_display_notifications($yoast_seo_dismissed, 'dismissed'), 'collapsible' => true, 'collapsible_header_class' => 'yoast-notification', ])
/admin/views/licenses.php:761$extensions[WPSEO_Addon_Manager::WOOCOMMERCE_SLUG] = ['buyUrl' => WPSEO_Shortlinker::get('https://yoa.st/zr'), 'infoUrl' => WPSEO_Shortlinker::get('https://yoa.st/zq'), 'title' => 'Yoast WooCommerce SEO', 'display_title' => __('Drive more traffic to your online store', 'wordpress-seo'), 'desc' => sprintf(__('Seamlessly integrate WooCommerce with %1$s and get extra features!', 'wordpress-seo'), 'Yoast SEO'), 'image' => plugins_url('images/woo_plugin_assistant.svg?v=' . WPSEO_VERSION, WPSEO_FILE), 'benefits' => [__('Write product pages that rank using the SEO analysis', 'wordpress-seo'), __('Increase Google clicks with rich results', 'wordpress-seo'), __('Add global identifiers for variable products', 'wordpress-seo'), sprintf(__('Seamless integration between %1$s and %2$s', 'wordpress-seo'), 'Yoast SEO', 'WooCommerce'), __('Turn more visitors into customers!', 'wordpress-seo'), ], 'buy_button' => 'WooCommerce SEO', ]
/admin/views/licenses.php:291$extensions = [WPSEO_Addon_Manager::LOCAL_SLUG => ['buyUrl' => WPSEO_Shortlinker::get('https://yoa.st/zt'), 'infoUrl' => WPSEO_Shortlinker::get('https://yoa.st/zs'), 'title' => 'Local SEO', 'display_title' => __('Stand out for local searches', 'wordpress-seo'), 'desc' => __('Rank better locally and in Google Maps, without breaking a sweat!', 'wordpress-seo'), 'image' => plugins_url('images/local_plugin_assistant.svg?v=' . WPSEO_VERSION, WPSEO_FILE), 'benefits' => [__('Attract more customers to your site and physical store', 'wordpress-seo'), __('Automatically get technical SEO best practices for local businesses', 'wordpress-seo'), __('Easily add maps, address finders, and opening hours to your content', 'wordpress-seo'), __('Optimize your business for multiple locations', 'wordpress-seo'), ], ], WPSEO_Addon_Manager::VIDEO_SLUG => ['buyUrl' => WPSEO_Shortlinker::get('https://yoa.st/zx/'), 'infoUrl' => WPSEO_Shortlinker::get('https://yoa.st/zw/'), 'title' => 'Video SEO', 'display_title' => __('Drive more views to your videos', 'wordpress-seo'), 'desc' => __('Optimize your videos to show them off in search results and get more clicks!', 'wordpress-seo'), 'image' => plugins_url('images/video_plugin_assistant.svg?v=' . WPSEO_VERSION, WPSEO_FILE), 'benefits' => [__('Automatically get technical SEO best practices for video content', 'wordpress-seo'), __('Make sure your videos load quickly for users', 'wordpress-seo'), __('Make your videos responsive for all screen sizes', 'wordpress-seo'), __('Optimize your video previews & thumbnails', 'wordpress-seo'), ], ], WPSEO_Addon_Manager::NEWS_SLUG => ['buyUrl' => WPSEO_Shortlinker::get('https://yoa.st/zv/'), 'infoUrl' => WPSEO_Shortlinker::get('https://yoa.st/zu/'), 'title' => 'News SEO', 'display_title' => __('Rank higher in Google\'s news carousel', 'wordpress-seo'), 'desc' => __('Are you in Google News? Increase your traffic from Google News by optimizing for it!', 'wordpress-seo'), 'image' => plugins_url('images/news_plugin_assistant.svg?v=' . WPSEO_VERSION, WPSEO_FILE), 'benefits' => [__('Optimize your site for Google News', 'wordpress-seo'), __('Ping Google on the publication of a new post', 'wordpress-seo'), __('Add all necessary schema.org markup', 'wordpress-seo'), __('Get XML sitemaps', 'wordpress-seo'), ], ], ]
/admin/watchers/class-slug-change-watcher.php:2201return '<h2>' . __('Make sure you don\'t miss out on traffic!', 'wordpress-seo') . '</h2>' . '<p>' . $first_sentence . ' ' . $second_sentence . ' ' . __('You should create a redirect to ensure your visitors do not get a 404 error when they click on the no longer working URL.', 'wordpress-seo') . ' ' . sprintf(__('With %s, you can easily create such redirects.', 'wordpress-seo'), 'Yoast SEO Premium') . '</p>' . '<p><a class="yoast-button-upsell" data-action="load-nfd-ctb" data-ctb-id="f6a84663-465f-4cb5-8ba5-f7a6d72224b2" href="' . WPSEO_Shortlinker::get('https://yoa.st/1d0') . '" target="_blank">' . sprintf(__('Get %s', 'wordpress-seo'), 'Yoast SEO Premium') . '<span class="screen-reader-text">' . __('(Opens in a new browser tab)', 'wordpress-seo') . '</span>' . '<span aria-hidden="true" class="yoast-button-upsell__caret"></span>' . '</a></p>'
/admin/views/licenses.php:1021$extensions['yoast-seo-plugin-subscription'] = ['buyUrl' => WPSEO_Shortlinker::get('https://yoa.st/premium-page-bundle-buy'), 'infoUrl' => WPSEO_Shortlinker::get('https://yoa.st/premium-page-bundle-info'), 'title' => __('all the Yoast plugins', 'wordpress-seo'), 'display_title' => __('Cover all your SEO bases', 'wordpress-seo'), 'desc' => '', 'image' => plugins_url('images/plugin_subscription.svg?v=' . WPSEO_VERSION, WPSEO_FILE), 'benefits' => [__('Get all 5 Yoast plugins for WordPress at a big discount', 'wordpress-seo'), __('Reach new customers who live near your business', 'wordpress-seo'), __('Drive more views to your videos', 'wordpress-seo'), __('Rank higher in Google\'s news carousel', 'wordpress-seo'), __('Drive more traffic to your online store', 'wordpress-seo'), ], 'buy_button' => __('all the Yoast plugins', 'wordpress-seo'), ]
/lib/orm.php:17341return $this->join_if_not_empty(' ', [$this->build_select_start( ), $this->build_join( ), $this->build_where( ), $this->build_group_by( ), $this->build_having( ), $this->build_order_by( ), $this->build_limit( ), $this->build_offset( ), ])
/lib/model.php:4791return static::factory($associated_class_name)->select("{$associated_table_name}.*")->join($join_table_name, ["{$associated_table_name}.{$associated_table_id_column}", '=', "{$join_table_name}.{$key_to_associated_table}", ])->where("{$join_table_name}.{$key_to_base_table}", $this->{$base_table_id_column})
/src/integrations/academy-integration.php:1681return ['preferences' => ['isPremium' => $this->product_helper->is_premium( ), 'isWooActive' => $woocommerce_seo_active, 'isLocalActive' => $local_seo_active, 'isRtl' => \is_rtl( ), 'pluginUrl' => \plugins_url('', \WPSEO_FILE), 'upsellSettings' => ['actionId' => 'load-nfd-ctb', 'premiumCtbId' => 'f6a84663-465f-4cb5-8ba5-f7a6d72224b2', ], ], 'linkParams' => $this->shortlink_helper->get_query_params( ), ]
/src/integrations/settings-integration.php:4261return ['settings' => $this->transform_settings($settings), 'defaultSettingValues' => $default_setting_values, 'disabledSettings' => $this->get_disabled_settings($settings), 'endpoint' => \admin_url('options.php'), 'nonce' => \wp_create_nonce(self::PAGE . '-options'), 'separators' => WPSEO_Option_Titles::get_instance( )->get_separator_options_for_display( ), 'replacementVariables' => $this->get_replacement_variables( ), 'schema' => $this->get_schema($transformed_post_types), 'preferences' => $this->get_preferences($settings), 'linkParams' => WPSEO_Shortlinker::get_query_params( ), 'postTypes' => $transformed_post_types, 'taxonomies' => $transformed_taxonomies, 'fallbacks' => $this->get_fallbacks( ), 'showNewContentTypeNotification' => $show_new_content_type_notification, ]
/src/integrations/settings-integration.php:4751return ['isPremium' => $this->product_helper->is_premium( ), 'isRtl' => \is_rtl( ), 'isNetworkAdmin' => \is_network_admin( ), 'isMainSite' => \is_main_site( ), 'isMultisite' => \is_multisite( ), 'isWooCommerceActive' => $this->woocommerce_helper->is_active( ), 'isLocalSeoActive' => \defined('WPSEO_LOCAL_FILE'), 'isNewsSeoActive' => \defined('WPSEO_NEWS_FILE'), 'isWooCommerceSEOActive' => $woocommerce_seo_active, 'promotions' => \YoastSEO( )->classes->get(Promotion_Manager::class)->get_current_promotions( ), 'siteUrl' => \get_bloginfo('url'), 'siteTitle' => \get_bloginfo('name'), 'sitemapUrl' => WPSEO_Sitemaps_Router::get_base_url('sitemap_index.xml'), 'hasWooCommerceShopPage' => $shop_page_id !== -1, 'editWooCommerceShopPageUrl' => \get_edit_post_link($shop_page_id, 'js'), 'wooCommerceShopPageSettingUrl' => \get_admin_url(null, 'admin.php?page=wc-settings&tab=products'), 'localSeoPageSettingUrl' => $business_settings_url, 'homepageIsLatestPosts' => $homepage_is_latest_posts, 'homepagePageEditUrl' => \get_edit_post_link($page_on_front, 'js'), 'homepagePostsEditUrl' => \get_edit_post_link($page_for_posts, 'js'), 'createUserUrl' => \admin_url('user-new.php'), 'createPageUrl' => \admin_url('post-new.php?post_type=page'), 'editUserUrl' => \admin_url('user-edit.php'), 'editTaxonomyUrl' => \admin_url('edit-tags.php'), 'generalSettingsUrl' => \admin_url('options-general.php'), 'companyOrPersonMessage' => \apply_filters('wpseo_knowledge_graph_setting_msg', ''), 'currentUserId' => \get_current_user_id( ), 'canCreateUsers' => \current_user_can('create_users'), 'canCreatePages' => \current_user_can('edit_pages'), 'canEditUsers' => \current_user_can('edit_users'), 'canManageOptions' => \current_user_can('manage_options'), 'userLocale' => \str_replace('_', '-', \get_user_locale( )), 'pluginUrl' => \plugins_url('', \WPSEO_FILE), 'showForceRewriteTitlesSetting' => !\current_theme_supports('title-tag') && !(\function_exists('wp_is_block_theme') && \wp_is_block_theme( )), 'upsellSettings' => $this->get_upsell_settings( ), 'siteRepresentsPerson' => $this->get_site_represents_person($settings), 'siteBasicsPolicies' => $this->get_site_basics_policies($settings), ]
/src/integrations/settings-integration.php:8671$transformed[$post_type->name] = ['name' => $post_type->name, 'route' => $this->get_route($post_type->name, $post_type->rewrite, $post_type->rest_base), 'label' => $post_type->label, 'singularLabel' => $post_type->labels->singular_name, 'hasArchive' => $this->post_type_helper->has_archive($post_type), 'hasSchemaArticleType' => $this->article_helper->is_article_post_type($post_type->name), 'menuPosition' => $post_type->menu_position, 'isNew' => \in_array($post_type->name, $new_post_types, true), ]
/src/integrations/settings-integration.php:9201$transformed[$taxonomy->name] = ['name' => $taxonomy->name, 'route' => $this->get_route($taxonomy->name, $taxonomy->rewrite, $taxonomy->rest_base), 'label' => $taxonomy->label, 'showUi' => $taxonomy->show_ui, 'singularLabel' => $taxonomy->labels->singular_name, 'postTypes' => \array_filter($taxonomy->object_type, static function ($object_type) use ($post_type_names) { /**/ } ), 'isNew' => \in_array($taxonomy->name, $new_taxonomies, true), ]
/src/integrations/admin/first-time-configuration-integration.php:1501$data = ['disabled' => !\YoastSEO( )->helpers->indexable->should_index_indexables( ), 'amount' => \YoastSEO( )->helpers->indexing->get_filtered_unindexed_count( ), 'firstTime' => (\YoastSEO( )->helpers->indexing->is_initial_indexing( ) === true), 'errorMessage' => '', 'restApi' => ['root' => \esc_url_raw(\rest_url( )), 'indexing_endpoints' => $this->get_endpoints( ), 'nonce' => \wp_create_nonce('wp_rest'), ], ]
/src/integrations/admin/first-time-configuration-integration.php:1911$data_ftc = ['canEditUser' => $this->can_edit_profile($person_id), 'companyOrPerson' => $this->is_company_or_person( ), 'companyOrPersonLabel' => $selected_option_label, 'companyName' => $this->get_company_name( ), 'fallbackCompanyName' => $this->get_fallback_company_name($this->get_company_name( )), 'websiteName' => $this->get_website_name( ), 'fallbackWebsiteName' => $this->get_fallback_website_name($this->get_website_name( )), 'companyLogo' => $this->get_company_logo( ), 'companyLogoFallback' => $this->get_company_fallback_logo($this->get_company_logo( )), 'companyLogoId' => $this->get_person_logo_id( ), 'finishedSteps' => $finished_steps, 'personId' => (int) $person_id, 'personName' => $this->get_person_name( ), 'personLogo' => $this->get_person_logo( ), 'personLogoFallback' => $this->get_person_fallback_logo($this->get_person_logo( )), 'personLogoId' => $this->get_person_logo_id( ), 'siteTagline' => $this->get_site_tagline( ), 'socialProfiles' => ['facebookUrl' => $social_profiles['facebook_site'], 'twitterUsername' => $social_profiles['twitter_site'], 'otherSocialUrls' => $social_profiles['other_social_urls'], ], 'isPremium' => $this->product_helper->is_premium( ), 'tracking' => $this->has_tracking_enabled( ), 'isTrackingAllowedMultisite' => $this->is_tracking_enabled_multisite( ), 'isMainSite' => $this->is_main_site( ), 'companyOrPersonOptions' => $options, 'shouldForceCompany' => $this->should_force_company( ), 'knowledgeGraphMessage' => $knowledge_graph_message, 'shortlinks' => ['gdpr' => $this->shortlinker->build_shortlink('https://yoa.st/gdpr-config-workout'), 'configIndexables' => $this->shortlinker->build_shortlink('https://yoa.st/config-indexables'), 'configIndexablesBenefits' => $this->shortlinker->build_shortlink('https://yoa.st/config-indexables-benefits'), ], ]
/src/integrations/admin/crawl-settings-integration.php:1241$this->feed_settings = ['remove_feed_global' => \__('Global feed', 'wordpress-seo'), 'remove_feed_global_comments' => \__('Global comment feeds', 'wordpress-seo'), 'remove_feed_post_comments' => \__('Post comments feeds', 'wordpress-seo'), 'remove_feed_authors' => \__('Post authors feeds', 'wordpress-seo'), 'remove_feed_post_types' => \__('Post type feeds', 'wordpress-seo'), 'remove_feed_categories' => \__('Category feeds', 'wordpress-seo'), 'remove_feed_tags' => \__('Tag feeds', 'wordpress-seo'), 'remove_feed_custom_taxonomies' => \__('Custom taxonomy feeds', 'wordpress-seo'), 'remove_feed_search' => \__('Search results feeds', 'wordpress-seo'), 'remove_atom_rdf_feeds' => \__('Atom/RDF feeds', 'wordpress-seo'), ]
/src/editors/framework/integrations/semrush.php:611return ['semrushIntegrationActive' => $this->is_enabled( ), 'countryCode' => $this->options_helper->get('semrush_country_code', false), 'SEMrushLoginStatus' => $this->options_helper->get('semrush_integration_active', true) && $this->get_semrush_login_status( ), ]
/src/values/oauth/oauth-token.php:1301return ['access_token' => $this->access_token, 'refresh_token' => $this->refresh_token, 'expires' => $this->expires, 'has_expired' => $this->has_expired( ), 'created_at' => $this->created_at, 'error_count' => $this->error_count, ]
/src/repositories/indexable-cleanup-repository.php:4031$delete_query = $wpdb->prepare("DELETE FROM $indexable_table WHERE object_type = 'user' AND object_id NOT IN ( SELECT DISTINCT post_author FROM $wpdb->posts WHERE post_type IN ( " . \implode(', ', \array_fill(0, \count($author_archive_post_types), '%s')) . ' ) AND post_status IN ( ' . \implode(', ', \array_fill(0, \count($viewable_post_stati), '%s')) . ' ) ) LIMIT %d', \array_merge($author_archive_post_types, $viewable_post_stati, [$limit]))
/src/repositories/indexable-cleanup-repository.php:4371$count_query = $wpdb->prepare("SELECT count(*) FROM $indexable_table WHERE object_type = 'user' AND object_id NOT IN ( SELECT DISTINCT post_author FROM $wpdb->posts WHERE post_type IN ( " . \implode(', ', \array_fill(0, \count($author_archive_post_types), '%s')) . ' ) AND post_status IN ( ' . \implode(', ', \array_fill(0, \count($viewable_post_stati), '%s')) . ' ) )', \array_merge($author_archive_post_types, $viewable_post_stati))
/src/exceptions/oauth/authentication-failed-exception.php:271return (object) ['tokens' => [ ], 'error' => $this->getMessage( ) . ': ' . $this->getPrevious( )->getMessage( ), 'status' => $this->getCode( ), ]
/src/presenters/admin/search-engines-discouraged-presenter.php:311return \sprintf('<strong>%1$s</strong> %2$s <button type="button" id="robotsmessage-dismiss-button" class="button-link hide-if-no-js" data-nonce="%3$s">%4$s</button>', \esc_html__('Huge SEO Issue: You\'re blocking access to robots.', 'wordpress-seo'), \sprintf(\esc_html__('If you want search engines to show this site in their results, you must %1$sgo to your Reading Settings%2$s and uncheck the box for Search Engine Visibility.', 'wordpress-seo'), '<a href="' . \esc_url(\admin_url('options-reading.php')) . '">', '</a>'), \esc_js(\wp_create_nonce('wpseo-ignore')), \esc_html__('I don\'t want this site to show in the search results.', 'wordpress-seo'))
/src/integrations/cleanup-integration.php:1011return \array_merge(['clean_indexables_with_object_type_and_object_sub_type_shop_order' => function ($limit) { /**/ } , 'clean_indexables_by_post_status_auto-draft' => function ($limit) { /**/ } , 'clean_indexables_for_non_publicly_viewable_post' => function ($limit) { /**/ } , 'clean_indexables_for_non_publicly_viewable_taxonomies' => function ($limit) { /**/ } , 'clean_indexables_for_non_publicly_viewable_post_type_archive_pages' => function ($limit) { /**/ } , 'clean_indexables_for_authors_archive_disabled' => function ($limit) { /**/ } , 'clean_indexables_for_authors_without_archive' => function ($limit) { /**/ } , 'update_indexables_author_to_reassigned' => function ($limit) { /**/ } , 'clean_orphaned_user_indexables_without_wp_user' => function ($limit) { /**/ } , 'clean_orphaned_user_indexables_without_wp_post' => function ($limit) { /**/ } , 'clean_orphaned_user_indexables_without_wp_term' => function ($limit) { /**/ } , ], $this->get_additional_indexable_cleanups( ), ['clean_orphaned_content_indexable_hierarchy' => function ($limit) { /**/ } , 'clean_orphaned_content_seo_links_indexable_id' => function ($limit) { /**/ } , 'clean_orphaned_content_seo_links_target_indexable_id' => function ($limit) { /**/ } , ], $this->get_additional_misc_cleanups( ))
/src/integrations/support-integration.php:1601return ['preferences' => ['isPremium' => $this->product_helper->is_premium( ), 'isRtl' => \is_rtl( ), 'promotions' => \YoastSEO( )->classes->get(Promotion_Manager::class)->get_current_promotions( ), 'pluginUrl' => \plugins_url('', \WPSEO_FILE), 'upsellSettings' => ['actionId' => 'load-nfd-ctb', 'premiumCtbId' => 'f6a84663-465f-4cb5-8ba5-f7a6d72224b2', ], ], 'linkParams' => $this->shortlink_helper->get_query_params( ), ]
/admin/statistics/class-statistics-service.php:2071return [WPSEO_Rank::NO_FOCUS => sprintf(__('Posts %1$swithout%2$s a focus keyphrase', 'wordpress-seo'), '<strong>', '</strong>'), WPSEO_Rank::BAD => sprintf(__('Posts with the SEO score: %s', 'wordpress-seo'), '<strong>' . __('Needs improvement', 'wordpress-seo') . '</strong>'), WPSEO_Rank::OK => sprintf(__('Posts with the SEO score: %s', 'wordpress-seo'), '<strong>' . __('OK', 'wordpress-seo') . '</strong>'), WPSEO_Rank::GOOD => sprintf(__('Posts with the SEO score: %s', 'wordpress-seo'), '<strong>' . __('Good', 'wordpress-seo') . '</strong>'), WPSEO_Rank::NO_INDEX => __('Posts that should not show up in search results', 'wordpress-seo'), ]
/admin/statistics/class-statistics-service.php:1821return ['seo_rank' => $rank->get_rank( ), 'label' => $this->get_label_for_rank($rank), 'count' => $this->statistics->get_post_count($rank), 'link' => $this->get_link_for_rank($rank), ]
/admin/class-yoast-input-validation.php:1061$defaults = ['baiduverify' => sprintf(esc_html__('Baidu verification codes can only contain letters, numbers, hyphens, and underscores. %s', 'wordpress-seo'), self::get_dirty_value_message('baiduverify')), 'facebook_site' => sprintf(esc_html__('Please check the format of the Facebook Page URL you entered. %s', 'wordpress-seo'), self::get_dirty_value_message('facebook_site')), 'googleverify' => sprintf(esc_html__('Google verification codes can only contain letters, numbers, hyphens, and underscores. %s', 'wordpress-seo'), self::get_dirty_value_message('googleverify')), 'instagram_url' => sprintf(esc_html__('Please check the format of the Instagram URL you entered. %s', 'wordpress-seo'), self::get_dirty_value_message('instagram_url')), 'linkedin_url' => sprintf(esc_html__('Please check the format of the LinkedIn URL you entered. %s', 'wordpress-seo'), self::get_dirty_value_message('linkedin_url')), 'msverify' => sprintf(esc_html__('Bing confirmation codes can only contain letters from A to F, numbers, hyphens, and underscores. %s', 'wordpress-seo'), self::get_dirty_value_message('msverify')), 'myspace_url' => sprintf(esc_html__('Please check the format of the MySpace URL you entered. %s', 'wordpress-seo'), self::get_dirty_value_message('myspace_url')), 'pinterest_url' => sprintf(esc_html__('Please check the format of the Pinterest URL you entered. %s', 'wordpress-seo'), self::get_dirty_value_message('pinterest_url')), 'pinterestverify' => sprintf(esc_html__('Pinterest confirmation codes can only contain letters from A to F, numbers, hyphens, and underscores. %s', 'wordpress-seo'), self::get_dirty_value_message('pinterestverify')), 'twitter_site' => sprintf(esc_html__('Twitter usernames can only contain letters, numbers, and underscores. %s', 'wordpress-seo'), self::get_dirty_value_message('twitter_site')), 'wikipedia_url' => sprintf(esc_html__('Please check the format of the Wikipedia URL you entered. %s', 'wordpress-seo'), self::get_dirty_value_message('wikipedia_url')), 'yandexverify' => sprintf(esc_html__('Yandex confirmation codes can only contain letters from A to F, numbers, hyphens, and underscores. %s', 'wordpress-seo'), self::get_dirty_value_message('yandexverify')), 'youtube_url' => sprintf(esc_html__('Please check the format of the YouTube URL you entered. %s', 'wordpress-seo'), self::get_dirty_value_message('youtube_url')), ]
/admin/class-admin-asset-manager.php:5381return [['name' => 'admin-css', 'src' => 'yst_plugin_tools-' . $flat_version, 'deps' => [self::PREFIX . 'toggle-switch'], ], ['name' => 'toggle-switch', 'src' => 'toggle-switch-' . $flat_version, ], ['name' => 'dismissible', 'src' => 'wpseo-dismissible-' . $flat_version, ], ['name' => 'notifications', 'src' => 'notifications-' . $flat_version, ], ['name' => 'alert', 'src' => 'alerts-' . $flat_version, ], ['name' => 'edit-page', 'src' => 'edit-page-' . $flat_version, ], ['name' => 'featured-image', 'src' => 'featured-image-' . $flat_version, ], ['name' => 'metabox-css', 'src' => 'metabox-' . $flat_version, 'deps' => [self::PREFIX . 'admin-css', self::PREFIX . 'tailwind', 'wp-components', ], ], ['name' => 'ai-generator', 'src' => 'ai-generator-' . $flat_version, 'deps' => [self::PREFIX . 'tailwind', self::PREFIX . 'introductions', ], ], ['name' => 'introductions', 'src' => 'introductions-' . $flat_version, 'deps' => [self::PREFIX . 'tailwind'], ], ['name' => 'wp-dashboard', 'src' => 'dashboard-' . $flat_version, ], ['name' => 'scoring', 'src' => 'yst_seo_score-' . $flat_version, ], ['name' => 'adminbar', 'src' => 'adminbar-' . $flat_version, 'deps' => ['admin-bar', ], ], ['name' => 'primary-category', 'src' => 'metabox-primary-category-' . $flat_version, ], ['name' => 'admin-global', 'src' => 'admin-global-' . $flat_version, ], ['name' => 'extensions', 'src' => 'yoast-extensions-' . $flat_version, 'deps' => ['wp-components', ], ], ['name' => 'filter-explanation', 'src' => 'filter-explanation-' . $flat_version, ], ['name' => 'monorepo', 'src' => 'monorepo-' . $flat_version, ], ['name' => 'structured-data-blocks', 'src' => 'structured-data-blocks-' . $flat_version, 'deps' => ['wp-edit-blocks'], ], ['name' => 'elementor', 'src' => 'elementor-' . $flat_version, ], ['name' => 'tailwind', 'src' => 'tailwind-' . $flat_version, ], ['name' => 'new-settings', 'src' => 'new-settings-' . $flat_version, 'deps' => [self::PREFIX . 'tailwind'], ], ['name' => 'black-friday-banner', 'src' => 'black-friday-banner-' . $flat_version, 'deps' => [self::PREFIX . 'tailwind'], ], ['name' => 'academy', 'src' => 'academy-' . $flat_version, 'deps' => [self::PREFIX . 'tailwind'], ], ['name' => 'support', 'src' => 'support-' . $flat_version, 'deps' => [self::PREFIX . 'tailwind'], ], ['name' => 'workouts', 'src' => 'workouts-' . $flat_version, 'deps' => [self::PREFIX . 'monorepo', ], ], ['name' => 'first-time-configuration', 'src' => 'first-time-configuration-' . $flat_version, 'deps' => [self::PREFIX . 'tailwind'], ], ['name' => 'inside-editor', 'src' => 'inside-editor-' . $flat_version, ], ]
/admin/formatter/class-post-metabox-formatter.php:741$values_to_set = ['keyword_usage' => $keyword_usage, 'keyword_usage_post_types' => $this->get_post_types_for_all_ids($keyword_usage), 'title_template' => $this->get_title_template( ), 'title_template_no_fallback' => $this->get_title_template(false), 'metadesc_template' => $this->get_metadesc_template( ), 'metaDescriptionDate' => $this->get_metadesc_date( ), 'first_content_image' => $this->get_image_url( ), 'social_title_template' => $this->get_social_title_template( ), 'social_description_template' => $this->get_social_description_template( ), 'social_image_template' => $this->get_social_image_template( ), 'isInsightsEnabled' => $this->is_insights_enabled( ), ]
/admin/formatter/class-term-metabox-formatter.php:731$values = ['search_url' => $this->search_url( ), 'post_edit_url' => $this->edit_url( ), 'base_url' => $this->base_url_for_js( ), 'taxonomy' => $this->term->taxonomy, 'keyword_usage' => $this->get_focus_keyword_usage( ), 'title_template' => $this->get_title_template( ), 'title_template_no_fallback' => $this->get_title_template(false), 'metadesc_template' => $this->get_metadesc_template( ), 'first_content_image' => $this->get_image_url( ), 'semrushIntegrationActive' => 0, 'social_title_template' => $this->get_social_title_template( ), 'social_description_template' => $this->get_social_description_template( ), 'social_image_template' => $this->get_social_image_template( ), 'wincherIntegrationActive' => 0, 'isInsightsEnabled' => $this->is_insights_enabled( ), ]
/admin/endpoints/class-endpoint-file-size.php:561$route_args = ['methods' => 'GET', 'args' => ['url' => ['required' => true, 'type' => 'string', 'description' => 'The url to retrieve', ], ], 'callback' => [$this->service, 'get', ], 'permission_callback' => [$this, 'can_retrieve_data', ], ]
/admin/filters/class-cornerstone-filter.php:1191return (int) $wpdb->get_var($wpdb->prepare("SELECT COUNT( 1 ) FROM {$wpdb->postmeta} WHERE post_id IN( SELECT ID FROM {$wpdb->posts} WHERE post_type = %s ) AND meta_key = %s AND meta_value = '1' ", $this->get_current_post_type( ), WPSEO_Meta::$meta_prefix . self::META_NAME))
/admin/class-primary-term-admin.php:2531return ['title' => $taxonomy->labels->singular_name, 'name' => $taxonomy->name, 'primary' => $primary_term, 'singularLabel' => $taxonomy->labels->singular_name, 'fieldId' => $this->generate_field_id($taxonomy->name), 'restBase' => ($taxonomy->rest_base) ? $taxonomy->rest_base : $taxonomy->name, 'terms' => $mapped_terms_for_js, ]
/admin/class-config.php:1451return ['replace_vars' => $replace_vars_list, 'recommended_replace_vars' => $recommended_replace_vars->get_recommended_replacevars( ), 'editor_specific_replace_vars' => $editor_specific_replace_vars->get( ), 'shared_replace_vars' => $editor_specific_replace_vars->get_generic($replace_vars_list), 'hidden_replace_vars' => $replace_vars->get_hidden_replace_vars( ), ]
/admin/class-config.php:961$script_data = ['userLanguageCode' => WPSEO_Language_Utils::get_language(get_user_locale( )), 'dismissedAlerts' => $dismissed_alerts, 'isRtl' => is_rtl( ), 'isPremium' => YoastSEO( )->helpers->product->is_premium( ), 'isWooCommerceActive' => $woocommerce_conditional->is_met( ), 'currentPromotions' => YoastSEO( )->classes->get(Promotion_Manager::class)->get_current_promotions( ), 'webinarIntroSettingsUrl' => WPSEO_Shortlinker::get('https://yoa.st/webinar-intro-settings'), 'webinarIntroFirstTimeConfigUrl' => $this->get_webinar_shortlink( ), 'linkParams' => WPSEO_Shortlinker::get_query_params( ), 'pluginUrl' => plugins_url('', WPSEO_FILE), ]
/admin/class-yoast-network-admin.php:761$available_states = ['public' => __('public', 'wordpress-seo'), 'archived' => __('archived', 'wordpress-seo'), 'mature' => __('mature', 'wordpress-seo'), 'spam' => __('spam', 'wordpress-seo'), 'deleted' => __('deleted', 'wordpress-seo'), ]
/admin/class-admin-asset-manager.php:3861$scripts['workouts'] = ['name' => 'workouts', 'src' => 'workouts.js', 'deps' => ['clipboard', 'lodash', 'wp-api-fetch', 'wp-a11y', 'wp-components', 'wp-compose', 'wp-data', 'wp-dom-ready', 'wp-element', 'wp-i18n', self::PREFIX . 'externals-components', self::PREFIX . 'externals-contexts', self::PREFIX . 'externals-redux', self::PREFIX . 'analysis', self::PREFIX . 'react-select', self::PREFIX . 'yoast-components', ], 'version' => $scripts['workouts']['version'], ]
/admin/class-admin-asset-manager.php:3701$scripts['post-edit-classic'] = ['name' => 'post-edit-classic', 'src' => $scripts['post-edit']['src'], 'deps' => array_map(static function ($dep) { /**/ } , $scripts['post-edit']['deps']), 'in_footer' => !in_array('post-edit-classic', $header_scripts, true), 'version' => $scripts['post-edit']['version'], ]
/admin/class-admin-asset-manager.php:3551$scripts['installation-success'] = ['name' => 'installation-success', 'src' => 'installation-success.js', 'deps' => ['wp-a11y', 'wp-dom-ready', 'wp-components', 'wp-element', 'wp-i18n', self::PREFIX . 'yoast-components', self::PREFIX . 'externals-components', ], 'version' => $scripts['installation-success']['version'], ]
/admin/class-premium-popup.php:911$popup = <<<EO_POPUP <div id="wpseo-{$this->identifier}-popup" class="wpseo-premium-popup wp-clearfix$classes"> <img class="alignright wpseo-premium-popup-icon" src="{$assets_uri}packages/js/images/Yoast_SEO_Icon.svg" width="150" height="150" alt="Yoast SEO"/> <{$this->heading_level} id="wpseo-contact-support-popup-title" class="wpseo-premium-popup-title">{$this->title}</{$this->heading_level}> {$this->content} <a id="wpseo-{$this->identifier}-popup-button" class="yoast-button-upsell" href="{$this->url}" target="_blank"> {$cta_text} {$new_tab_message} {$caret_icon} </a><br/> <small>{$micro_copy}</small> </div> EO_POPUP
/admin/metabox/class-metabox-analysis-inclusive-language.php:191return $this->is_globally_enabled( ) && $this->is_user_enabled( ) && $this->is_current_version_supported( ) && YoastSEO( )->helpers->language->has_inclusive_language_support(WPSEO_Language_Utils::get_language(get_locale( )))
/admin/metabox/class-metabox-form-tab.php:1111return sprintf($html, esc_attr($this->name), ($this->tab_class !== '') ? ' ' . esc_attr($this->tab_class) : '', ($this->link_class !== '') ? ' ' . esc_attr($this->link_class) : '', ($this->link_title !== '') ? ' title="' . esc_attr($this->link_title) . '"' : '', ($this->link_aria_label !== '') ? ' aria-label="' . esc_attr($this->link_aria_label) . '"' : '', $this->link_content)
/admin/metabox/class-metabox.php:9091$worker_script_data = ['url' => YoastSEO( )->helpers->asset->get_asset_url('yoast-seo-analysis-worker'), 'dependencies' => YoastSEO( )->helpers->asset->get_dependency_urls_by_handle('yoast-seo-analysis-worker'), 'keywords_assessment_url' => YoastSEO( )->helpers->asset->get_asset_url('yoast-seo-used-keywords-assessment'), 'log_level' => WPSEO_Utils::get_analysis_worker_log_level( ), ]
/admin/metabox/class-metabox.php:9241$script_data = ['media' => ['choose_image' => __('Use Image', 'wordpress-seo')], 'metabox' => $this->get_metabox_script_data( ), 'userLanguageCode' => WPSEO_Language_Utils::get_language(get_user_locale( )), 'isPost' => true, 'isBlockEditor' => $is_block_editor, 'postId' => $post_id, 'postStatus' => get_post_status($post_id), 'postType' => get_post_type($post_id), 'usedKeywordsNonce' => wp_create_nonce('wpseo-keyword-usage-and-post-types'), 'analysis' => ['plugins' => $plugins_script_data, 'worker' => $worker_script_data, ], 'dismissedAlerts' => $dismissed_alerts, 'currentPromotions' => YoastSEO( )->classes->get(Promotion_Manager::class)->get_current_promotions( ), 'webinarIntroBlockEditorUrl' => WPSEO_Shortlinker::get('https://yoa.st/webinar-intro-block-editor'), 'blackFridayBlockEditorUrl' => (YoastSEO( )->classes->get(Promotion_Manager::class)->is('black-friday-2023-checklist')) ? WPSEO_Shortlinker::get('https://yoa.st/black-friday-checklist') : '', 'isJetpackBoostActive' => ($is_block_editor) ? YoastSEO( )->classes->get(Jetpack_Boost_Active_Conditional::class)->is_met( ) : false, 'isJetpackBoostNotPremium' => ($is_block_editor) ? YoastSEO( )->classes->get(Jetpack_Boost_Not_Premium_Conditional::class)->is_met( ) : false, 'isWooCommerceSeoActive' => $woocommerce_seo_active, 'isWooCommerceActive' => $woocommerce_active, 'woocommerceUpsell' => get_post_type($post_id) === 'product' && !$woocommerce_seo_active && $woocommerce_active, 'linkParams' => WPSEO_Shortlinker::get_query_params( ), 'pluginUrl' => plugins_url('', WPSEO_FILE), 'wistiaEmbedPermission' => YoastSEO( )->classes->get(Wistia_Embed_Permission_Repository::class)->get_value_for_user(get_current_user_id( )), ]
/admin/views/class-yoast-integration-toggles.php:641$integration_toggles = [(object) ['name' => sprintf(__('%s integration', 'wordpress-seo'), 'Semrush'), 'setting' => 'semrush_integration_active', 'label' => sprintf(__('The %s integration offers suggestions and insights for keywords related to the entered focus keyphrase.', 'wordpress-seo'), 'Semrush'), 'order' => 10, ], (object) ['name' => sprintf(esc_html__('%s integration', 'wordpress-seo'), 'Algolia'), 'premium' => true, 'setting' => 'algolia_integration_active', 'label' => __('Improve the quality of your site search! Automatically helps your users find your cornerstone and most important content in your internal search results. It also removes noindexed posts & pages from your site’s search results.', 'wordpress-seo'), 'read_more_label' => sprintf(__('Find out more about our %s integration.', 'wordpress-seo'), 'Algolia'), 'read_more_url' => 'https://yoa.st/4eu', 'premium_url' => 'https://yoa.st/4ex', 'premium_upsell_url' => 'https://yoa.st/get-algolia-integration', 'order' => 25, ], ]
/admin/views/class-yoast-feature-toggles.php:731$feature_toggles = [(object) ['name' => __('SEO analysis', 'wordpress-seo'), 'setting' => 'keyword_analysis_active', 'label' => __('The SEO analysis offers suggestions to improve the SEO of your text.', 'wordpress-seo'), 'read_more_label' => __('Learn how the SEO analysis can help you rank.', 'wordpress-seo'), 'read_more_url' => 'https://yoa.st/2ak', 'order' => 10, ], (object) ['name' => __('Readability analysis', 'wordpress-seo'), 'setting' => 'content_analysis_active', 'label' => __('The readability analysis offers suggestions to improve the structure and style of your text.', 'wordpress-seo'), 'read_more_label' => __('Discover why readability is important for SEO.', 'wordpress-seo'), 'read_more_url' => 'https://yoa.st/2ao', 'order' => 20, ], (object) ['name' => __('Inclusive language analysis', 'wordpress-seo'), 'supported_languages' => Language_Helper::$languages_with_inclusive_language_support, 'setting' => 'inclusive_language_analysis_active', 'label' => __('The inclusive language analysis offers suggestions to write more inclusive copy.', 'wordpress-seo'), 'read_more_label' => __('Discover why inclusive language is important for SEO.', 'wordpress-seo'), 'read_more_url' => 'https://yoa.st/inclusive-language-features-free', 'order' => 25, ], (object) ['name' => __('Cornerstone content', 'wordpress-seo'), 'setting' => 'enable_cornerstone_content', 'label' => __('The cornerstone content feature lets you to mark and filter cornerstone content on your website.', 'wordpress-seo'), 'read_more_label' => __('Find out how cornerstone content can help you improve your site structure.', 'wordpress-seo'), 'read_more_url' => 'https://yoa.st/dashboard-help-cornerstone', 'order' => 30, ], (object) ['name' => __('Text link counter', 'wordpress-seo'), 'setting' => 'enable_text_link_counter', 'label' => __('The text link counter helps you improve your site structure.', 'wordpress-seo'), 'read_more_label' => __('Find out how the text link counter can enhance your SEO.', 'wordpress-seo'), 'read_more_url' => 'https://yoa.st/2aj', 'order' => 40, ], (object) ['name' => __('Insights', 'wordpress-seo'), 'setting' => 'enable_metabox_insights', 'label' => __('Find relevant data about your content right in the Insights section in the Yoast SEO metabox. You’ll see what words you use most often and if they’re a match with your keywords! ', 'wordpress-seo'), 'read_more_label' => __('Find out how Insights can help you improve your content.', 'wordpress-seo'), 'read_more_url' => 'https://yoa.st/4ew', 'premium_url' => 'https://yoa.st/2ai', 'order' => 41, ], (object) ['name' => __('Link suggestions', 'wordpress-seo'), 'premium' => true, 'setting' => 'enable_link_suggestions', 'label' => __('Get relevant internal linking suggestions — while you’re writing! The link suggestions metabox shows a list of posts on your blog with similar content that might be interesting to link to. ', 'wordpress-seo'), 'read_more_label' => __('Read more about how internal linking can improve your site structure.', 'wordpress-seo'), 'read_more_url' => 'https://yoa.st/4ev', 'premium_url' => 'https://yoa.st/17g', 'premium_upsell_url' => 'https://yoa.st/get-link-suggestions', 'order' => 42, ], (object) ['name' => __('XML sitemaps', 'wordpress-seo'), 'setting' => 'enable_xml_sitemap', 'label' => sprintf(__('Enable the XML sitemaps that %s generates.', 'wordpress-seo'), 'Yoast SEO'), 'read_more_label' => __('Read why XML Sitemaps are important for your site.', 'wordpress-seo'), 'read_more_url' => 'https://yoa.st/2a-', 'extra' => $xml_sitemap_extra, 'after' => $this->sitemaps_toggle_after( ), 'order' => 60, ], (object) ['name' => __('Admin bar menu', 'wordpress-seo'), 'setting' => 'enable_admin_bar_menu', 'label' => sprintf(__('The %1$s admin bar menu contains useful links to third-party tools for analyzing pages and makes it easy to see if you have new notifications.', 'wordpress-seo'), 'Yoast SEO'), 'order' => 80, ], (object) ['name' => __('Security: no advanced or schema settings for authors', 'wordpress-seo'), 'setting' => 'disableadvanced_meta', 'label' => sprintf(__('The advanced section of the %1$s meta box allows a user to remove posts from the search results or change the canonical. The settings in the schema tab allows a user to change schema meta data for a post. These are things you might not want any author to do. That\'s why, by default, only editors and administrators can do this. Setting to "%2$s" allows all users to change these settings.', 'wordpress-seo'), 'Yoast SEO', __('Off', 'wordpress-seo')), 'order' => 90, ], (object) ['name' => __('Usage tracking', 'wordpress-seo'), 'label' => __('Usage tracking', 'wordpress-seo'), 'setting' => 'tracking', 'read_more_label' => sprintf(__('Allow us to track some data about your site to improve our plugin.', 'wordpress-seo'), 'Yoast SEO'), 'read_more_url' => 'https://yoa.st/usage-tracking-2', 'order' => 95, ], (object) ['name' => __('REST API: Head endpoint', 'wordpress-seo'), 'setting' => 'enable_headless_rest_endpoints', 'label' => sprintf(__('This %1$s REST API endpoint gives you all the metadata you need for a specific URL. This will make it very easy for headless WordPress sites to use %1$s for all their SEO meta output.', 'wordpress-seo'), 'Yoast SEO'), 'order' => 100, ], (object) ['name' => __('Enhanced Slack sharing', 'wordpress-seo'), 'setting' => 'enable_enhanced_slack_sharing', 'label' => __('This adds an author byline and reading time estimate to the article’s snippet when shared on Slack.', 'wordpress-seo'), 'read_more_label' => __('Find out how a rich snippet can improve visibility and click-through-rate.', 'wordpress-seo'), 'read_more_url' => 'https://yoa.st/help-slack-share', 'order' => 105, ], (object) ['name' => __('IndexNow', 'wordpress-seo'), 'premium' => true, 'setting' => 'enable_index_now', 'label' => __('Automatically ping search engines like Bing and Yandex whenever you publish, update or delete a post.', 'wordpress-seo'), 'read_more_label' => __('Find out how IndexNow can help your site.', 'wordpress-seo'), 'read_more_url' => 'https://yoa.st/index-now-read-more', 'premium_url' => 'https://yoa.st/index-now-feature', 'premium_upsell_url' => 'https://yoa.st/get-indexnow', 'order' => 110, ], (object) ['name' => __('AI title & description generator', 'wordpress-seo'), 'premium' => true, 'setting' => 'enable_ai_generator', 'label' => __('Use the power of Yoast AI to automatically generate compelling titles and descriptions for your posts and pages.', 'wordpress-seo'), 'read_more_label' => __('Learn more', 'wordpress-seo'), 'read_more_url' => 'https://yoa.st/ai-generator-read-more', 'premium_url' => 'https://yoa.st/ai-generator-feature', 'premium_upsell_url' => 'https://yoa.st/get-ai-generator', 'order' => 115, ], ]
/admin/tracking/class-tracking-theme-data.php:211return ['theme' => ['name' => $theme->get('Name'), 'url' => $theme->get('ThemeURI'), 'version' => $theme->get('Version'), 'author' => ['name' => $theme->get('Author'), 'url' => $theme->get('AuthorURI'), ], 'parentTheme' => $this->get_parent_theme($theme), 'blockTemplateSupport' => current_theme_supports('block-templates'), 'isBlockTheme' => function_exists('wp_is_block_theme') && wp_is_block_theme( ), ], ]
/admin/tracking/class-tracking-default-data.php:191return ['siteTitle' => get_option('blogname'), '@timestamp' => (int) gmdate('Uv'), 'wpVersion' => $this->get_wordpress_version( ), 'homeURL' => home_url( ), 'adminURL' => admin_url( ), 'isMultisite' => is_multisite( ), 'siteLanguage' => get_bloginfo('language'), 'gmt_offset' => get_option('gmt_offset'), 'timezoneString' => get_option('timezone_string'), 'migrationStatus' => get_option('yoast_migrations_free'), 'countPosts' => $this->get_post_count('post'), 'countPages' => $this->get_post_count('page'), ]
/admin/taxonomy/class-taxonomy-fields.php:1141return ['noindex' => ['label' => '', 'description' => '', 'type' => 'hidden', 'options' => '', 'hide' => false, ], 'bctitle' => ['label' => '', 'description' => '', 'type' => 'hidden', 'options' => '', 'hide' => (WPSEO_Options::get('breadcrumbs-enable') !== true), ], 'canonical' => ['label' => '', 'description' => '', 'type' => 'hidden', 'options' => '', 'hide' => false, ], ]
/admin/taxonomy/class-taxonomy-fields.php:1811$fields = array_merge($fields, ['twitter-title' => ['label' => '', 'description' => '', 'type' => 'hidden', 'options' => '', 'hide' => false, ], 'twitter-description' => ['label' => '', 'description' => '', 'type' => 'hidden', 'options' => '', 'hide' => false, ], 'twitter-image' => ['label' => '', 'description' => '', 'type' => 'hidden', 'options' => '', 'hide' => false, ], 'twitter-image-id' => ['label' => '', 'description' => '', 'type' => 'hidden', 'options' => '', 'hide' => false, ], ])
/admin/formatter/class-metabox-formatter.php:541$defaults = ['author_name' => get_the_author_meta('display_name'), 'site_name' => YoastSEO( )->meta->for_current_page( )->site_name, 'sitewide_social_image' => WPSEO_Options::get('og_default_image'), 'search_url' => '', 'post_edit_url' => '', 'base_url' => '', 'contentTab' => __('Readability', 'wordpress-seo'), 'keywordTab' => __('Keyphrase:', 'wordpress-seo'), 'removeKeyword' => __('Remove keyphrase', 'wordpress-seo'), 'contentLocale' => get_locale( ), 'userLocale' => get_user_locale( ), 'translations' => $this->get_translations( ), 'keyword_usage' => [ ], 'title_template' => '', 'metadesc_template' => '', 'intl' => $this->get_content_analysis_component_translations( ), 'isRtl' => is_rtl( ), 'isPremium' => YoastSEO( )->helpers->product->is_premium( ), 'siteIconUrl' => get_site_icon_url( ), 'showSocial' => ['facebook' => WPSEO_Options::get('opengraph', false), 'twitter' => WPSEO_Options::get('twitter', false), ], 'schema' => ['displayFooter' => WPSEO_Capability_Utils::current_user_can('wpseo_manage_options'), 'pageTypeOptions' => $schema_types->get_page_type_options( ), 'articleTypeOptions' => $schema_types->get_article_type_options( ), ], 'twitterCardType' => 'summary_large_image', 'publish_box' => ['labels' => ['keyword' => ['na' => sprintf(__('%1$sSEO%2$s: %3$s', 'wordpress-seo'), '<a href="#yoast-seo-analysis-collapsible-metabox">', '</a>', '<strong>' . __('Not available', 'wordpress-seo') . '</strong>'), 'bad' => sprintf(__('%1$sSEO%2$s: %3$s', 'wordpress-seo'), '<a href="#yoast-seo-analysis-collapsible-metabox">', '</a>', '<strong>' . __('Needs improvement', 'wordpress-seo') . '</strong>'), 'ok' => sprintf(__('%1$sSEO%2$s: %3$s', 'wordpress-seo'), '<a href="#yoast-seo-analysis-collapsible-metabox">', '</a>', '<strong>' . __('OK', 'wordpress-seo') . '</strong>'), 'good' => sprintf(__('%1$sSEO%2$s: %3$s', 'wordpress-seo'), '<a href="#yoast-seo-analysis-collapsible-metabox">', '</a>', '<strong>' . __('Good', 'wordpress-seo') . '</strong>'), ], 'content' => ['na' => sprintf(__('%1$sReadability%2$s: %3$s', 'wordpress-seo'), '<a href="#yoast-readability-analysis-collapsible-metabox">', '</a>', '<strong>' . __('Not available', 'wordpress-seo') . '</strong>'), 'bad' => sprintf(__('%1$sReadability%2$s: %3$s', 'wordpress-seo'), '<a href="#yoast-readability-analysis-collapsible-metabox">', '</a>', '<strong>' . __('Needs improvement', 'wordpress-seo') . '</strong>'), 'ok' => sprintf(__('%1$sReadability%2$s: %3$s', 'wordpress-seo'), '<a href="#yoast-readability-analysis-collapsible-metabox">', '</a>', '<strong>' . __('OK', 'wordpress-seo') . '</strong>'), 'good' => sprintf(__('%1$sReadability%2$s: %3$s', 'wordpress-seo'), '<a href="#yoast-readability-analysis-collapsible-metabox">', '</a>', '<strong>' . __('Good', 'wordpress-seo') . '</strong>'), ], 'inclusive-language' => ['na' => sprintf(__('%1$sInclusive language%2$s: %3$s', 'wordpress-seo'), '<a href="#yoast-inclusive-language-analysis-collapsible-metabox">', '</a>', '<strong>' . __('Not available', 'wordpress-seo') . '</strong>'), 'bad' => sprintf(__('%1$sInclusive language%2$s: %3$s', 'wordpress-seo'), '<a href="#yoast-inclusive-language-analysis-collapsible-metabox">', '</a>', '<strong>' . __('Needs improvement', 'wordpress-seo') . '</strong>'), 'ok' => sprintf(__('%1$sInclusive language%2$s: %3$s', 'wordpress-seo'), '<a href="#yoast-inclusive-language-analysis-collapsible-metabox">', '</a>', '<strong>' . __('Potentially non-inclusive', 'wordpress-seo') . '</strong>'), 'good' => sprintf(__('%1$sInclusive language%2$s: %3$s', 'wordpress-seo'), '<a href="#yoast-inclusive-language-analysis-collapsible-metabox">', '</a>', '<strong>' . __('Good', 'wordpress-seo') . '</strong>'), ], ], ], 'show_markers' => apply_filters('wpseo_enable_assessment_markers', true), 'analysisHeadingTitle' => __('Analysis', 'wordpress-seo'), 'zapierIntegrationActive' => WPSEO_Options::get('zapier_integration_active', false) ? 1 : 0, 'zapierConnectedStatus' => !empty(WPSEO_Options::get('zapier_subscription', [ ])) ? 1 : 0, 'wordproofIntegrationActive' => YoastSEO( )->helpers->wordproof->is_active( ) ? 1 : 0, 'getJetpackBoostPrePublishLink' => WPSEO_Shortlinker::get('https://yoa.st/jetpack-boost-get-prepublish?domain=' . $host), 'upgradeJetpackBoostPrePublishLink' => WPSEO_Shortlinker::get('https://yoa.st/jetpack-boost-upgrade-prepublish?domain=' . $host), 'woocommerceUpsellSchemaLink' => WPSEO_Shortlinker::get('https://yoa.st/product-schema-metabox'), 'woocommerceUpsellGooglePreviewLink' => WPSEO_Shortlinker::get('https://yoa.st/product-google-preview-metabox'), ]
/admin/formatter/class-metabox-formatter.php:2111return ['locale' => get_user_locale( ), 'content-analysis.errors' => __('Errors', 'wordpress-seo'), 'content-analysis.problems' => __('Problems', 'wordpress-seo'), 'content-analysis.improvements' => __('Improvements', 'wordpress-seo'), 'content-analysis.considerations' => __('Considerations', 'wordpress-seo'), 'content-analysis.good' => __('Good results', 'wordpress-seo'), 'content-analysis.highlight' => __('Highlight this result in the text', 'wordpress-seo'), 'content-analysis.nohighlight' => __('Remove highlight from the text', 'wordpress-seo'), 'content-analysis.disabledButton' => __('Marks are disabled in current view', 'wordpress-seo'), 'a11yNotice.opensInNewTab' => __('(Opens in a new browser tab)', 'wordpress-seo'), ]
/admin/menu/class-admin-menu.php:901$submenu_pages = [$this->get_submenu_page(__('General', 'wordpress-seo'), $this->get_page_identifier( )), $this->get_submenu_page(__('Search Console', 'wordpress-seo'), 'wpseo_search_console', $search_console_callback), $this->get_submenu_page(__('Tools', 'wordpress-seo'), 'wpseo_tools'), $this->get_submenu_page($this->get_license_page_title( ), 'wpseo_licenses'), ]
/admin/metabox/class-metabox.php:8941$plugins_script_data = ['replaceVars' => ['no_parent_text' => __('(no parent)', 'wordpress-seo'), 'replace_vars' => $this->get_replace_vars( ), 'hidden_replace_vars' => $this->get_hidden_replace_vars( ), 'recommended_replace_vars' => $this->get_recommended_replace_vars( ), 'scope' => $this->determine_scope( ), 'has_taxonomies' => $this->current_post_type_has_taxonomies( ), ], 'shortcodes' => ['wpseo_shortcode_tags' => $this->get_valid_shortcode_tags( ), 'wpseo_filter_shortcodes_nonce' => wp_create_nonce('wpseo-filter-shortcodes'), ], ]
/admin/taxonomy/class-taxonomy.php:1641$script_data = ['analysis' => ['plugins' => ['replaceVars' => ['no_parent_text' => __('(no parent)', 'wordpress-seo'), 'replace_vars' => $this->get_replace_vars( ), 'recommended_replace_vars' => $this->get_recommended_replace_vars( ), 'scope' => $this->determine_scope( ), ], 'shortcodes' => ['wpseo_shortcode_tags' => $this->get_valid_shortcode_tags( ), 'wpseo_filter_shortcodes_nonce' => wp_create_nonce('wpseo-filter-shortcodes'), ], ], 'worker' => ['url' => YoastSEO( )->helpers->asset->get_asset_url('yoast-seo-analysis-worker'), 'dependencies' => YoastSEO( )->helpers->asset->get_dependency_urls_by_handle('yoast-seo-analysis-worker'), 'keywords_assessment_url' => YoastSEO( )->helpers->asset->get_asset_url('yoast-seo-used-keywords-assessment'), 'log_level' => WPSEO_Utils::get_analysis_worker_log_level( ), ], ], 'media' => ['choose_image' => __('Use Image', 'wordpress-seo'), ], 'metabox' => $this->localize_term_scraper_script($tag_id), 'userLanguageCode' => WPSEO_Language_Utils::get_language(get_user_locale( )), 'isTerm' => true, 'postId' => $tag_id, 'termType' => $this->get_taxonomy( ), 'usedKeywordsNonce' => wp_create_nonce('wpseo-keyword-usage'), 'linkParams' => WPSEO_Shortlinker::get_query_params( ), 'pluginUrl' => plugins_url('', WPSEO_FILE), 'wistiaEmbedPermission' => YoastSEO( )->classes->get(Wistia_Embed_Permission_Repository::class)->get_value_for_user(get_current_user_id( )), ]
/admin/menu/class-replacevar-editor.php:741$this->arguments = ['title' => (string) $arguments['title'], 'description' => (string) $arguments['description'], 'page_type_recommended' => (string) $arguments['page_type_recommended'], 'page_type_specific' => (string) $arguments['page_type_specific'], 'paper_style' => (bool) $arguments['paper_style'], 'label_title' => (string) $arguments['label_title'], 'label_description' => (string) $arguments['label_description'], 'description_placeholder' => (string) $arguments['description_placeholder'], 'has_new_badge' => (bool) $arguments['has_new_badge'], 'is_disabled' => (bool) $arguments['is_disabled'], 'has_premium_badge' => (bool) $arguments['has_premium_badge'], ]
/src/services/health-check/default-tagline-reports.php:421return $this->get_report_builder( )->set_label(\__('You should change the default WordPress tagline', 'wordpress-seo'))->set_status_recommended( )->set_description(\__('You still have the default WordPress tagline. Even an empty one is probably better.', 'wordpress-seo'))->set_actions($this->get_actions( ))->build( )
/src/services/health-check/postname-permalink-reports.php:421return $this->get_report_builder( )->set_label(\__('You do not have your postname in the URL of your posts and pages', 'wordpress-seo'))->set_status_recommended( )->set_description($this->get_has_no_postname_in_permalink_description( ))->set_actions($this->get_has_no_postname_in_permalink_actions( ))->build( )
/src/deprecated/admin/views/class-view-utils.php:631$help_panel = new WPSEO_Admin_Help_Panel(uniqid('noindex-' . $post_type->name), esc_html__('Help on this search results setting', 'wordpress-seo'), sprintf($help_text, $post_type->labels->name, '<code>noindex</code>', '<a href="' . esc_url(WPSEO_Shortlinker::get('https://yoa.st/show-x')) . '" target="_blank" rel="noopener noreferrer">', '</a>'))
/src/analytics/application/to-be-cleaned-indexables-collector.php:401$cleanup_tasks = ['indexables_with_post_object_type_and_shop_order_object_sub_type' => $this->indexable_cleanup_repository->count_indexables_with_object_type_and_object_sub_type('post', 'shop_order'), 'indexables_with_auto-draft_post_status' => $this->indexable_cleanup_repository->count_indexables_with_post_status('auto-draft'), 'indexables_for_non_publicly_viewable_post' => $this->indexable_cleanup_repository->count_indexables_for_non_publicly_viewable_post( ), 'indexables_for_non_publicly_viewable_taxonomies' => $this->indexable_cleanup_repository->count_indexables_for_non_publicly_viewable_taxonomies( ), 'indexables_for_non_publicly_viewable_post_type_archive_pages' => $this->indexable_cleanup_repository->count_indexables_for_non_publicly_post_type_archive_pages( ), 'indexables_for_authors_archive_disabled' => $this->indexable_cleanup_repository->count_indexables_for_authors_archive_disabled( ), 'indexables_for_authors_without_archive' => $this->indexable_cleanup_repository->count_indexables_for_authors_without_archive( ), 'indexables_for_object_type_and_source_table_users' => $this->indexable_cleanup_repository->count_indexables_for_orphaned_users( ), 'indexables_for_object_type_and_source_table_posts' => $this->indexable_cleanup_repository->count_indexables_for_object_type_and_source_table('posts', 'ID', 'post'), 'indexables_for_object_type_and_source_table_terms' => $this->indexable_cleanup_repository->count_indexables_for_object_type_and_source_table('terms', 'term_id', 'term'), 'orphaned_from_table_indexable_hierarchy' => $this->indexable_cleanup_repository->count_orphaned_from_table('Indexable_Hierarchy', 'indexable_id'), 'orphaned_from_table_indexable_id' => $this->indexable_cleanup_repository->count_orphaned_from_table('SEO_Links', 'indexable_id'), 'orphaned_from_table_target_indexable_id' => $this->indexable_cleanup_repository->count_orphaned_from_table('SEO_Links', 'target_indexable_id'), ]
/src/services/health-check/report-builder.php:1401return ['label' => $this->label, 'status' => $this->status, 'badge' => $this->get_badge( ), 'description' => $this->description, 'actions' => $this->get_actions_with_signature( ), 'test' => $this->test_identifier, ]
/src/helpers/schema/replace-vars-helper.php:881$replace_vars = ['main_schema_id' => $context->main_schema_id, 'author_id' => $this->id_helper->get_user_schema_id($context->indexable->author_id, $context), 'person_id' => $context->site_url . Schema_IDs::PERSON_HASH, 'primary_image_id' => $context->canonical . Schema_IDs::PRIMARY_IMAGE_HASH, 'webpage_id' => $context->main_schema_id, 'website_id' => $context->site_url . Schema_IDs::WEBSITE_HASH, 'organization_id' => $context->site_url . Schema_IDs::ORGANIZATION_HASH, ]
/src/services/health-check/links-table-reports.php:571return $this->get_report_builder( )->set_label(\__('The text link counter feature is not working as expected', 'wordpress-seo'))->set_status_recommended( )->set_description($this->get_links_table_not_accessible_description( ))->set_actions($this->get_actions( ))->build( )
/src/services/health-check/page-comments-reports.php:421return $this->get_report_builder( )->set_label(\__('Comments break into multiple pages', 'wordpress-seo'))->set_status_recommended( )->set_description(\__('Comments on your posts break into multiple pages. As this is not needed in 999 out of 1000 cases, we recommend you disable it. To fix this, uncheck "Break comments into pages..." on the Discussion Settings page.', 'wordpress-seo'))->set_actions($this->get_has_comments_on_multiple_pages_actions( ))->build( )
/src/helpers/wincher-helper.php:851return ['links.wincher.login' => 'https://app.wincher.com/login?utm_medium=plugin&utm_source=yoast&referer=yoast&partner=yoast', 'links.wincher.about' => WPSEO_Shortlinker::get('https://yoa.st/dashboard-about-wincher'), 'links.wincher.pricing' => WPSEO_Shortlinker::get('https://yoa.st/wincher-popup-pricing'), 'links.wincher.website' => WPSEO_Shortlinker::get('https://yoa.st/wincher-popup'), 'links.wincher.upgrade' => WPSEO_Shortlinker::get('https://yoa.st/wincher-upgrade'), ]
/src/helpers/author-archive-helper.php:1661$indexable_exists = Model::of_type('Indexable')->select('id')->where('object_type', 'post')->where_in('object_sub_type', $this->get_author_archive_post_types( ))->where('author_id', $author_id)->where_null('is_public')->find_one( )
/src/helpers/short-link-helper.php:1061$data = ['php_version' => $this->get_php_version( ), 'platform' => 'wordpress', 'platform_version' => $this->get_platform_version( ), 'software' => $this->get_software( ), 'software_version' => \WPSEO_VERSION, 'days_active' => $this->get_days_active( ), 'user_language' => \get_user_locale( ), ]
/src/helpers/post-helper.php:1461$query = $this->repository->query( )->select('id')->where('object_type', 'post')->where('object_sub_type', 'attachment')->where('post_status', 'inherit')->where('post_parent', $post_parent)
/src/routes/first-time-configuration-route.php:991$site_representation_route = ['methods' => 'POST', 'callback' => [$this, 'set_site_representation'], 'permission_callback' => [$this, 'can_manage_options'], 'args' => ['company_or_person' => ['type' => 'string', 'enum' => ['company', 'person', ], 'required' => true, ], 'company_name' => ['type' => 'string', ], 'company_logo' => ['type' => 'string', ], 'company_logo_id' => ['type' => 'integer', ], 'person_logo' => ['type' => 'string', ], 'person_logo_id' => ['type' => 'integer', ], 'company_or_person_user_id' => ['type' => 'integer', ], 'description' => ['type' => 'string', ], ], ]
/src/routes/workouts-route.php:531$workouts_route = [['methods' => 'GET', 'callback' => [$this, 'get_workouts'], 'permission_callback' => $edit_others_posts, ], ['methods' => 'POST', 'callback' => [$this, 'set_workouts'], 'permission_callback' => $edit_others_posts, 'args' => $this->get_workouts_routes_args( ), ], ]
/src/helpers/author-archive-helper.php:1351$indexable_exists = Model::of_type('Indexable')->select('id')->where('object_type', 'post')->where_in('object_sub_type', $this->get_author_archive_post_types( ))->where('author_id', $author_id)->where('is_public', 1)->find_one( )
/src/routes/first-time-configuration-route.php:1371$social_profiles_route = ['methods' => 'POST', 'callback' => [$this, 'set_social_profiles'], 'permission_callback' => [$this, 'can_manage_options'], 'args' => ['facebook_site' => ['type' => 'string', ], 'twitter_site' => ['type' => 'string', ], 'other_social_urls' => ['type' => 'array', ], ], ]
/src/deprecated/src/routes/indexables-page-route.php:2401$restore_indexable_route = [['methods' => 'POST', 'callback' => [$this, 'restore_indexable'], 'permission_callback' => [$this, 'permission_edit_others_posts'], 'args' => ['id' => ['type' => 'integer', 'minimum' => 0, ], 'type' => ['type' => 'string', 'enum' => ['least_readability', 'least_seo_score', 'most_linked', 'least_linked', ], ], ], ], ]
/src/deprecated/src/routes/indexables-page-route.php:2751$restore_all_indexables_for_list_route = [['methods' => 'POST', 'callback' => [$this, 'restore_all_indexables_for_list'], 'permission_callback' => [$this, 'permission_edit_others_posts'], 'args' => ['type' => ['type' => 'string', 'enum' => ['least_readability', 'least_seo_score', 'most_linked', 'least_linked', ], ], ], ], ]
/src/deprecated/src/actions/indexables-page-action.php:2571$least_seo_score = $this->query( )->select_many('id', 'object_id', 'object_sub_type', 'permalink', 'breadcrumb_title', 'primary_focus_keyword', 'primary_focus_keyword_score')->where_not_in('id', $ignore_list)->where_not_equal('primary_focus_keyword', 0)->order_by_asc('primary_focus_keyword_score')->limit($limit)->find_many( )
/src/generators/schema/author.php:202if($this->context->indexable->object_type === 'post' && $this->helpers->schema->article->is_author_supported($this->context->indexable->object_sub_type) && $this->context->schema_article_type !== 'None') { /**/ }
/src/generators/schema/breadcrumb.php:411if(($this->helpers->current_page->is_paged( ) || $this->context->indexable->number_of_pages > 1) && (!$this->helpers->current_page->is_static_posts_page( ) && \count($breadcrumbs) > 1)) { /**/ }
/inc/wpseo-functions.php:1531if((is_array($config) && isset($config['wpml-config']['admin-texts']['key'])) && (is_array($config['wpml-config']['admin-texts']['key']) && $config['wpml-config']['admin-texts']['key'] !== [ ])) { /**/ }
/config/dependency-injection/loader-pass.php:651if(\strpos($path, 'src/helpers') !== false || \strpos($path, 'src/actions') !== false || \strpos($path, 'src/builders') !== false || \strpos($path, 'src/config') !== false || \strpos($path, 'src/context') !== false || \strpos($path, 'src/generators') !== false || \strpos($path, 'src/surfaces') !== false || \strpos($path, 'src/integrations') !== false || \strpos($path, 'src/loggers') !== false || \strpos($path, 'src/memoizers') !== false || \strpos($path, 'src/models') !== false || \strpos($path, 'src/presentations') !== false || \strpos($path, 'src/repositories') !== false || \strpos($path, 'src/services') !== false || \strpos($path, 'src/values') !== false || \strpos($path, 'src/wrappers') !== false || \strpos($path, 'src/wordpress') !== false || \strpos($path, 'src/loader') !== false) { /**/ }
/src/integrations/front-end/crawl-cleanup-rss.php:631if((\is_singular( ) && $this->is_true('remove_feed_post_comments')) || (\is_author( ) && $this->is_true('remove_feed_authors')) || (\is_category( ) && $this->is_true('remove_feed_categories')) || (\is_tag( ) && $this->is_true('remove_feed_tags')) || (\is_tax( ) && $this->is_true('remove_feed_custom_taxonomies')) || (\is_post_type_archive( ) && $this->is_true('remove_feed_post_types')) || (\is_search( ) && $this->is_true('remove_feed_search'))) { /**/ }
/inc/class-wpseo-replace-vars.php:6981if(isset($wp_query->query_vars['post_type']) && ((is_string($wp_query->query_vars['post_type']) && $wp_query->query_vars['post_type'] !== '') || (is_array($wp_query->query_vars['post_type']) && $wp_query->query_vars['post_type'] !== [ ]))) { /**/ } elseif(isset($this->args->post_type) && (is_string($this->args->post_type) && $this->args->post_type !== '')) { /**/ } else { /**/ }
/inc/options/class-wpseo-option-titles.php:8481if((isset($original[$old_prefix . $tax]) && !isset($original[$new_prefix . $tax])) && (!isset($option_value[$new_prefix . $tax]) || (isset($option_value[$new_prefix . $tax]) && $option_value[$new_prefix . $tax] === $defaults[$new_prefix . $tax]))) { /**/ }
/src/generators/breadcrumbs-generator.php:1191if($context->indexable->object_type === 'post' && $context->indexable->object_sub_type !== 'post' && $context->indexable->object_sub_type !== 'page' && $this->post_type_helper->has_archive($context->indexable->object_sub_type)) { /**/ }
/src/generators/schema/person.php:2752if($this->context->indexable->object_type === 'post' && $this->helpers->schema->article->is_author_supported($this->context->indexable->object_sub_type) && $this->context->schema_article_type !== 'None') { /**/ }
/src/integrations/front-end/crawl-cleanup-rss.php:921if(($wp_query->query === ['feed' => 'feed'] || $wp_query->query === ['feed' => 'atom'] || $wp_query->query === ['feed' => 'rdf']) && $this->is_true('remove_feed_global')) { /**/ }
/src/integrations/front-end/crawl-cleanup-rss.php:1151if((\is_category( ) && $this->is_true('remove_feed_categories')) || (\is_tag( ) && $this->is_true('remove_feed_tags')) || (\is_tax( ) && $this->is_true('remove_feed_custom_taxonomies'))) { /**/ }
/src/actions/indexing/indexable-post-indexation-action.php:1931return $this->wpdb->prepare(" SELECT P.ID FROM {$this->wpdb->posts} AS P WHERE P.post_type IN (" . \implode(', ', \array_fill(0, \count($post_types), '%s')) . ') AND P.post_status NOT IN (' . \implode(', ', \array_fill(0, \count($excluded_post_statuses), '%s')) . ") AND P.ID not in ( SELECT I.object_id from $indexable_table as I WHERE I.object_type = 'post' AND I.version = %d ) $limit_query", $replacements)
/src/actions/indexing/indexable-post-indexation-action.php:1531return $this->wpdb->prepare(" SELECT COUNT(P.ID) FROM {$this->wpdb->posts} AS P WHERE P.post_type IN (" . \implode(', ', \array_fill(0, \count($post_types), '%s')) . ') AND P.post_status NOT IN (' . \implode(', ', \array_fill(0, \count($excluded_post_statuses), '%s')) . ") AND P.ID not in ( SELECT I.object_id from $indexable_table as I WHERE I.object_type = 'post' AND I.version = %d )", $replacements)
/src/actions/indexing/post-link-indexing-action.php:1211return $this->wpdb->prepare(" SELECT P.ID, P.post_content FROM {$this->wpdb->posts} AS P LEFT JOIN $indexable_table AS I ON P.ID = I.object_id AND I.link_count IS NOT NULL AND I.object_type = 'post' LEFT JOIN $links_table AS L ON L.post_id = P.ID AND L.target_indexable_id IS NULL AND L.type = 'internal' AND L.target_post_id IS NOT NULL AND L.target_post_id != 0 WHERE ( I.object_id IS NULL OR L.post_id IS NOT NULL ) AND P.post_status = 'publish' AND P.post_type IN (" . \implode(', ', \array_fill(0, \count($public_post_types), '%s')) . ") $limit_query", $replacements)
/src/actions/indexing/post-link-indexing-action.php:811return $this->wpdb->prepare("SELECT COUNT(P.ID) FROM {$this->wpdb->posts} AS P LEFT JOIN $indexable_table AS I ON P.ID = I.object_id AND I.link_count IS NOT NULL AND I.object_type = 'post' LEFT JOIN $links_table AS L ON L.post_id = P.ID AND L.target_indexable_id IS NULL AND L.type = 'internal' AND L.target_post_id IS NOT NULL AND L.target_post_id != 0 WHERE ( I.object_id IS NULL OR L.post_id IS NOT NULL ) AND P.post_status = 'publish' AND P.post_type IN (" . \implode(', ', \array_fill(0, \count($public_post_types), '%s')) . ')', $public_post_types)
/src/generators/schema-generator.php:3051$schema_pieces = [new Schema\Article( ), new Schema\WebPage( ), new Schema\Main_Image( ), new Schema\Breadcrumb( ), new Schema\Website( ), new Schema\Organization( ), new Schema\Person( ), new Schema\Author( ), new Schema\FAQ( ), new Schema\HowTo( ), ]
/src/commands/index-command.php:2271$indexation_actions = ['posts' => $this->post_indexation_action, 'terms' => $this->term_indexation_action, 'post type archives' => $this->post_type_archive_indexation_action, 'general objects' => $this->general_indexation_action, 'post links' => $this->post_link_indexing_action, 'term links' => $this->term_link_indexing_action, ]
/src/generators/schema/website.php:271$data = ['@type' => 'WebSite', '@id' => $this->context->site_url . Schema_IDs::WEBSITE_HASH, 'url' => $this->context->site_url, 'name' => $this->helpers->schema->html->smart_strip_tags($this->context->site_name), 'description' => \get_bloginfo('description'), ]
/src/generators/schema/webpage.php:311$data = ['@type' => $this->context->schema_page_type, '@id' => $this->context->main_schema_id, 'url' => $this->context->canonical, 'name' => $this->helpers->schema->html->smart_strip_tags($this->context->title), 'isPartOf' => ['@id' => $this->context->site_url . Schema_IDs::WEBSITE_HASH, ], ]
/src/generators/schema/howto.php:1601$data = ['@type' => 'HowTo', '@id' => $this->context->canonical . '#howto-' . ($index + 1), 'name' => $this->helpers->schema->html->smart_strip_tags($this->helpers->post->get_post_title_with_fallback($this->context->id)), 'mainEntityOfPage' => ['@id' => $this->context->main_schema_id], 'description' => '', ]
/src/generators/schema/faq.php:851$data = ['@type' => 'Question', '@id' => $url, 'position' => $position, 'url' => $url, 'name' => $this->helpers->schema->html->smart_strip_tags($question['jsonQuestion']), 'answerCount' => 1, 'acceptedAnswer' => $this->add_accepted_answer_property($question), ]
/src/generators/schema/organization.php:361$organization = ['@type' => 'Organization', '@id' => $this->context->site_url . Schema_IDs::ORGANIZATION_HASH, 'name' => $this->helpers->schema->html->smart_strip_tags($this->context->company_name), ]
/src/generators/schema/article.php:481$data = ['@type' => $this->context->schema_article_type, '@id' => $this->context->canonical . Schema_IDs::ARTICLE_HASH, 'isPartOf' => ['@id' => $this->context->main_schema_id], 'author' => ['name' => ($author instanceof WP_User) ? $this->helpers->schema->html->smart_strip_tags($author->display_name) : '', '@id' => $this->helpers->schema->id->get_user_schema_id($this->context->post->post_author, $this->context), ], 'headline' => $this->helpers->schema->html->smart_strip_tags($this->helpers->post->get_post_title_with_fallback($this->context->id)), 'datePublished' => $this->helpers->date->format($this->context->post->post_date_gmt), 'dateModified' => $this->helpers->date->format($this->context->post->post_modified_gmt), 'mainEntityOfPage' => ['@id' => $this->context->main_schema_id], 'wordCount' => $this->word_count($this->context->post->post_content, $this->context->post->post_title), ]
/src/routes/wincher-route.php:1341$authentication_route_args = ['methods' => 'POST', 'callback' => [$this, 'authenticate'], 'permission_callback' => [$this, 'can_use_wincher'], 'args' => ['code' => ['validate_callback' => [$this, 'has_valid_code'], 'required' => true, ], 'websiteId' => ['validate_callback' => [$this, 'has_valid_website_id'], 'required' => true, ], ], ]
/src/routes/semrush-route.php:1411$related_keyphrases_route_args = ['methods' => 'GET', 'callback' => [$this, 'get_related_keyphrases'], 'permission_callback' => [$this, 'can_use_semrush'], 'args' => ['keyphrase' => ['validate_callback' => [$this, 'has_valid_keyphrase'], 'required' => true, ], 'country_code' => ['required' => true, ], ], ]
/src/routes/integrations-route.php:561$set_active_route = ['methods' => 'POST', 'callback' => [$this, 'set_integration_active'], 'permission_callback' => [$this, 'can_manage_options'], 'args' => ['active' => ['type' => 'boolean', 'required' => true, ], 'integration' => ['type' => 'string', 'required' => true, ], ], ]
/src/routes/wincher-route.php:1651$get_keyphrases_route_args = ['methods' => 'POST', 'callback' => [$this, 'get_tracked_keyphrases'], 'permission_callback' => [$this, 'can_use_wincher'], 'args' => ['keyphrases' => ['required' => false, ], 'permalink' => ['required' => false, ], 'startAt' => ['required' => false, ], ], ]
/src/integrations/admin/crawl-settings-integration.php:1371$this->basic_settings = ['remove_shortlinks' => \__('Shortlinks', 'wordpress-seo'), 'remove_rest_api_links' => \__('REST API links', 'wordpress-seo'), 'remove_rsd_wlw_links' => \__('RSD / WLW links', 'wordpress-seo'), 'remove_oembed_links' => \__('oEmbed links', 'wordpress-seo'), 'remove_generator' => \__('Generator tag', 'wordpress-seo'), 'remove_pingback_header' => \__('Pingback HTTP header', 'wordpress-seo'), 'remove_powered_by_header' => \__('Powered by HTTP header', 'wordpress-seo'), ]
/src/integrations/admin/crawl-settings-integration.php:1521$this->search_cleanup_settings = ['search_cleanup' => \__('Filter search terms', 'wordpress-seo'), 'search_cleanup_emoji' => \__('Filter searches with emojis and other special characters', 'wordpress-seo'), 'search_cleanup_patterns' => \__('Filter searches with common spam patterns', 'wordpress-seo'), 'deny_search_crawling' => \__('Prevent search engines from crawling site search URLs', 'wordpress-seo'), 'redirect_search_pretty_urls' => \__('Redirect pretty URLs for search pages to raw format', 'wordpress-seo'), ]
/src/integrations/admin/helpscout-beacon.php:2111$data = \array_merge(['name' => \trim($current_user->user_firstname . ' ' . $current_user->user_lastname), 'email' => $current_user->user_email, 'Languages' => $this->get_language_settings( ), ], $this->get_server_info( ), ['WordPress Version' => $this->get_wordpress_version( ), 'Active theme' => $this->get_theme_info( ), 'Active plugins' => $this->get_active_plugins( ), 'Must-use and dropins' => $this->get_mustuse_and_dropins( ), 'Indexables status' => $this->get_indexables_status( ), ])
/src/integrations/admin/import-integration.php:881$data = ['restApi' => ['root' => \esc_url_raw(\rest_url( )), 'cleanup_endpoints' => $this->get_cleanup_endpoints( ), 'importing_endpoints' => $this->get_importing_endpoints( ), 'nonce' => \wp_create_nonce('wp_rest'), ], 'assets' => ['loading_msg_import' => \esc_html__('The import can take a long time depending on your site\'s size.', 'wordpress-seo'), 'loading_msg_cleanup' => \esc_html__('The cleanup can take a long time depending on your site\'s size.', 'wordpress-seo'), 'note' => \esc_html__('Note: ', 'wordpress-seo'), 'cleanup_after_import_msg' => \esc_html__('After you\'ve imported data from another SEO plugin, please make sure to clean up all the original data from that plugin. (step 5)', 'wordpress-seo'), 'select_placeholder' => \esc_html__('Select SEO plugin', 'wordpress-seo'), 'no_data_msg' => \esc_html__('No data found from other SEO plugins.', 'wordpress-seo'), 'validation_failure' => $this->get_validation_failure_alert( ), 'import_failure' => $this->get_import_failure_alert(true), 'cleanup_failure' => $this->get_import_failure_alert(false), 'spinner' => \admin_url('images/loading.gif'), 'replacing_texts' => ['cleanup_button' => \esc_html__('Clean up', 'wordpress-seo'), 'import_explanation' => \esc_html__('Please select an SEO plugin below to see what data can be imported.', 'wordpress-seo'), 'cleanup_explanation' => \esc_html__('Once you\'re certain that your site is working properly with the imported data from another SEO plugin, you can clean up all the original data from that plugin.', 'wordpress-seo'), 'select_header' => \esc_html__('The import from %s includes:', 'wordpress-seo'), 'plugins' => ['aioseo' => [['data_name' => \esc_html__('Post metadata (SEO titles, descriptions, etc.)', 'wordpress-seo'), 'data_note' => \esc_html__('Note: This metadata will only be imported if there is no existing Yoast SEO metadata yet.', 'wordpress-seo'), ], ['data_name' => \esc_html__('Default settings', 'wordpress-seo'), 'data_note' => \esc_html__('Note: These settings will overwrite the default settings of Yoast SEO.', 'wordpress-seo'), ], ], 'other' => [['data_name' => \esc_html__('Post metadata (SEO titles, descriptions, etc.)', 'wordpress-seo'), 'data_note' => \esc_html__('Note: This metadata will only be imported if there is no existing Yoast SEO metadata yet.', 'wordpress-seo'), ], ], ], ], ], ]
/src/integrations/admin/indexing-tool-integration.php:1491$data = ['disabled' => !$this->indexable_helper->should_index_indexables( ), 'amount' => $this->indexing_helper->get_filtered_unindexed_count( ), 'firstTime' => ($this->indexing_helper->is_initial_indexing( ) === true), 'errorMessage' => $this->render_indexing_error( ), 'restApi' => ['root' => \esc_url_raw(\rest_url( )), 'indexing_endpoints' => $this->get_indexing_endpoints( ), 'importing_endpoints' => $this->get_importing_endpoints( ), 'nonce' => \wp_create_nonce('wp_rest'), ], ]
/src/integrations/third-party/wpml-wpseo-notification.php:1071return new Yoast_Notification(\sprintf(\__('We notice that you have installed WPML. To make sure your canonical URLs are set correctly, %1$sinstall and activate the WPML SEO add-on%2$s as well!', 'wordpress-seo'), '<a href="' . \esc_url($this->short_link_helper->get('https://yoa.st/wpml-yoast-seo')) . '" target="_blank">', '</a>'), ['id' => self::NOTIFICATION_ID, 'type' => Yoast_Notification::WARNING, ])
/src/integrations/third-party/elementor.php:4331$plugins_script_data = ['replaceVars' => ['no_parent_text' => \__('(no parent)', 'wordpress-seo'), 'replace_vars' => $this->get_replace_vars( ), 'recommended_replace_vars' => $this->get_recommended_replace_vars( ), 'hidden_replace_vars' => $this->get_hidden_replace_vars( ), 'scope' => $this->determine_scope( ), 'has_taxonomies' => $this->current_post_type_has_taxonomies( ), ], 'shortcodes' => ['wpseo_shortcode_tags' => $this->get_valid_shortcode_tags( ), 'wpseo_filter_shortcodes_nonce' => \wp_create_nonce('wpseo-filter-shortcodes'), ], ]
/src/integrations/third-party/elementor.php:4481$worker_script_data = ['url' => \YoastSEO( )->helpers->asset->get_asset_url('yoast-seo-analysis-worker'), 'dependencies' => \YoastSEO( )->helpers->asset->get_dependency_urls_by_handle('yoast-seo-analysis-worker'), 'keywords_assessment_url' => \YoastSEO( )->helpers->asset->get_asset_url('yoast-seo-used-keywords-assessment'), 'log_level' => WPSEO_Utils::get_analysis_worker_log_level( ), 'enabled_features' => WPSEO_Utils::retrieve_enabled_features( ), ]
/src/integrations/third-party/elementor.php:4611$script_data = ['media' => ['choose_image' => \__('Use Image', 'wordpress-seo')], 'metabox' => $this->get_metabox_script_data( ), 'userLanguageCode' => WPSEO_Language_Utils::get_language(\get_user_locale( )), 'isPost' => true, 'isBlockEditor' => WP_Screen::get( )->is_block_editor( ), 'isElementorEditor' => true, 'isWooCommerceActive' => $woocommerce_conditional->is_met( ), 'postStatus' => \get_post_status($post_id), 'postType' => \get_post_type($post_id), 'analysis' => ['plugins' => $plugins_script_data, 'worker' => $worker_script_data, ], 'dismissedAlerts' => $dismissed_alerts, 'webinarIntroElementorUrl' => WPSEO_Shortlinker::get('https://yoa.st/webinar-intro-elementor'), 'currentPromotions' => $this->promotion_manager->get_current_promotions( ), 'usedKeywordsNonce' => \wp_create_nonce('wpseo-keyword-usage-and-post-types'), 'linkParams' => WPSEO_Shortlinker::get_query_params( ), 'pluginUrl' => \plugins_url('', \WPSEO_FILE), 'wistiaEmbedPermission' => \YoastSEO( )->classes->get(Wistia_Embed_Permission_Repository::class)->get_value_for_user(\get_current_user_id( )), ]
/src/integrations/third-party/elementor.php:7741$replace_vars_fields = \implode(' ', [\YoastSEO( )->meta->for_post($post->ID)->presentation->title, \YoastSEO( )->meta->for_post($post->ID)->presentation->meta_description, ])
/src/integrations/front-end/rss-footer-embed.php:1681return ['%%AUTHORLINK%%' => $author_link, '%%POSTLINK%%' => \sprintf($link_template, \esc_url(\get_permalink( )), \esc_html(\get_the_title( ))), '%%BLOGLINK%%' => \sprintf($link_template, \esc_url(\get_bloginfo('url')), \esc_html(\get_bloginfo('name'))), '%%BLOGDESCLINK%%' => \sprintf($link_template, \esc_url(\get_bloginfo('url')), \esc_html(\get_bloginfo('name')) . ' - ' . \esc_html(\get_bloginfo('description'))), ]
/src/integrations/watchers/search-engines-discouraged-watcher.php:1921return ($this->search_engines_are_discouraged( ) && $this->capability_helper->current_user_can('manage_options') && $this->options_helper->get('ignore_search_engines_discouraged_notice', false) === false && ($this->current_page_helper->is_yoast_seo_page( ) || \in_array($this->current_page_helper->get_current_admin_page( ), $pages_to_show_notice, true)) && $this->current_page_helper->get_current_yoast_seo_page( ) !== 'wpseo_dashboard')
/src/presentations/indexable-presentation.php:2951return ['index' => ($this->model->is_robots_noindex === true) ? 'noindex' : 'index', 'follow' => ($this->model->is_robots_nofollow === true) ? 'nofollow' : 'follow', 'max-snippet' => 'max-snippet:-1', 'max-image-preview' => 'max-image-preview:large', 'max-video-preview' => 'max-video-preview:-1', ]
/src/presentations/indexable-post-type-presentation.php:3111$robots = \array_merge($robots, ['imageindex' => ($this->model->is_robots_noimageindex === true) ? 'noimageindex' : null, 'archive' => ($this->model->is_robots_noarchive === true) ? 'noarchive' : null, 'snippet' => ($this->model->is_robots_nosnippet === true) ? 'nosnippet' : null, ])
/src/actions/wincher/wincher-keyphrases-action.php:2811$keyphrases = \array_column($this->indexable_repository->query( )->select('primary_focus_keyword')->where_not_null('primary_focus_keyword')->where('object_type', 'post')->where_not_equal('post_status', 'trash')->distinct( )->find_array( ), 'primary_focus_keyword')
/src/actions/indexing/term-link-indexing-action.php:1151return $this->wpdb->prepare(" SELECT T.term_id, T.description FROM {$this->wpdb->term_taxonomy} AS T LEFT JOIN $indexable_table AS I ON T.term_id = I.object_id AND I.object_type = 'term' AND I.link_count IS NOT NULL WHERE I.object_id IS NULL AND T.taxonomy IN (" . \implode(', ', \array_fill(0, \count($public_taxonomies), '%s')) . ") $limit_query", $replacements)
/src/deprecated/src/actions/indexables-page-action.php:2291$least_readable = $this->query( )->select_many('id', 'object_id', 'object_sub_type', 'permalink', 'breadcrumb_title', 'readability_score')->where_not_in('id', $ignore_list)->where_not_equal('readability_score', 0)->order_by_asc('readability_score')->limit($limit)->find_many( )
/src/deprecated/src/actions/indexables-page-action.php:1471$features = ['isSeoScoreEnabled' => $this->options_helper->get('keyword_analysis_active', true), 'isReadabilityEnabled' => $this->options_helper->get('content_analysis_active', true), 'isLinkCountEnabled' => $this->options_helper->get('enable_text_link_counter', true), ]
/src/deprecated/src/integrations/admin/indexables-page-integration.php:1531$data = ['disabled' => !\YoastSEO( )->helpers->indexable->should_index_indexables( ), 'amount' => \YoastSEO( )->helpers->indexing->get_filtered_unindexed_count( ), 'firstTime' => '0', 'errorMessage' => $this->render_indexing_error( ), 'restApi' => ['root' => \esc_url_raw(\rest_url( )), 'indexing_endpoints' => $this->get_endpoints( ), 'nonce' => \wp_create_nonce('wp_rest'), ], ]
/src/deprecated/src/integrations/admin/social-templates-integration.php:2601$editor = new WPSEO_Replacevar_Editor($yform, ['title' => 'social-title-' . $identifier, 'description' => 'social-description-' . $identifier, 'page_type_recommended' => $page_type_recommended, 'page_type_specific' => $page_type_specific, 'paper_style' => false, 'label_title' => \__('Social title', 'wordpress-seo'), 'label_description' => \__('Social description', 'wordpress-seo'), 'description_placeholder' => '', 'is_disabled' => !$is_form_enabled, ])
/src/deprecated/src/routes/indexables-page-route.php:2151$update_ignored_indexables_route = [['methods' => 'POST', 'callback' => [$this, 'update_ignored_indexables'], 'permission_callback' => [$this, 'permission_edit_others_posts'], 'args' => ['id' => ['type' => 'integer', 'minimum' => 0, ], 'type' => ['type' => 'string', 'enum' => ['least_readability', 'least_seo_score', 'most_linked', 'least_linked', ], ], ], ], ]
/src/deprecated/src/actions/indexables-page-action.php:3141$least_linked = $this->query( )->select_many('id', 'object_id', 'object_sub_type', 'permalink', 'breadcrumb_title', 'incoming_link_count')->where_not_in('id', $ignore_list)->order_by_asc('incoming_link_count')->limit($limit)->find_many( )
/src/deprecated/src/actions/indexables-page-action.php:2851$most_linked = $this->query( )->select_many('id', 'object_id', 'object_sub_type', 'permalink', 'breadcrumb_title', 'incoming_link_count', 'is_cornerstone')->where_gt('incoming_link_count', 0)->where_not_null('incoming_link_count')->where_not_in('id', $ignore_list)->order_by_desc('incoming_link_count')->limit($limit)->find_many( )