Changeset 58682
- Timestamp:
- 07/06/2024 02:52:05 PM (9 months ago)
- Location:
- trunk
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/meta-boxes.php
r58284 r58682 1271 1271 } 1272 1272 1273 $link_rel = isset( $link->link_rel ) ? $link->link_rel : ''; // In PHP 5.3: $link_rel = $link->link_rel ?: '';1273 $link_rel = isset( $link->link_rel ) ? $link->link_rel : ''; 1274 1274 $link_rels = preg_split( '/\s+/', $link_rel ); 1275 1275 -
trunk/src/wp-includes/class-wp-customize-manager.php
r58376 r58682 6142 6142 * into a partial's render_callback so we cannot use get_custom_logo() as 6143 6143 * the render_callback directly since it expects a blog ID as the first 6144 * argument. When WP no longer supports PHP 5.3, this method can be removed 6145 * in favor of an anonymous function. 6144 * argument. 6146 6145 * 6147 6146 * @see WP_Customize_Manager::register_controls() -
trunk/src/wp-includes/class-wp-object-cache.php
r55549 r58682 74 74 75 75 /** 76 * Sets up object properties ; PHP 5 style constructor.76 * Sets up object properties. 77 77 * 78 78 * @since 2.0.8 -
trunk/src/wp-includes/http.php
r58388 r58682 700 700 * across PHP versions. 701 701 * 702 * PHP 5.4.7 expanded parse_url()'s ability to handle non-absolute URLs, including 703 * schemeless and relative URLs with "://" in the path. This function works around 704 * those limitations providing a standard output on PHP 5.2~5.4+. 705 * 706 * Secondly, across various PHP versions, schemeless URLs containing a ":" in the query 707 * are being handled inconsistently. This function works around those differences as well. 702 * Across various PHP versions, schemeless URLs containing a ":" in the query 703 * are being handled inconsistently. This function works around those differences. 708 704 * 709 705 * @since 4.4.0 -
trunk/src/wp-includes/load.php
r58128 r58682 453 453 /** 454 454 * Gets the time elapsed so far during this PHP script. 455 *456 * Uses REQUEST_TIME_FLOAT that appeared in PHP 5.4.0.457 455 * 458 456 * @since 5.8.0 -
trunk/src/wp-includes/rest-api/class-wp-rest-request.php
r56193 r58682 710 710 * 711 711 * Parses out URL-encoded bodies for request methods that aren't supported 712 * natively by PHP. In PHP 5.x, only POST has these parsed automatically.712 * natively by PHP. 713 713 * 714 714 * @since 4.4.0 -
trunk/tests/phpunit/tests/formatting/escTextarea.php
r53562 r58682 13 13 14 14 /* 15 * Only fails in PHP 5.4 onwards16 15 * @ticket 23688 17 16 */ -
trunk/tests/phpunit/tests/formatting/wpHtmleditPre.php
r53562 r58682 14 14 15 15 /* 16 * Only fails in PHP 5.4 onwards17 16 * @ticket 23688 18 17 */ -
trunk/tests/phpunit/tests/formatting/wpRicheditPre.php
r53562 r58682 14 14 15 15 /* 16 * Only fails in PHP 5.4 onwards17 16 * @ticket 23688 18 17 */ -
trunk/tests/phpunit/tests/http/http.php
r57987 r58682 115 115 ), 116 116 117 // < PHP 5.4.7:Schemeless URL.117 // Schemeless URL. 118 118 array( 119 119 '//example.com/path/', … … 139 139 ), 140 140 141 // < PHP 5.4.7:Scheme separator in the URL.141 // Scheme separator in the URL. 142 142 array( 143 143 'http://example.com/http://example.net/', … … 150 150 array( '/path/http://example.net/', array( 'path' => '/path/http://example.net/' ) ), 151 151 152 // < PHP 5.4.7: IPv6 literals in schemeless URLs are handled incorrectly.152 // IPv6 literals in schemeless URLs. 153 153 array( 154 154 '//[::FFFF::127.0.0.1]/', … … 239 239 array( self::FULL_TEST_URL, PHP_URL_FRAGMENT, 'anchor' ), 240 240 241 // < PHP 5.4.7:Schemeless URL.241 // Schemeless URL. 242 242 array( '//example.com/path/', PHP_URL_HOST, 'example.com' ), 243 243 array( '//example.com/path/', PHP_URL_PATH, '/path/' ), … … 247 247 array( 'http://example.com//path/', PHP_URL_PATH, '//path/' ), 248 248 249 // < PHP 5.4.7:Scheme separator in the URL.249 // Scheme separator in the URL. 250 250 array( 'http://example.com/http://example.net/', PHP_URL_HOST, 'example.com' ), 251 251 array( 'http://example.com/http://example.net/', PHP_URL_PATH, '/http://example.net/' ), … … 253 253 array( '/path/http://example.net/', PHP_URL_PATH, '/path/http://example.net/' ), 254 254 255 // < PHP 5.4.7: IPv6 literals in schemeless URLs are handled incorrectly.255 // IPv6 literals in schemeless URLs. 256 256 array( '//[::FFFF::127.0.0.1]/', PHP_URL_HOST, '[::FFFF::127.0.0.1]' ), 257 257 array( '//[::FFFF::127.0.0.1]/', PHP_URL_PATH, '/' ),
Note: See TracChangeset
for help on using the changeset viewer.