diff --git a/wp-admin/admin-footer.php b/wp-admin/admin-footer.php
index 73a58c1244..08d9debc9b 100644
--- a/wp-admin/admin-footer.php
+++ b/wp-admin/admin-footer.php
@@ -21,17 +21,17 @@ if ( !defined('ABSPATH') )
* Fires after the opening tag for the admin footer.
*
* @since 2.5.0
- */
- do_action( 'in_admin_footer' );
+ */
+ do_action( 'in_admin_footer' );
?>
' . __( 'Thank you for creating with WordPress.' ) . '' );
?>
@@ -42,11 +42,11 @@ if ( !defined('ABSPATH') )
*
* @see core_update_footer() WordPress prints the current version and update information,
* using core_update_footer() at priority 10.
- *
+ *
* @since 2.3.0
* @param string The content that will be printed.
*/
- echo apply_filters( 'update_footer', '' );
+ echo apply_filters( 'update_footer', '' );
?>
@@ -54,7 +54,7 @@ if ( !defined('ABSPATH') )
$column_display_name ) {
if ( $parent ) {
$title = _draft_or_post_title( $post->post_parent );
- $parent_type = get_post_type_object( $parent->post_type );
+ $parent_type = get_post_type_object( $parent->post_type );
?>
>
post_parent ) && $parent_type->show_ui ) { ?>
diff --git a/wp-admin/includes/class-wp-upgrader-skins.php b/wp-admin/includes/class-wp-upgrader-skins.php
index 3b178e38dd..b8c82c7a3b 100644
--- a/wp-admin/includes/class-wp-upgrader-skins.php
+++ b/wp-admin/includes/class-wp-upgrader-skins.php
@@ -583,7 +583,7 @@ class Language_Pack_Upgrader_Skin extends WP_Upgrader_Skin {
/**
* Upgrader Skin for Automatic WordPress Upgrades
*
- * This skin is designed to be used when no output is intended, all output
+ * This skin is designed to be used when no output is intended, all output
* is captured and stored for the caller to process and log/email/discard.
*
* @package WordPress
diff --git a/wp-admin/includes/class-wp-upgrader.php b/wp-admin/includes/class-wp-upgrader.php
index 878c73189d..dee950414f 100644
--- a/wp-admin/includes/class-wp-upgrader.php
+++ b/wp-admin/includes/class-wp-upgrader.php
@@ -1933,10 +1933,10 @@ class WP_Automatic_Updater {
update_option( $lock_name, time() );
// Don't automatically run these thins, as we'll handle it ourselves
- remove_action( 'upgrader_process_complete', array( 'Language_Pack_Upgrader', 'async_upgrade' ), 20 );
- remove_action( 'upgrader_process_complete', 'wp_version_check' );
- remove_action( 'upgrader_process_complete', 'wp_update_plugins' );
- remove_action( 'upgrader_process_complete', 'wp_update_themes' );
+ remove_action( 'upgrader_process_complete', array( 'Language_Pack_Upgrader', 'async_upgrade' ), 20 );
+ remove_action( 'upgrader_process_complete', 'wp_version_check' );
+ remove_action( 'upgrader_process_complete', 'wp_update_plugins' );
+ remove_action( 'upgrader_process_complete', 'wp_update_themes' );
// Next, Plugins
wp_update_plugins(); // Check for Plugin updates
@@ -2270,7 +2270,7 @@ class WP_Automatic_Updater {
* @type string $subject The email's subject.
* @type string $body The email message body.
* @type string $headers Any email headers, defaults to no headers.
- * }
+ * }
* @param string $type The type of email being sent. Can be one of 'success', 'fail', 'manual', 'critical'.
* @param object $core_update The update offer that was attempted.
* @param mixed $result The result for the core update. Can be WP_Error.
diff --git a/wp-admin/includes/deprecated.php b/wp-admin/includes/deprecated.php
index 3d933663a9..66d9abb39e 100644
--- a/wp-admin/includes/deprecated.php
+++ b/wp-admin/includes/deprecated.php
@@ -1121,8 +1121,8 @@ function wp_update_theme($theme, $feedback = '') {
* This was once used to display attachment links. Now it is deprecated and stubbed.
*
* {@internal Missing Short Description}}
- *
- * @since 2.0.0
+ *
+ * @since 2.0.0
* @deprecated 3.7.0
*
* @param unknown_type $id
diff --git a/wp-admin/includes/ms.php b/wp-admin/includes/ms.php
index 611fc00cfc..7c3f4bba59 100644
--- a/wp-admin/includes/ms.php
+++ b/wp-admin/includes/ms.php
@@ -62,7 +62,7 @@ function wpmu_delete_blog( $blog_id, $drop = false ) {
$blog = get_blog_details( $blog_id );
/**
- * Fires before a blog is deleted.
+ * Fires before a blog is deleted.
*
* @since MU
*
@@ -295,7 +295,7 @@ function send_confirmation_on_profile_email() {
'newemail' => $_POST['email']
);
update_option( $current_user->ID . '_new_email', $new_user_email );
-
+
$email_text = __( 'Dear user,
You recently requested to have the email address on your account changed.
@@ -315,10 +315,10 @@ All at ###SITENAME###
* Filter the email text sent when a user changes emails.
*
* The following strings have a special meaning and will get replaced dynamically:
- * ###ADMIN_URL### The link to click on to confirm the email change. Required otherwise this functunalty is will break.
- * ###EMAIL### The new email.
+ * ###ADMIN_URL### The link to click on to confirm the email change. Required otherwise this functunalty is will break.
+ * ###EMAIL### The new email.
* ###SITENAME### The name of the site.
- * ###SITEURL### The URL to the site.
+ * ###SITEURL### The URL to the site.
*
* @since MU
*
@@ -448,9 +448,9 @@ function update_user_status( $id, $pref, $value, $deprecated = null ) {
if ( $value == 1 ) {
/**
* Fires after the user is marked as a SPAM user.
- *
+ *
* @since 3.0.0
- *
+ *
* @param int $id ID of the user marked as SPAM.
*/
do_action( 'make_spam_user', $id );
@@ -459,7 +459,7 @@ function update_user_status( $id, $pref, $value, $deprecated = null ) {
* Fires after the user is marked as a HAM user. Opposite of SPAM.
*
* @since 3.0.0
- *
+ *
* @param int $id ID of the user marked as HAM.
*/
do_action( 'make_ham_user', $id );
@@ -494,10 +494,10 @@ function format_code_lang( $code = '' ) {
'sg' => 'Sango', 'sa' => 'Sanskrit', 'sr' => 'Serbian', 'hr' => 'Croatian', 'si' => 'Sinhala; Sinhalese', 'sk' => 'Slovak', 'sl' => 'Slovenian', 'se' => 'Northern Sami', 'sm' => 'Samoan', 'sn' => 'Shona', 'sd' => 'Sindhi', 'so' => 'Somali', 'st' => 'Sotho, Southern', 'es' => 'Spanish; Castilian', 'sc' => 'Sardinian', 'ss' => 'Swati', 'su' => 'Sundanese', 'sw' => 'Swahili',
'sv' => 'Swedish', 'ty' => 'Tahitian', 'ta' => 'Tamil', 'tt' => 'Tatar', 'te' => 'Telugu', 'tg' => 'Tajik', 'tl' => 'Tagalog', 'th' => 'Thai', 'bo' => 'Tibetan', 'ti' => 'Tigrinya', 'to' => 'Tonga (Tonga Islands)', 'tn' => 'Tswana', 'ts' => 'Tsonga', 'tk' => 'Turkmen', 'tr' => 'Turkish', 'tw' => 'Twi', 'ug' => 'Uighur; Uyghur', 'uk' => 'Ukrainian', 'ur' => 'Urdu', 'uz' => 'Uzbek',
've' => 'Venda', 'vi' => 'Vietnamese', 'vo' => 'Volapük', 'cy' => 'Welsh','wa' => 'Walloon','wo' => 'Wolof', 'xh' => 'Xhosa', 'yi' => 'Yiddish', 'yo' => 'Yoruba', 'za' => 'Zhuang; Chuang', 'zu' => 'Zulu' );
-
+
/**
* Filter the language codes.
- *
+ *
* @since MU
*
* @param array $lang_codes Key/value pair of language codes where key is the short version.
@@ -699,7 +699,7 @@ function grant_super_admin( $user_id ) {
// If global super_admins override is defined, there is nothing to do here.
if ( isset( $super_admins ) )
return false;
-
+
/**
* Fires before the user is granted Super Admin privileges.
*
@@ -716,7 +716,7 @@ function grant_super_admin( $user_id ) {
if ( $user && ! in_array( $user->user_login, $super_admins ) ) {
$super_admins[] = $user->user_login;
update_site_option( 'site_admins' , $super_admins );
-
+
/**
* Fires after the user is granted Super Admin privileges.
*
@@ -760,7 +760,7 @@ function revoke_super_admin( $user_id ) {
if ( false !== ( $key = array_search( $user->user_login, $super_admins ) ) ) {
unset( $super_admins[$key] );
update_site_option( 'site_admins', $super_admins );
-
+
/**
* Fires after the user's Super Admin privileges are revoked.
*
diff --git a/wp-admin/includes/plugin.php b/wp-admin/includes/plugin.php
index c9317833e7..4e2126a368 100644
--- a/wp-admin/includes/plugin.php
+++ b/wp-admin/includes/plugin.php
@@ -542,7 +542,7 @@ function activate_plugin( $plugin, $redirect = '', $network_wide = false, $silen
if ( ! $silent ) {
/**
* Fires before a plugin is activated in activate_plugin() when the $silent parameter is false.
- *
+ *
* @since 2.9.0
*
* @param string $plugin Plugin path to main plugin file with plugin data.
@@ -553,10 +553,10 @@ function activate_plugin( $plugin, $redirect = '', $network_wide = false, $silen
/**
* Fires before a plugin is activated in activate_plugin() when the $silent parameter is false.
- *
+ *
* The action concatenates the 'activate_' prefix with the $plugin value passed to
* activate_plugin() to create a dynamically-named action.
- *
+ *
* @since 2.0.0
*
* @param bool $network_wide Whether to enable the plugin for all sites in the network
@@ -577,7 +577,7 @@ function activate_plugin( $plugin, $redirect = '', $network_wide = false, $silen
if ( ! $silent ) {
/**
* Fires after a plugin has been activated in activate_plugin() when the $silent parameter is false.
- *
+ *
* @since 2.9.0
*
* @param string $plugin Plugin path to main plugin file with plugin data.
@@ -627,11 +627,11 @@ function deactivate_plugins( $plugins, $silent = false, $network_wide = null ) {
/**
* Fires for each plugin being deactivated in deactivate_plugins(), before deactivation
* and when the $silent parameter is false.
- *
+ *
* @since 2.9.0
*
* @param string $plugin Plugin path to main plugin file with plugin data.
- * @param bool $network_deactivating Whether the plugin is deactivated for all sites in the network
+ * @param bool $network_deactivating Whether the plugin is deactivated for all sites in the network
* or just the current site. Multisite only. Default is false.
*/
do_action( 'deactivate_plugin', $plugin, $network_deactivating );
@@ -657,13 +657,13 @@ function deactivate_plugins( $plugins, $silent = false, $network_wide = null ) {
/**
* Fires for each plugin being deactivated in deactivate_plugins(), after deactivation
* and when the $silent parameter is false.
- *
+ *
* The action concatenates the 'deactivate_' prefix with the plugin's basename
* to create a dynamically-named action.
- *
+ *
* @since 2.0.0
*
- * @param bool $network_deactivating Whether the plugin is deactivated for all sites in the network
+ * @param bool $network_deactivating Whether the plugin is deactivated for all sites in the network
* or just the current site. Multisite only. Default is false.
*/
do_action( 'deactivate_' . $plugin, $network_deactivating );
@@ -671,11 +671,11 @@ function deactivate_plugins( $plugins, $silent = false, $network_wide = null ) {
/**
* Fires for each plugin being deactivated in deactivate_plugins(), after deactivation
* and when the $silent parameter is false.
- *
+ *
* @since 2.9.0
*
* @param string $plugin Plugin path to main plugin file with plugin data.
- * @param bool $network_deactivating Whether the plugin is deactivated for all sites in the network
+ * @param bool $network_deactivating Whether the plugin is deactivated for all sites in the network
* or just the current site. Multisite only. Default is false.
*/
do_action( 'deactivated_plugin', $plugin, $network_deactivating );
@@ -931,7 +931,7 @@ function uninstall_plugin($plugin) {
/**
* Fires in uninstall_plugin() once the plugin has been uninstalled.
- *
+ *
* The action concatenates the 'uninstall_' prefix with the basename of the
* plugin passed to {@see uninstall_plugin()} to create a dynamically-named action.
*
diff --git a/wp-admin/index.php b/wp-admin/index.php
index 649c6c4ca6..d74a45b8b3 100644
--- a/wp-admin/index.php
+++ b/wp-admin/index.php
@@ -123,13 +123,13 @@ $today = current_time('mysql', 1);
remove_action( 'welcome_panel', 'wp_welcome_panel' );
- *
+ *
* @since 3.5.0
*/
- do_action( 'welcome_panel' );
+ do_action( 'welcome_panel' );
?>
diff --git a/wp-admin/js/about.js b/wp-admin/js/about.js
index 844b732d4f..5864a5e376 100644
--- a/wp-admin/js/about.js
+++ b/wp-admin/js/about.js
@@ -40,22 +40,22 @@
// Look like real typing by changing the speed new letters are added each time
setTimeout(animate, 220 + Math.floor(Math.random() * ( 800 - 220)) );
}
- //
+ //
function begin(){
- // we async load zxcvbn, so we need to make sure it's loaded before starting
+ // we async load zxcvbn, so we need to make sure it's loaded before starting
if (typeof(zxcvbn) !== 'undefined')
animate();
else
setTimeout(begin,800);
}
-
+
// Turn off the animation on focus
$input.on('focus', function(){
shouldAnimate = false;
resetMeter();
});
- // Act like a normal password strength meter
+ // Act like a normal password strength meter
$input.on('keyup', function(){
updateResult();
});
diff --git a/wp-admin/network.php b/wp-admin/network.php
index 9ba4d463fe..097489df66 100644
--- a/wp-admin/network.php
+++ b/wp-admin/network.php
@@ -67,9 +67,9 @@ function allow_subdirectory_install() {
global $wpdb;
/**
* Filter whether to enable the subdirectory install feature in Multisite.
- *
+ *
* @since 3.0.0
- *
+ *
* @param bool true Whether to enable the subdirectory install feature in Multisite. Default is false.
*/
if ( apply_filters( 'allow_subdirectory_install', false ) )
diff --git a/wp-admin/options-general.php b/wp-admin/options-general.php
index 91c6cf53d0..5f2bf21ce8 100644
--- a/wp-admin/options-general.php
+++ b/wp-admin/options-general.php
@@ -265,7 +265,7 @@ if ( empty($tzstring) ) { // Create a UTC+- zone if no timezone string exists
/>
- locale && 'en_US' == get_locale() )
$version_string = $update->current;
// If the only available update is a partial builds, it doesn't need a language-specific version string.
@@ -32,7 +32,7 @@ function list_core_update( $update ) {
$version_string = $update->current;
else
$version_string = sprintf( "%s–%s", $update->current, $update->locale );
-
+
$current = false;
if ( !isset($update->response) || 'latest' == $update->response )
$current = true;
diff --git a/wp-admin/user-new.php b/wp-admin/user-new.php
index 937f4a3656..60d63b2fd3 100644
--- a/wp-admin/user-new.php
+++ b/wp-admin/user-new.php
@@ -116,13 +116,13 @@ Please click the following link to confirm the invite:
if ( is_wp_error( $user_details[ 'errors' ] ) && !empty( $user_details[ 'errors' ]->errors ) ) {
$add_user_errors = $user_details[ 'errors' ];
} else {
- /**
+ /**
* Filter the user_login, aka the username, before it is added to the site.
- *
+ *
* @since 3.0.0
- *
- * @param string $_REQUEST['user_login'] The sanitized username.
- */
+ *
+ * @param string $_REQUEST['user_login'] The sanitized username.
+ */
$new_user_login = apply_filters( 'pre_user_login', sanitize_user( wp_unslash( $_REQUEST['user_login'] ), true ) );
if ( isset( $_POST[ 'noconfirmation' ] ) && is_super_admin() ) {
add_filter( 'wpmu_signup_user_notification', '__return_false' ); // Disable confirmation email
@@ -188,13 +188,13 @@ get_current_screen()->set_help_sidebar(
wp_enqueue_script('wp-ajax-response');
wp_enqueue_script('user-profile');
-/**
+/**
* Allows you to enable user auto-complete for non-super admins in multisite.
- *
+ *
* @since 3.4.0
- *
+ *
* @param bool True or false, based on if you enable auto-complete for non-super admins. Default is false.
- */
+ */
if ( is_multisite() && current_user_can( 'promote_users' ) && ! wp_is_large_network( 'users' )
&& ( is_super_admin() || apply_filters( 'autocomplete_users_for_site_admins', false ) )
) {
@@ -281,11 +281,11 @@ if ( is_multisite() ) {
}
?>