From f57bd31f2d6da161afc2d57b8d88480fd923a443 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Thu, 22 Aug 2013 22:00:41 +0000 Subject: [PATCH] Fix various typos in inline documentation. props nofearinc, fixes #25119. git-svn-id: https://develop.svn.wordpress.org/trunk@25094 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/template.php | 2 +- src/wp-admin/js/editor.js | 2 +- src/wp-content/themes/twentyfourteen/js/theme.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wp-admin/includes/template.php b/src/wp-admin/includes/template.php index 5439b59a41..5b65b4a732 100644 --- a/src/wp-admin/includes/template.php +++ b/src/wp-admin/includes/template.php @@ -1256,7 +1256,7 @@ function add_settings_error( $setting, $code, $message, $type = 'error' ) { function get_settings_errors( $setting = '', $sanitize = false ) { global $wp_settings_errors; - // If $sanitize is true, manually re-run the sanitizisation for this option + // If $sanitize is true, manually re-run the sanitization for this option // This allows the $sanitize_callback from register_setting() to run, adding // any settings errors you want to show by default. if ( $sanitize ) diff --git a/src/wp-admin/js/editor.js b/src/wp-admin/js/editor.js index e54e836cc2..78c86a8fb8 100644 --- a/src/wp-admin/js/editor.js +++ b/src/wp-admin/js/editor.js @@ -94,7 +94,7 @@ var switchEditors = { // Mark

if it has any attributes. content = content.replace(/(

]+>.*?)<\/p>/g, '$1'); - // Sepatate

containing

+ // Separate

containing

content = content.replace(/]*)?>\s*

/gi, '\n\n'); // Remove

and
diff --git a/src/wp-content/themes/twentyfourteen/js/theme.js b/src/wp-content/themes/twentyfourteen/js/theme.js index e895a662ed..aa610fa373 100644 --- a/src/wp-content/themes/twentyfourteen/js/theme.js +++ b/src/wp-content/themes/twentyfourteen/js/theme.js @@ -47,7 +47,7 @@ $searchBoxWrapper.find( '.search-field' ).focus(); } ); - // DOM manupilations for mobile header + // DOM manipulations for mobile header function mobileHeader() { // Check if the toggler exists. If not add it. if ( ! $( '#nav-toggle' ).length )