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/views/class-yoast-input-select.php +6 -0 18.228.5 View file →
@@ -61,8 +61,10 @@
61 61 }
62 62
63 63 /**
64 64 * Print the rendered view.
65 + *
66 + * @return void
65 67 */
66 68 public function output_html() {
67 69 // Extract it, because we want each value accessible via a variable instead of accessing it as an array.
68 70 extract( $this->get_select_values() );
@@ -90,8 +92,10 @@
90 92 * Add an attribute to the attributes property.
91 93 *
92 94 * @param string $attribute The name of the attribute to add.
93 95 * @param string $value The value of the attribute.
96 + *
97 + * @return void
94 98 */
95 99 public function add_attribute( $attribute, $value ) {
96 100 $this->select_attributes[ $attribute ] = $value;
97 101 }
@@ -132,8 +136,10 @@
132 136 * Get an attribute from the attributes.
133 137 *
134 138 * @param string $value The value of the attribute.
135 139 * @param string $attribute The attribute to look for.
140 + *
141 + * @return void
136 142 */
137 143 private function parse_attribute( &$value, $attribute ) {
138 144 $value = sprintf( '%s="%s"', sanitize_key( $attribute ), esc_attr( $value ) );
139 145 }