wp/wp-includes/class-wp-metadata-lazyloader.php
changeset 16 a86126ab1dd4
parent 9 177826044cd9
child 18 be944660c56a
--- a/wp/wp-includes/class-wp-metadata-lazyloader.php	Tue Oct 22 16:11:46 2019 +0200
+++ b/wp/wp-includes/class-wp-metadata-lazyloader.php	Tue Dec 15 13:49:49 2020 +0100
@@ -74,7 +74,7 @@
 	 */
 	public function queue_objects( $object_type, $object_ids ) {
 		if ( ! isset( $this->settings[ $object_type ] ) ) {
-			return new WP_Error( 'invalid_object_type', __( 'Invalid object type' ) );
+			return new WP_Error( 'invalid_object_type', __( 'Invalid object type.' ) );
 		}
 
 		$type_settings = $this->settings[ $object_type ];
@@ -114,7 +114,7 @@
 	 */
 	public function reset_queue( $object_type ) {
 		if ( ! isset( $this->settings[ $object_type ] ) ) {
-			return new WP_Error( 'invalid_object_type', __( 'Invalid object type' ) );
+			return new WP_Error( 'invalid_object_type', __( 'Invalid object type.' ) );
 		}
 
 		$type_settings = $this->settings[ $object_type ];