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
This commit is contained in:
Andrew Nacin 2013-08-22 22:00:41 +00:00
parent d5c7150913
commit f57bd31f2d
3 changed files with 3 additions and 3 deletions

View File

@ -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 )

View File

@ -94,7 +94,7 @@ var switchEditors = {
// Mark </p> if it has any attributes.
content = content.replace(/(<p [^>]+>.*?)<\/p>/g, '$1</p#>');
// Sepatate <div> containing <p>
// Separate <div> containing <p>
content = content.replace(/<div( [^>]*)?>\s*<p>/gi, '<div$1>\n\n');
// Remove <p> and <br />

View File

@ -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 )