PluginProbe
Yoast SEO – Advanced SEO with real-time guidance and built-in AI / trunk
Yoast SEO – Advanced SEO with real-time guidance and built-in AI vtrunk
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/metabox/class-metabox-section-readability.php +6 -2 18.3 → trunk View file →
@@ -18,8 +18,10 @@
18 18 public $name = 'readability';
19 19
20 20 /**
21 21 * Outputs the section link.
22 + *
23 + * @return void
22 24 */
23 25 public function display_link() {
24 26 printf(
25 27 '<li role="presentation"><a role="tab" href="#wpseo-meta-section-%1$s" id="wpseo-meta-tab-%1$s" aria-controls="wpseo-meta-section-%1$s" class="wpseo-meta-section-link">
@@ -24,19 +26,21 @@
24 26 printf(
25 27 '<li role="presentation"><a role="tab" href="#wpseo-meta-section-%1$s" id="wpseo-meta-tab-%1$s" aria-controls="wpseo-meta-section-%1$s" class="wpseo-meta-section-link">
26 28 <div class="wpseo-score-icon-container" id="wpseo-readability-score-icon"></div><span>%2$s</span></a></li>',
27 29 esc_attr( $this->name ),
28 - esc_html__( 'Readability', 'wordpress-seo' )
30 + esc_html__( 'Readability', 'wordpress-seo' ),
29 31 );
30 32 }
31 33
32 34 /**
33 35 * Outputs the section content.
36 + *
37 + * @return void
34 38 */
35 39 public function display_content() {
36 40 printf(
37 41 '<div role="tabpanel" id="wpseo-meta-section-%1$s" aria-labelledby="wpseo-meta-tab-%1$s" tabindex="0" class="wpseo-meta-section">',
38 - esc_attr( $this->name )
42 + esc_attr( $this->name ),
39 43 );
40 44 echo '<div id="wpseo-metabox-readability-root" class="wpseo-metabox-root"></div>', '</div>';
41 45 }
42 46 }