Fix various typos in inline documentation. props nofearinc, fixes #25119.
Built from https://develop.svn.wordpress.org/trunk@25094 git-svn-id: http://core.svn.wordpress.org/trunk@25078 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
24a9673b1e
commit
d06c049d51
|
@ -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 )
|
||||
|
|
|
@ -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 />
|
||||
|
|
|
@ -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 )
|
||||
|
|
Loading…
Reference in New Issue