Ticket #57840: 57840.diff
File 57840.diff, 5.5 KB (added by , 20 months ago) |
---|
-
wp-admin/includes/class-pclzip.php
632 632 // newer_exist : the file was not extracted because a newer file exists 633 633 // path_creation_fail : the file is not extracted because the folder 634 634 // does not exist and can not be created 635 // write_error : the file was not extracted because there was a 635 // write_error : the file was not extracted because there was an 636 636 // error while writing the file 637 // read_error : the file was not extracted because there was a error637 // read_error : the file was not extracted because there was an error 638 638 // while reading the file 639 639 // invalid_header : the file was not extracted because of an archive 640 640 // format error (bad file header) -
wp-admin/includes/file.php
1377 1377 ); 1378 1378 } 1379 1379 1380 // Check for a edge-case affecting PHP Maths abilities.1380 // Check for an edge-case affecting PHP Maths abilities. 1381 1381 if ( 1382 1382 ! extension_loaded( 'sodium' ) && 1383 1383 in_array( PHP_VERSION_ID, array( 70200, 70201, 70202 ), true ) && -
wp-includes/class-wp-http-cookie.php
136 136 foreach ( $pairs as $pair ) { 137 137 $pair = rtrim( $pair ); 138 138 139 // Handle the cookie ending in ; which results in a empty final pair.139 // Handle the cookie ending in ; which results in an empty final pair. 140 140 if ( empty( $pair ) ) { 141 141 continue; 142 142 } -
wp-includes/class-wp-http.php
1080 1080 * Determines if a specified string represents an IP address or not. 1081 1081 * 1082 1082 * This function also detects the type of the IP address, returning either 1083 * '4' or '6' to represent a IPv4 and IPv6 address respectively.1083 * '4' or '6' to represent an IPv4 and IPv6 address respectively. 1084 1084 * This does not verify if the IP is a valid IP, only that it appears to be 1085 1085 * an IP address. 1086 1086 * -
wp-includes/class-wp-oembed.php
514 514 } 515 515 516 516 /** 517 * Connects to a oEmbed provider and returns the result.517 * Connects to an oEmbed provider and returns the result. 518 518 * 519 519 * @since 2.9.0 520 520 * -
wp-includes/customize/class-wp-customize-nav-menu-item-setting.php
228 228 } else { 229 229 $value = false; 230 230 231 // Note that a ID of less than one indicates a nav_menu not yet inserted.231 // Note that an ID of less than one indicates a nav_menu not yet inserted. 232 232 if ( $this->post_id > 0 ) { 233 233 $post = get_post( $this->post_id ); 234 234 if ( $post && self::POST_TYPE === $post->post_type ) { -
wp-includes/media-template.php
8 8 */ 9 9 10 10 /** 11 * Outputs the markup for a audio tag to be used in an Underscore template11 * Outputs the markup for an audio tag to be used in an Underscore template 12 12 * when data.model is passed. 13 13 * 14 14 * @since 3.9.0 -
wp-includes/media.php
3811 3811 if ( $image instanceof GdImage 3812 3812 || is_resource( $image ) && 'gd' === get_resource_type( $image ) 3813 3813 ) { 3814 3814 3815 return true; 3815 3816 } 3816 3817 … … 4861 4862 } 4862 4863 4863 4864 /** 4864 * Checks the HTML content for a audio, video, object, embed, or iframe tags.4865 * Checks the HTML content for an audio, video, object, embed, or iframe tags. 4865 4866 * 4866 4867 * @since 3.6.0 4867 4868 * -
wp-includes/option.php
1370 1370 } 1371 1371 1372 1372 /** 1373 * Removes a option by name for the current network.1373 * Removes an option by name for the current network. 1374 1374 * 1375 1375 * @since 2.8.0 1376 1376 * @since 4.4.0 Modified into wrapper for delete_network_option() -
wp-includes/Requests/src/IdnaEncoder.php
26 26 const ACE_PREFIX = 'xn--'; 27 27 28 28 /** 29 * Maximum length of a IDNA URL in ASCII.29 * Maximum length of an IDNA URL in ASCII. 30 30 * 31 31 * @see \WpOrg\Requests\IdnaEncoder::to_ascii() 32 32 *