mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-10 12:50:18 +01:00
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 = '';
|
||||
++ $count;
|
||||
++$count;
|
||||
|
||||
if ( is_serialized( $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' ) );
|
||||
$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 ] ) {
|
||||
case 'D':
|
||||
$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();
|
||||
|
||||
foreach ( $sitemap_types as $type ) {
|
||||
for ( $page = 1; $page <= $type['pages']; $page ++ ) {
|
||||
for ( $page = 1; $page <= $type['pages']; $page++ ) {
|
||||
$sitemap_entry = array(
|
||||
'loc' => $this->get_sitemap_url( $type['name'], $page ),
|
||||
);
|
||||
|
@ -16,7 +16,7 @@
|
||||
*
|
||||
* @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.
|
||||
|
Loading…
Reference in New Issue
Block a user