Make WordPress Core


Ignore:
Timestamp:
12/04/2016 08:36:02 PM (10 years ago)
Author:
rachelbaker
Message:

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

Merges [39490] to the 4.7 branch.

Props ramiy.
Fixes #39014 for 4.7.

Location:
branches/4.7
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/4.7

  • branches/4.7/src/wp-includes/comment.php

    r39188 r39491  
    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.