| @@ -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 | } |