Coding Standards: Fix spacing for incrementors and decrementors in various files.
Note: This will be enforced by WPCS 3.0.0. Props jrf. See #56791. Built from https://develop.svn.wordpress.org/trunk@54896 git-svn-id: http://core.svn.wordpress.org/trunk@54448 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
1750d30863
commit
653c410859
|
@ -626,7 +626,7 @@ function _list_meta_row( $entry, &$count ) {
|
||||||
}
|
}
|
||||||
|
|
||||||
$r = '';
|
$r = '';
|
||||||
++ $count;
|
++$count;
|
||||||
|
|
||||||
if ( is_serialized( $entry['meta_value'] ) ) {
|
if ( is_serialized( $entry['meta_value'] ) ) {
|
||||||
if ( is_serialized_string( $entry['meta_value'] ) ) {
|
if ( is_serialized_string( $entry['meta_value'] ) ) {
|
||||||
|
|
|
@ -262,7 +262,7 @@ function wp_date( $format, $timestamp = null, $timezone = null ) {
|
||||||
$month = $wp_locale->get_month( $datetime->format( 'm' ) );
|
$month = $wp_locale->get_month( $datetime->format( 'm' ) );
|
||||||
$weekday = $wp_locale->get_weekday( $datetime->format( 'w' ) );
|
$weekday = $wp_locale->get_weekday( $datetime->format( 'w' ) );
|
||||||
|
|
||||||
for ( $i = 0; $i < $format_length; $i ++ ) {
|
for ( $i = 0; $i < $format_length; $i++ ) {
|
||||||
switch ( $format[ $i ] ) {
|
switch ( $format[ $i ] ) {
|
||||||
case 'D':
|
case 'D':
|
||||||
$new_format .= addcslashes( $wp_locale->get_weekday_abbrev( $weekday ), '\\A..Za..z' );
|
$new_format .= addcslashes( $wp_locale->get_weekday_abbrev( $weekday ), '\\A..Za..z' );
|
||||||
|
|
|
@ -107,7 +107,7 @@ abstract class WP_Sitemaps_Provider {
|
||||||
$sitemap_types = $this->get_sitemap_type_data();
|
$sitemap_types = $this->get_sitemap_type_data();
|
||||||
|
|
||||||
foreach ( $sitemap_types as $type ) {
|
foreach ( $sitemap_types as $type ) {
|
||||||
for ( $page = 1; $page <= $type['pages']; $page ++ ) {
|
for ( $page = 1; $page <= $type['pages']; $page++ ) {
|
||||||
$sitemap_entry = array(
|
$sitemap_entry = array(
|
||||||
'loc' => $this->get_sitemap_url( $type['name'], $page ),
|
'loc' => $this->get_sitemap_url( $type['name'], $page ),
|
||||||
);
|
);
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '6.2-alpha-54895';
|
$wp_version = '6.2-alpha-54896';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue