mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
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:
@@ -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.
|
||||
|
||||
@@ -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 );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user