--- a/wp/wp-includes/class-wp-metadata-lazyloader.php Tue Dec 15 15:52:01 2020 +0100
+++ b/wp/wp-includes/class-wp-metadata-lazyloader.php Wed Sep 21 18:19:35 2022 +0200
@@ -70,7 +70,7 @@
*
* @param string $object_type Type of object whose meta is to be lazy-loaded. Accepts 'term' or 'comment'.
* @param array $object_ids Array of object IDs.
- * @return bool|WP_Error True on success, WP_Error on failure.
+ * @return void|WP_Error WP_Error on failure.
*/
public function queue_objects( $object_type, $object_ids ) {
if ( ! isset( $this->settings[ $object_type ] ) ) {
@@ -110,7 +110,7 @@
* @since 4.5.0
*
* @param string $object_type Object type. Accepts 'comment' or 'term'.
- * @return bool|WP_Error True on success, WP_Error on failure.
+ * @return void|WP_Error WP_Error on failure.
*/
public function reset_queue( $object_type ) {
if ( ! isset( $this->settings[ $object_type ] ) ) {