golden hour
/home/phakp/public_html/wp/wp-admin/js
⬆️ Go Up
Upload
File/Folder
Size
Actions
accordion.js
2.89 KB
Del
OK
accordion.min.js
865 B
Del
OK
code-editor.js
11.32 KB
Del
OK
code-editor.min.js
3.01 KB
Del
OK
color-picker.js
9.57 KB
Del
OK
color-picker.min.js
3.44 KB
Del
OK
comment.js
2.73 KB
Del
OK
comment.min.js
1.24 KB
Del
OK
common.js
42.64 KB
Del
OK
common.min.js
15.4 KB
Del
OK
custom-background.js
3.34 KB
Del
OK
custom-background.min.js
1.17 KB
Del
OK
custom-header.js
1.97 KB
Del
OK
customize-controls.js
284.28 KB
Del
OK
customize-controls.min.js
108.19 KB
Del
OK
customize-nav-menus.js
105.84 KB
Del
OK
customize-nav-menus.min.js
44.53 KB
Del
OK
customize-widgets.js
69.91 KB
Del
OK
customize-widgets.min.js
27.35 KB
Del
OK
dashboard.js
18.41 KB
Del
OK
dashboard.min.js
6.49 KB
Del
OK
edit-comments.js
36.16 KB
Del
OK
edit-comments.min.js
14.81 KB
Del
OK
editor-expand.js
41.61 KB
Del
OK
editor-expand.min.js
13.14 KB
Del
OK
editor.js
44.27 KB
Del
OK
editor.min.js
12.92 KB
Del
OK
farbtastic.js
7.51 KB
Del
OK
gallery.js
5.51 KB
Del
OK
gallery.min.js
3.75 KB
Del
OK
image-edit.js
28.78 KB
Del
OK
image-edit.min.js
9.94 KB
Del
OK
inline-edit-post.js
15.9 KB
Del
OK
inline-edit-post.min.js
7.14 KB
Del
OK
inline-edit-tax.js
7.52 KB
Del
OK
inline-edit-tax.min.js
2.84 KB
Del
OK
iris.min.js
23.09 KB
Del
OK
language-chooser.js
873 B
Del
OK
language-chooser.min.js
409 B
Del
OK
link.js
3.78 KB
Del
OK
link.min.js
1.63 KB
Del
OK
media-gallery.js
1.27 KB
Del
OK
media-gallery.min.js
613 B
Del
OK
media-upload.js
3.38 KB
Del
OK
media-upload.min.js
1.12 KB
Del
OK
media.js
5.1 KB
Del
OK
media.min.js
1.86 KB
Del
OK
nav-menu.js
42.81 KB
Del
OK
nav-menu.min.js
21.1 KB
Del
OK
password-strength-meter.js
3.1 KB
Del
OK
password-strength-meter.min.js
766 B
Del
OK
plugin-install.js
6.86 KB
Del
OK
plugin-install.min.js
2.33 KB
Del
OK
post.js
36.54 KB
Del
OK
post.min.js
17.64 KB
Del
OK
postbox.js
11.53 KB
Del
OK
postbox.min.js
4.08 KB
Del
OK
privacy-tools.js
8.84 KB
Del
OK
privacy-tools.min.js
3.91 KB
Del
OK
revisions.js
33.13 KB
Del
OK
revisions.min.js
17.46 KB
Del
OK
set-post-thumbnail.js
841 B
Del
OK
set-post-thumbnail.min.js
568 B
Del
OK
site-health.js
8.83 KB
Del
OK
site-health.min.js
4.92 KB
Del
OK
svg-painter.js
5.4 KB
Del
OK
svg-painter.min.js
2.32 KB
Del
OK
tags-box.js
10.82 KB
Del
OK
tags-box.min.js
2.99 KB
Del
OK
tags-suggest.js
5.33 KB
Del
OK
tags-suggest.min.js
2.18 KB
Del
OK
tags.js
4.57 KB
Del
OK
tags.min.js
1.77 KB
Del
OK
theme-plugin-editor.js
24.09 KB
Del
OK
theme-plugin-editor.min.js
10.97 KB
Del
OK
theme.js
53.46 KB
Del
OK
theme.min.js
25.89 KB
Del
OK
updates.js
78.68 KB
Del
OK
updates.min.js
34.82 KB
Del
OK
user-profile.js
10.78 KB
Del
OK
user-profile.min.js
5.45 KB
Del
OK
user-suggest.js
2.26 KB
Del
OK
user-suggest.min.js
692 B
Del
OK
widgets
-
Del
OK
widgets.js
22.33 KB
Del
OK
widgets.min.js
12.13 KB
Del
OK
word-count.js
7.52 KB
Del
OK
word-count.min.js
1.5 KB
Del
OK
xfn.js
759 B
Del
OK
xfn.min.js
476 B
Del
OK
Edit: password-strength-meter.js
/** * @output wp-admin/js/password-strength-meter.js */ /* global zxcvbn */ window.wp = window.wp || {}; (function($){ /** * Contains functions to determine the password strength. * * @since 3.7.0 * * @namespace */ wp.passwordStrength = { /** * Determines the strength of a given password. * * Compares first password to the password confirmation. * * @since 3.7.0 * * @param {string} password1 The subject password. * @param {Array} blacklist An array of words that will lower the entropy of * the password. * @param {string} password2 The password confirmation. * * @return {number} The password strength score. */ meter : function( password1, blacklist, password2 ) { if ( ! $.isArray( blacklist ) ) blacklist = [ blacklist.toString() ]; if (password1 != password2 && password2 && password2.length > 0) return 5; if ( 'undefined' === typeof window.zxcvbn ) { // Password strength unknown. return -1; } var result = zxcvbn( password1, blacklist ); return result.score; }, /** * Builds an array of words that should be penalized. * * Certain words need to be penalized because it would lower the entropy of a * password if they were used. The blacklist is based on user input fields such * as username, first name, email etc. * * @since 3.7.0 * * @return {string[]} The array of words to be blacklisted. */ userInputBlacklist : function() { var i, userInputFieldsLength, rawValuesLength, currentField, rawValues = [], blacklist = [], userInputFields = [ 'user_login', 'first_name', 'last_name', 'nickname', 'display_name', 'email', 'url', 'description', 'weblog_title', 'admin_email' ]; // Collect all the strings we want to blacklist. rawValues.push( document.title ); rawValues.push( document.URL ); userInputFieldsLength = userInputFields.length; for ( i = 0; i < userInputFieldsLength; i++ ) { currentField = $( '#' + userInputFields[ i ] ); if ( 0 === currentField.length ) { continue; } rawValues.push( currentField[0].defaultValue ); rawValues.push( currentField.val() ); } /* * Strip out non-alphanumeric characters and convert each word to an * individual entry. */ rawValuesLength = rawValues.length; for ( i = 0; i < rawValuesLength; i++ ) { if ( rawValues[ i ] ) { blacklist = blacklist.concat( rawValues[ i ].replace( /\W/g, ' ' ).split( ' ' ) ); } } /* * Remove empty values, short words and duplicates. Short words are likely to * cause many false positives. */ blacklist = $.grep( blacklist, function( value, key ) { if ( '' === value || 4 > value.length ) { return false; } return $.inArray( value, blacklist ) === key; }); return blacklist; } }; // Backward compatibility. /** * Password strength meter function. * * @since 2.5.0 * @deprecated 3.7.0 Use wp.passwordStrength.meter instead. * * @global * * @type {wp.passwordStrength.meter} */ window.passwordStrength = wp.passwordStrength.meter; })(jQuery);
Save