From 9ef7c41a15427b240ab70ac29492fa0beb98427e Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Mon, 7 Jul 2014 16:42:16 +0000 Subject: [PATCH] Inline docs syntax fixes following [28978]. See #28740. Built from https://develop.svn.wordpress.org/trunk@29015 git-svn-id: http://core.svn.wordpress.org/trunk@28803 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/load-scripts.php | 2 +- wp-admin/setup-config.php | 6 ++++-- wp-includes/js/tinymce/wp-tinymce.php | 2 +- wp-load.php | 3 ++- 4 files changed, 8 insertions(+), 5 deletions(-) diff --git a/wp-admin/load-scripts.php b/wp-admin/load-scripts.php index 528fbcdc18..81c4fc6162 100644 --- a/wp-admin/load-scripts.php +++ b/wp-admin/load-scripts.php @@ -3,7 +3,7 @@ /** * Disable error reporting * - * Set this to error_reporting( -1 ) for debugging + * Set this to error_reporting( -1 ) for debugging. */ error_reporting(0); diff --git a/wp-admin/setup-config.php b/wp-admin/setup-config.php index 199078a22b..45ab7ca37d 100644 --- a/wp-admin/setup-config.php +++ b/wp-admin/setup-config.php @@ -213,8 +213,10 @@ switch($step) { unset( $wpdb ); require_wp_db(); - // The wpdb constructor bails when WP_SETUP_CONFIG is set, so we must - // fire this manually. We'll fail here if the values are no good. + /* + * The wpdb constructor bails when WP_SETUP_CONFIG is set, so we must + * fire this manually. We'll fail here if the values are no good. + */ $wpdb->db_connect(); if ( ! empty( $wpdb->error ) ) diff --git a/wp-includes/js/tinymce/wp-tinymce.php b/wp-includes/js/tinymce/wp-tinymce.php index d839c11f85..922df9fc15 100644 --- a/wp-includes/js/tinymce/wp-tinymce.php +++ b/wp-includes/js/tinymce/wp-tinymce.php @@ -2,7 +2,7 @@ /** * Disable error reporting * - * Set this to error_reporting( -1 ) for debugging + * Set this to error_reporting( -1 ) for debugging. */ error_reporting(0); diff --git a/wp-load.php b/wp-load.php index 24cae89978..9021ceb747 100644 --- a/wp-load.php +++ b/wp-load.php @@ -47,7 +47,8 @@ if ( file_exists( ABSPATH . 'wp-config.php') ) { $path = wp_guess_url() . '/wp-admin/setup-config.php'; - /* We're going to redirect to setup-config.php. While this shouldn't result + /* + * We're going to redirect to setup-config.php. While this shouldn't result * in an infinite loop, that's a silly thing to assume, don't you think? If * we're traveling in circles, our last-ditch effort is "Need more help?" */