← All changes
|
admin/metabox/class-abstract-sectioned-metabox-tab.php
+3
-1
18.0
→
trunk
View file →
| @@ -71,8 +71,10 @@ | ||
| 71 | 71 | } |
| 72 | 72 | |
| 73 | 73 | /** |
| 74 | 74 | * Outputs the section link if any section has been added. |
| 75 | + * | |
| 76 | + * @return void | |
| 75 | 77 | */ |
| 76 | 78 | public function display_link() { |
| 77 | 79 | if ( $this->has_sections() ) { |
| 78 | 80 | printf( |
| @@ -80,9 +82,9 @@ | ||
| 80 | 82 | esc_attr( $this->name ), |
| 81 | 83 | esc_attr( $this->link_class ), |
| 82 | 84 | ( $this->link_title !== '' ) ? ' title="' . esc_attr( $this->link_title ) . '"' : '', |
| 83 | 85 | ( $this->link_aria_label !== '' ) ? ' aria-label="' . esc_attr( $this->link_aria_label ) . '"' : '', |
| 84 | - $this->link_content | |
| 86 | + $this->link_content, | |
| 85 | 87 | ); |
| 86 | 88 | } |
| 87 | 89 | } |
| 88 | 90 | |