Changeset 56191 for trunk/src/wp-includes/functions.php
- Timestamp:
- 07/10/2023 10:36:06 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/functions.php
r56115 r56191 3798 3798 $dir_attr = "dir='$text_direction'"; 3799 3799 3800 // If `text_direction` was not explicitly passed, 3801 // use get_language_attributes() if available. 3800 /* 3801 * If `text_direction` was not explicitly passed, 3802 * use get_language_attributes() if available. 3803 */ 3802 3804 if ( empty( $args['text_direction'] ) 3803 3805 && function_exists( 'language_attributes' ) && function_exists( 'is_rtl' ) … … 5086 5088 */ 5087 5089 function _wp_to_kebab_case( $input_string ) { 5088 //phpcs:disable WordPress.NamingConventions.ValidVariableName.VariableNotSnakeCase 5089 // ignore the camelCase names for variables so the names are the same as lodash 5090 // so comparing and porting new changes is easier. 5090 // Ignore the camelCase names for variables so the names are the same as lodash so comparing and porting new changes is easier. 5091 // phpcs:disable WordPress.NamingConventions.ValidVariableName.VariableNotSnakeCase 5091 5092 5092 5093 /* … … 6898 6899 $return = array(); 6899 6900 6900 // Set evanescent_hare to one past hare. 6901 // Increment hare two steps. 6901 // Set evanescent_hare to one past hare. Increment hare two steps. 6902 6902 while ( 6903 6903 $tortoise … … 8350 8350 function get_dirsize( $directory, $max_execution_time = null ) { 8351 8351 8352 // Exclude individual site directories from the total when checking the main site of a network, 8353 // as they are subdirectories and should not be counted. 8352 /* 8353 * Exclude individual site directories from the total when checking the main site of a network, 8354 * as they are subdirectories and should not be counted. 8355 */ 8354 8356 if ( is_multisite() && is_main_site() ) { 8355 8357 $size = recurse_dirsize( $directory, $directory . '/sites', $max_execution_time );
Note: See TracChangeset
for help on using the changeset viewer.