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 | src/presenters/admin/light-switch-presenter.php +2 -2 18.428.5 View file →
@@ -136,9 +136,9 @@
136 136 '<span class="switch-light-visual-label%1$s" id="%2$s">%3$s</span>%4$s',
137 137 $strong_class, // phpcs:ignore WordPress.Security.EscapeOutput -- Reason: $strong_class output is hardcoded.
138 138 \esc_attr( $this->var . '-label' ),
139 139 \esc_html( $this->label ),
140 - $this->help // phpcs:ignore WordPress.Security.EscapeOutput -- Reason: The help contains HTML.
140 + $this->help, // phpcs:ignore WordPress.Security.EscapeOutput -- Reason: The help contains HTML.
141 141 );
142 142 $output .= '<label class="' . $class . '"><b class="switch-yoast-seo-jaws-a11y">&nbsp;</b>';
143 143 $output .= \sprintf(
144 144 '<input type="checkbox" aria-labelledby="%1$s" id="%2$s" name="%3$s" value="on"%4$s%5$s/>',
@@ -145,9 +145,9 @@
145 145 \esc_attr( $this->var . '-label' ),
146 146 \esc_attr( $this->var ),
147 147 \esc_attr( $this->name ),
148 148 \checked( $this->value, 'on', false ), // phpcs:ignore WordPress.Security.EscapeOutput -- Reason: The output is hardcoded by WordPress.
149 - $this->disabled_attribute // phpcs:ignore WordPress.Security.EscapeOutput -- Reason: $disabled_attribute output is hardcoded.
149 + $this->disabled_attribute, // phpcs:ignore WordPress.Security.EscapeOutput -- Reason: $disabled_attribute output is hardcoded.
150 150 );
151 151 $output .= '<span aria-hidden="true">';
152 152 $output .= '<span>' . \esc_html( $off_button ) . '</span>';
153 153 $output .= '<span>' . \esc_html( $on_button ) . '</span>';