PluginProbe
Yoast SEO – Advanced SEO with real-time guidance and built-in AI / 28.5
Yoast SEO – Advanced SEO with real-time guidance and built-in AI v28.5
28.5 28.4 28.3 28.2 28.1 28.0 27.9 27.8 27.7 27.6 27.5 trunk 18.0 18.1 18.2 18.3 18.4 18.4.1 18.5 18.5.1 18.6 18.7 18.8 18.9 19.0 All 129 releases
← All changes | admin/class-admin-editor-specific-replace-vars.php +5 -5 18.428.5 View file →
@@ -40,14 +40,14 @@
40 40 */
41 41 public function __construct() {
42 42 $this->add_for_page_types(
43 43 [ 'page', 'post', 'custom_post_type' ],
44 - WPSEO_Custom_Fields::get_custom_fields()
44 + WPSEO_Custom_Fields::get_custom_fields(),
45 45 );
46 46
47 47 $this->add_for_page_types(
48 48 [ 'post', 'term-in-custom-taxonomy' ],
49 - WPSEO_Custom_Taxonomies::get_custom_taxonomies()
49 + WPSEO_Custom_Taxonomies::get_custom_taxonomies(),
50 50 );
51 51 }
52 52
53 53 /**
@@ -58,13 +58,13 @@
58 58 public function get() {
59 59 /**
60 60 * Filter: Adds the possibility to add extra editor specific replacement variables.
61 61 *
62 - * @api array $replacement_variables Array of editor specific replace vars.
62 + * @param array $replacement_variables Array of editor specific replace vars.
63 63 */
64 64 $replacement_variables = apply_filters(
65 65 'wpseo_editor_specific_replace_vars',
66 - $this->replacement_variables
66 + $this->replacement_variables,
67 67 );
68 68
69 69 if ( ! is_array( $replacement_variables ) ) {
70 70 $replacement_variables = $this->replacement_variables;
@@ -84,9 +84,9 @@
84 84 */
85 85 public function get_generic( $replacement_variables ) {
86 86 $shared_variables = array_diff(
87 87 $this->extract_names( $replacement_variables ),
88 - $this->get_unique_replacement_variables()
88 + $this->get_unique_replacement_variables(),
89 89 );
90 90
91 91 return array_values( $shared_variables );
92 92 }