mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-06 23:58:03 +00:00
Text Changes: Add missing periods to some error messages, for consistency.
Props Presskopp. Fixes #42735. git-svn-id: https://develop.svn.wordpress.org/trunk@47153 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -74,7 +74,7 @@ class WP_Metadata_Lazyloader {
|
||||
*/
|
||||
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 @@ class WP_Metadata_Lazyloader {
|
||||
*/
|
||||
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 ];
|
||||
|
||||
Reference in New Issue
Block a user