WordPress.org

Make WordPress Core

Changeset 48106


Ignore:
Timestamp:
06/20/2020 12:13:58 PM (18 months ago)
Author:
SergeyBiryukov
Message:

Docs: Use a hyphen with the "non" prefix in a more consistent way.

See #49572.

Location:
trunk
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/js/_enqueues/vendor/tinymce/plugins/wptextpattern/plugin.js

    r47122 r48106  
    121121            var zero;
    122122
    123             // We need a non empty text node with an offset greater than zero.
     123            // We need a non-empty text node with an offset greater than zero.
    124124            if ( ! node || node.nodeType !== 3 || ! node.data.length || ! offset ) {
    125125                return;
  • trunk/src/js/_enqueues/wp/api.js

    r48104 r48106  
    249249            if ( _.includes( routeEndpoint.methods, 'POST' ) || _.includes( routeEndpoint.methods, 'PUT' ) ) {
    250250
    251                 // Add any non empty args, merging them into the args object.
     251                // Add any non-empty args, merging them into the args object.
    252252                if ( ! _.isEmpty( routeEndpoint.args ) ) {
    253253
     
    266266                if ( _.includes( routeEndpoint.methods, 'GET' ) ) {
    267267
    268                     // Add any non empty args, merging them into the defaults object.
     268                    // Add any non-empty args, merging them into the defaults object.
    269269                    if ( ! _.isEmpty( routeEndpoint.args ) ) {
    270270
     
    328328                    var theField = field || 'date';
    329329
    330                     // Don't alter non parsable date fields.
     330                    // Don't alter non-parsable date fields.
    331331                    if ( _.indexOf( parseableDates, theField ) < 0 ) {
    332332                        return false;
     
    349349                        theISODate = this.get( theField );
    350350
    351                     // Only get date fields and non null values.
     351                    // Only get date fields and non-null values.
    352352                    if ( _.indexOf( parseableDates, theField ) < 0 || _.isNull( theISODate ) ) {
    353353                        return false;
  • trunk/src/js/_enqueues/wp/theme.js

    r48037 r48106  
    271271        isPaginated = _.has( request, 'page' );
    272272
    273         // Reset the internal api page counter for non paginated queries.
     273        // Reset the internal api page counter for non-paginated queries.
    274274        if ( ! isPaginated ) {
    275275            this.currentQuery.page = 1;
  • trunk/src/wp-content/themes/twentynineteen/inc/template-functions.php

    r47550 r48106  
    2020        $classes[] = 'singular';
    2121    } else {
    22         // Adds `hfeed` to non singular pages.
     22        // Adds `hfeed` to non-singular pages.
    2323        $classes[] = 'hfeed';
    2424    }
  • trunk/src/wp-content/themes/twentytwenty/assets/js/index.js

    r47784 r48106  
    7676    init: function() {
    7777        var matchMedia = function() {
    78             // Include the 'heartz' as a way to have a non matching MQ to help terminate the join. See <https://git.io/vznFH>.
     78            // Include the 'heartz' as a way to have a non-matching MQ to help terminate the join. See <https://git.io/vznFH>.
    7979            var prefixes = [ '-webkit-', '-moz-', '-o-', '-ms-' ];
    8080            var query = [ '(', prefixes.join( 'touch-enabled),(' ), 'heartz', ')' ].join( '' );
  • trunk/src/wp-includes/meta.php

    r48100 r48106  
    14651465
    14661466    /**
    1467      * Filters the object subtype identifier for a non standard object type.
     1467     * Filters the object subtype identifier for a non-standard object type.
    14681468     *
    14691469     * The dynamic portion of the hook, `$object_type`, refers to the object
  • trunk/tests/phpunit/tests/rest-api/rest-block-renderer-controller.php

    r48069 r48106  
    4848
    4949    /**
    50      * Non dynamic block name.
     50     * Non-dynamic block name.
    5151     *
    5252     * @since 5.5.0
Note: See TracChangeset for help on using the changeset viewer.