Make WordPress Core


Ignore:
Timestamp:
02/01/2020 08:30:20 PM (6 years ago)
Author:
SergeyBiryukov
Message:

Text Changes: Add missing periods to some error messages, for consistency.

Props Presskopp.
Fixes #42735.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-metadata-lazyloader.php

    r46586 r47153  
    7575    public function queue_objects( $object_type, $object_ids ) {
    7676        if ( ! isset( $this->settings[ $object_type ] ) ) {
    77             return new WP_Error( 'invalid_object_type', __( 'Invalid object type' ) );
     77            return new WP_Error( 'invalid_object_type', __( 'Invalid object type.' ) );
    7878        }
    7979
     
    115115    public function reset_queue( $object_type ) {
    116116        if ( ! isset( $this->settings[ $object_type ] ) ) {
    117             return new WP_Error( 'invalid_object_type', __( 'Invalid object type' ) );
     117            return new WP_Error( 'invalid_object_type', __( 'Invalid object type.' ) );
    118118        }
    119119
Note: See TracChangeset for help on using the changeset viewer.