WordPress.org

Make WordPress Core

Changeset 39490 for trunk


Ignore:
Timestamp:
12/04/2016 08:31:27 PM (4 years ago)
Author:
rachelbaker
Message:

Comments: Merge similar strings between comments.php and the REST API comments controller.

Props ramiy.
Fixes #39014.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/comment.php

    r39188 r39490  
    30603060    } else {
    30613061        if ( get_option( 'comment_registration' ) ) {
    3062             return new WP_Error( 'not_logged_in', __( 'Sorry, you must be logged in to post a comment.' ), 403 );
     3062            return new WP_Error( 'not_logged_in', __( 'Sorry, you must be logged in to comment.' ), 403 );
    30633063        }
    30643064    }
Note: See TracChangeset for help on using the changeset viewer.