PluginProbe
Parse.ly / 3.8.4
Parse.ly v3.8.4
3.24.1 3.24.0 3.23.7 3.23.6 3.23.5 3.23.4 3.23.3 3.16.0 3.16.1 3.16.2 3.16.3 3.16.4 3.17.0 3.18.0 3.18.1 3.19.0 3.19.1 3.19.2 3.19.3 3.2.0 3.2.1 3.20.0 3.20.1 3.20.2 3.20.3 All 105 releases
← All changes | src/UI/class-metadata-renderer.php +5 -5 3.16.43.8.4 View file →
@@ -71,9 +71,9 @@
71 71 /**
72 72 * Inserts the code for the meta parameter within the head tag.
73 73 *
74 74 * @since 3.2.0
75 - * @since 3.3.0 Moved from `Parsely` class to `Metadata_Header`.
75 + * @since 3.3.0 Moved from `Parsely` class to `Metadata_Header`
76 76 *
77 77 * @param string $meta_type `json_ld` or `repeated_metas`.
78 78 */
79 79 public function render_metadata( string $meta_type ): void {
@@ -150,13 +150,13 @@
150 150 /**
151 151 * Function to be used in `array_filter` to clean up repeated metas.
152 152 *
153 153 * @since 2.6.0
154 - * @since 3.3.0 Moved from `Parsely` class to `Metadata_Header`.
154 + * @since 3.3.0 Moved from `Parsely` class to `Metadata_Header`
155 155 *
156 - * @param mixed $value Value to filter from the array.
156 + * @param mixed $var Value to filter from the array.
157 157 * @return bool True if the variable is not empty, and it's a string.
158 158 */
159 - private function filter_empty_and_not_string_from_array( $value ): bool {
160 - return is_string( $value ) && '' !== $value;
159 + private function filter_empty_and_not_string_from_array( $var ): bool {
160 + return is_string( $var ) && '' !== $var;
161 161 }
162 162 }