WordPress.org

Make WordPress Core

Changeset 50952


Ignore:
Timestamp:
05/22/2021 01:08:12 PM (5 months ago)
Author:
SergeyBiryukov
Message:

Docs: Use 3-digit, x.x.x-style semantic versioning for two _doing_it_wrong() calls.

Follow-up to [37985], [38420], [39021].

See #52628.

Location:
trunk/src/wp-includes
Files:
2 edited

Legend:

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

    r50947 r50952  
    12221222    function check_ajax_referer( $action = -1, $query_arg = false, $die = true ) {
    12231223        if ( -1 == $action ) {
    1224             _doing_it_wrong( __FUNCTION__, __( 'You should specify an action to be verified by using the first parameter.' ), '4.7' );
     1224            _doing_it_wrong( __FUNCTION__, __( 'You should specify an action to be verified by using the first parameter.' ), '4.7.0' );
    12251225        }
    12261226
  • trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-controller.php

    r49927 r50952  
    5151            /* translators: %s: register_routes() */
    5252            sprintf( __( "Method '%s' must be overridden." ), __METHOD__ ),
    53             '4.7'
     53            '4.7.0'
    5454        );
    5555    }
Note: See TracChangeset for help on using the changeset viewer.