Docs: Add www. prefix to some PHP manual links in code comments.

This avoids an extra redirect and brings more consistency with other links to the PHP website in core.

Follow-up to [42980], [50914], [55355].

See #56792.

git-svn-id: https://develop.svn.wordpress.org/trunk@55363 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov
2023-02-18 14:21:21 +00:00
parent 3d61e7ef6a
commit 9b6ecd1bad
2 changed files with 2 additions and 2 deletions

View File

@@ -104,7 +104,7 @@ final class WP_Privacy_Policy_Content {
sort( $new );
// The == operator (equal, not identical) was used intentionally.
// See https://php.net/manual/en/language.operators.array.php
// See https://www.php.net/manual/en/language.operators.array.php
if ( $new != $old ) {
// A plugin was activated or deactivated, or some policy text has changed.
// Show a notice on the relevant screens to inform the admin.

View File

@@ -31,7 +31,7 @@ if ( function_exists( 'error_reporting' ) ) {
* Initialize error reporting to a known set of levels.
*
* This will be adapted in wp_debug_mode() located in wp-includes/load.php based on WP_DEBUG.
* @see https://php.net/manual/en/errorfunc.constants.php List of known error levels.
* @see https://www.php.net/manual/en/errorfunc.constants.php List of known error levels.
*/
error_reporting( E_CORE_ERROR | E_CORE_WARNING | E_COMPILE_ERROR | E_ERROR | E_WARNING | E_PARSE | E_USER_ERROR | E_USER_WARNING | E_RECOVERABLE_ERROR );
}