Docs: Use a hyphen with the "non" prefix in a more consistent way.
See #49572. Built from https://develop.svn.wordpress.org/trunk@48106 git-svn-id: http://core.svn.wordpress.org/trunk@47875 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
26621b3b44
commit
3fb623cf76
|
@ -270,7 +270,7 @@ themes.Collection = Backbone.Collection.extend({
|
|||
// it means we have a paginated request.
|
||||
isPaginated = _.has( request, 'page' );
|
||||
|
||||
// Reset the internal api page counter for non paginated queries.
|
||||
// Reset the internal api page counter for non-paginated queries.
|
||||
if ( ! isPaginated ) {
|
||||
this.currentQuery.page = 1;
|
||||
}
|
||||
|
|
|
@ -19,7 +19,7 @@ function twentynineteen_body_classes( $classes ) {
|
|||
// Adds `singular` to singular pages.
|
||||
$classes[] = 'singular';
|
||||
} else {
|
||||
// Adds `hfeed` to non singular pages.
|
||||
// Adds `hfeed` to non-singular pages.
|
||||
$classes[] = 'hfeed';
|
||||
}
|
||||
|
||||
|
|
|
@ -75,7 +75,7 @@ twentytwenty.touchEnabled = {
|
|||
|
||||
init: function() {
|
||||
var matchMedia = function() {
|
||||
// Include the 'heartz' as a way to have a non matching MQ to help terminate the join. See <https://git.io/vznFH>.
|
||||
// Include the 'heartz' as a way to have a non-matching MQ to help terminate the join. See <https://git.io/vznFH>.
|
||||
var prefixes = [ '-webkit-', '-moz-', '-o-', '-ms-' ];
|
||||
var query = [ '(', prefixes.join( 'touch-enabled),(' ), 'heartz', ')' ].join( '' );
|
||||
return window.matchMedia && window.matchMedia( query ).matches;
|
||||
|
|
|
@ -120,7 +120,7 @@
|
|||
var format;
|
||||
var zero;
|
||||
|
||||
// We need a non empty text node with an offset greater than zero.
|
||||
// We need a non-empty text node with an offset greater than zero.
|
||||
if ( ! node || node.nodeType !== 3 || ! node.data.length || ! offset ) {
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -248,7 +248,7 @@
|
|||
// Add post and edit endpoints as model args.
|
||||
if ( _.includes( routeEndpoint.methods, 'POST' ) || _.includes( routeEndpoint.methods, 'PUT' ) ) {
|
||||
|
||||
// Add any non empty args, merging them into the args object.
|
||||
// Add any non-empty args, merging them into the args object.
|
||||
if ( ! _.isEmpty( routeEndpoint.args ) ) {
|
||||
|
||||
// Set as default if no args yet.
|
||||
|
@ -265,7 +265,7 @@
|
|||
// Add GET method as model options.
|
||||
if ( _.includes( routeEndpoint.methods, 'GET' ) ) {
|
||||
|
||||
// Add any non empty args, merging them into the defaults object.
|
||||
// Add any non-empty args, merging them into the defaults object.
|
||||
if ( ! _.isEmpty( routeEndpoint.args ) ) {
|
||||
|
||||
// Set as default if no defaults yet.
|
||||
|
@ -327,7 +327,7 @@
|
|||
setDate: function( date, field ) {
|
||||
var theField = field || 'date';
|
||||
|
||||
// Don't alter non parsable date fields.
|
||||
// Don't alter non-parsable date fields.
|
||||
if ( _.indexOf( parseableDates, theField ) < 0 ) {
|
||||
return false;
|
||||
}
|
||||
|
@ -348,7 +348,7 @@
|
|||
var theField = field || 'date',
|
||||
theISODate = this.get( theField );
|
||||
|
||||
// Only get date fields and non null values.
|
||||
// Only get date fields and non-null values.
|
||||
if ( _.indexOf( parseableDates, theField ) < 0 || _.isNull( theISODate ) ) {
|
||||
return false;
|
||||
}
|
||||
|
|
|
@ -1464,7 +1464,7 @@ function get_object_subtype( $object_type, $object_id ) {
|
|||
}
|
||||
|
||||
/**
|
||||
* Filters the object subtype identifier for a non standard object type.
|
||||
* Filters the object subtype identifier for a non-standard object type.
|
||||
*
|
||||
* The dynamic portion of the hook, `$object_type`, refers to the object
|
||||
* type (post, comment, term, or user).
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.5-alpha-48105';
|
||||
$wp_version = '5.5-alpha-48106';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue