WordPress/wp-includes
Peter Wilson 26c07ed8d9 Users: Check zxcvbn is defined before calling.
Prevents JavaScript errors by checking zxcvbn is defined before calling.

Changes `wp.passwordStrength.meter()` to return `-1` if the strength of the password is unknown.

On the user profile screen, `generatePassword()` checks if the user has entered the password before setting the value of the password input box.

Props peterwilsoncc, adamsilverstein.
Fixes #34905.

Built from https://develop.svn.wordpress.org/trunk@37940


git-svn-id: http://core.svn.wordpress.org/trunk@37881 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-07-01 12:45:29 +00:00
..
ID3
Requests HTTP API: Update Requests. 2016-06-14 05:30:28 +00:00
SimplePie Feeds: add `CEST` to `$timezone` in `SimplePie_Parse_Date`. 2015-10-20 05:57:24 +00:00
Text Fix the `@author` doc param encoding in `Text/Diff/Engine/string` so the file is recognized as UTF-8, not ISO-8859-1. 2015-10-24 22:45:25 +00:00
certificates Docs: Standardize on 'backward compatibility/compatible' nomenclature in core inline docs. 2016-05-13 18:41:31 +00:00
css Editor, link checker: 2016-06-19 13:01:28 +00:00
customize Customize: Improve flow from menu locations to editing a menu. 2016-06-28 23:07:30 +00:00
fonts Dashicons: Fix incorrect ID in SVG version of font. 2016-03-18 20:43:26 +00:00
images Embeds: Load the default site icon from the `wp-includes` directory. 2016-02-23 16:55:27 +00:00
js TinyMCE: do not trigger `execCommand` on loading, it focuses the editor in Chrome. 2016-06-30 15:18:27 +00:00
pomo Merge the changes to GlotPress's POMO from upstream to WordPress's copy. 2015-11-20 04:34:25 +00:00
random_compat Update Random_Compat from 1.1.6 to 1.2.1. 2016-03-08 17:15:27 +00:00
rest-api REST API: Include auto-discovery Link header when serving API requests. 2016-06-29 01:57:55 +00:00
theme-compat Docs: Standardize DocBlock summaries for hooks that serve to "print" something to use third-person singular verbs. 2016-05-25 16:05:27 +00:00
widgets Docs: Standardize hook docs in wp-includes/widgets/* to use third-person singular verbs per the inline documentation standards for PHP. 2016-05-22 18:06:28 +00:00
admin-bar.php Docs: Apply inline `@see` tags to hooks referenced in DocBlocks in a variety of wp-includes/* files. 2016-05-23 18:59:27 +00:00
atomlib.php External Libraries: After [37402], replace two more instances of `split()` with `explode()` in `wp-includes/atomlib.php`. 2016-05-19 00:06:28 +00:00
author-template.php Docs: Standardize filter docs in wp-includes/author-template.php to use third-person singular verbs per the inline documentation standards for PHP. 2016-05-22 18:25:26 +00:00
bookmark-template.php Docs: Standardize filter docs in wp-includes/bookmark-template.php to use third-person singular verbs per the inline documentation standards for PHP. 2016-05-22 18:24:28 +00:00
bookmark.php Docs: Improve formatting in the DocBlock for `sanitize_bookmark_field()`. 2016-05-27 17:16:27 +00:00
cache.php Docs: Fix an incorrect Codex link in the file header for wp-includes/cache.php. 2016-05-18 22:07:28 +00:00
canonical.php Docs: Standardize filter docs in remaining wp-includes/* files to use third-person singular verbs per the inline documentation standards for PHP. 2016-05-22 18:50:28 +00:00
capabilities.php Introduce an expanded meta registration API. 2016-06-30 01:02:29 +00:00
category-template.php Docs: Improve return descriptions for `get_the_category()` and `get_the_term()` to specifically notate that an array of `WP_Term` objects is returned on success. 2016-06-01 22:46:28 +00:00
category.php Docs: Standardize filter docs in remaining wp-includes/* files to use third-person singular verbs per the inline documentation standards for PHP. 2016-05-22 18:50:28 +00:00
class-IXR.php Docs: Standardize filter docs in remaining wp-includes/* files to use third-person singular verbs per the inline documentation standards for PHP. 2016-05-22 18:50:28 +00:00
class-feed.php Docs: Standardize filter docs in remaining wp-includes/* files to use third-person singular verbs per the inline documentation standards for PHP. 2016-05-22 18:50:28 +00:00
class-http.php DOCS: Replace HTTP links with HTTPS. 2016-06-10 04:50:33 +00:00
class-json.php The the Docs: Fix the the dittography 2015-12-06 21:23:25 +00:00
class-oembed.php Embeds: In `WP_oEmbed::get_provider()` and `WP_oEmbed::get_html()`, parse the `$args` string to an array, as we treat it as an array later. 2016-06-15 18:52:28 +00:00
class-phpass.php Remove closing PHP tag from `wp-includes/class-phpass.php`. 2015-10-06 23:45:25 +00:00
class-phpmailer.php Upgrade PHPMailer from 5.2.10 to 5.2.14. 2015-12-24 01:59:26 +00:00
class-pop3.php
class-requests.php HTTP API: Update Requests. 2016-06-14 05:30:28 +00:00
class-simplepie.php Autoload: Introduce shim for SPL autoloading. 2016-06-06 03:24:29 +00:00
class-smtp.php Upgrade PHPMailer from 5.2.10 to 5.2.14. 2015-12-24 01:59:26 +00:00
class-snoopy.php Snoopy: use escapeshellarg instead of escapeshellcmd 2016-03-30 13:58:28 +00:00
class-walker-category-dropdown.php Docs: Improve inline documentation in property and method DocBlocks for `Walker_CategoryDropdown`. 2016-03-22 17:22:29 +00:00
class-walker-category.php Docs: Standardize filter docs in remaining wp-includes/* files to use third-person singular verbs per the inline documentation standards for PHP. 2016-05-22 18:50:28 +00:00
class-walker-comment.php Comments: pass `$comment` to `comment_text()` in `Walker_Comment::comment()` instead of using a function which can skip the cache. 2016-04-29 15:47:27 +00:00
class-walker-nav-menu.php Nav Menus: Move the `Walker_Nav_Menu` class to its own file. 2016-06-06 15:18:31 +00:00
class-walker-page-dropdown.php Docs: Standardize filter docs in remaining wp-includes/* files to use third-person singular verbs per the inline documentation standards for PHP. 2016-05-22 18:50:28 +00:00
class-walker-page.php Docs: Standardize filter docs in remaining wp-includes/* files to use third-person singular verbs per the inline documentation standards for PHP. 2016-05-22 18:50:28 +00:00
class-wp-admin-bar.php Docs: Improve the DocBlock summary and add a missing initial `@since` version for `WP_Admin_Bar::add_node()`. 2016-03-03 15:58:27 +00:00
class-wp-ajax-response.php Docs: Remove/replace invalid inline `@link` tags in DocBlocks in wp-includes/*. 2016-05-22 17:39:28 +00:00
class-wp-comment-query.php Comments: Remove the assignment of an undocumented `$comment_count` property in `WP_Comment_Query::get_comments()`, which appears to be accidentally introduced in [34544]. 2016-06-26 14:28:28 +00:00
class-wp-comment.php Comments: Correct description of `comment_author` property in WP_Comment class. 2016-01-17 15:00:27 +00:00
class-wp-customize-control.php Docs: Standardize filter docs in the Customizer classes to use third-person singular verbs per the inline documentation standards for PHP. 2016-05-22 18:10:29 +00:00
class-wp-customize-manager.php Text Changes: Unify permission error messages. 2016-06-29 15:16:29 +00:00
class-wp-customize-nav-menus.php Customize: Link "widget areas" to widgets panel in menu locations section description. 2016-06-28 22:44:30 +00:00
class-wp-customize-panel.php Docs: Standardize filter docs in the Customizer classes to use third-person singular verbs per the inline documentation standards for PHP. 2016-05-22 18:10:29 +00:00
class-wp-customize-section.php Docs: Standardize filter docs in the Customizer classes to use third-person singular verbs per the inline documentation standards for PHP. 2016-05-22 18:10:29 +00:00
class-wp-customize-setting.php Docs: Standardize filter docs in the Customizer classes to use third-person singular verbs per the inline documentation standards for PHP. 2016-05-22 18:10:29 +00:00
class-wp-customize-widgets.php Docs: Apply inline `@see` tags to hooks referenced in DocBlocks for core classes. 2016-05-23 18:54:27 +00:00
class-wp-editor.php Editor: after inserting a link detect if the URL is broken, first run. 2016-06-17 20:41:28 +00:00
class-wp-embed.php Auto-embedding: 2016-06-02 21:24:30 +00:00
class-wp-error.php Docs: Remove/replace invalid inline `@link` tags in DocBlocks in wp-includes/*. 2016-05-22 17:39:28 +00:00
class-wp-http-cookie.php Docs: Standardize filter docs in core classes in wp-includes/* to use third-person singular verbs per the inline documentation standards for PHP. 2016-05-22 18:15:28 +00:00
class-wp-http-curl.php Docs: Standardize filter docs in core classes in wp-includes/* to use third-person singular verbs per the inline documentation standards for PHP. 2016-05-22 18:15:28 +00:00
class-wp-http-encoding.php DOCS: Replace HTTP links with HTTPS. 2016-06-10 04:50:33 +00:00
class-wp-http-ixr-client.php Docs: Standardize filter docs in core classes in wp-includes/* to use third-person singular verbs per the inline documentation standards for PHP. 2016-05-22 18:15:28 +00:00
class-wp-http-proxy.php Docs: Standardize filter docs in core classes in wp-includes/* to use third-person singular verbs per the inline documentation standards for PHP. 2016-05-22 18:15:28 +00:00
class-wp-http-requests-response.php Docs: Standardize on 'backward compatibility/compatible' nomenclature in core inline docs. 2016-05-13 18:41:31 +00:00
class-wp-http-response.php HTTP/REST API: move `WP_HTTP_Response` to `wp-includes/` with the rest (ha!) of the HTTP classes. This is PHP 5.2, so this class is global, and as per @rmccue, unrelated to REST specifically. 2015-10-08 19:27:28 +00:00
class-wp-http-streams.php Docs: Standardize filter docs in core classes in wp-includes/* to use third-person singular verbs per the inline documentation standards for PHP. 2016-05-22 18:15:28 +00:00
class-wp-image-editor-gd.php Docs: Ensure hook and duplicate hook docs directly precede all instances of the `image_memory_limit` filter. 2016-05-30 02:14:30 +00:00
class-wp-image-editor-imagick.php Docs: Ensure hook and duplicate hook docs directly precede all instances of the `image_memory_limit` filter. 2016-05-30 02:14:30 +00:00
class-wp-image-editor.php Docs: Standardize filter docs in core classes in wp-includes/* to use third-person singular verbs per the inline documentation standards for PHP. 2016-05-22 18:15:28 +00:00
class-wp-locale.php I18N: Move the `WP_Locale` class to its own file. 2016-06-28 11:53:28 +00:00
class-wp-meta-query.php Multisite: Change `WP_Network` `id` property to an integer. 2016-06-26 14:26:29 +00:00
class-wp-metadata-lazyloader.php Docs: Apply inline `@see` tags to hooks referenced in DocBlocks for core classes. 2016-05-23 18:54:27 +00:00
class-wp-network-query.php Multisite: Introduce `WP_Network_Query`. 2016-06-28 21:27:30 +00:00
class-wp-network.php Docs: Supplement a changelog entry in the DocBlock for the `$id` property in `WP_Network`. 2016-06-29 19:35:28 +00:00
class-wp-oembed-controller.php Docs: Add missing `@access` tags to methods in `WP_oEmbed_Controller`. 2016-05-25 19:22:27 +00:00
class-wp-post-type.php Posts: Introduce `WP_Post_Type` and use it in `register_post_type()` and `unregister_post_type()`. 2016-06-28 16:41:35 +00:00
class-wp-post.php Docs: Add missing descriptions for the `$wpdb` global in DocBlocks all the places. 2015-10-14 23:44:25 +00:00
class-wp-rewrite.php Docs: Apply inline `@see` tags to hooks referenced in DocBlocks for core classes. 2016-05-23 18:54:27 +00:00
class-wp-role.php Docs: Standardize filter docs in core classes in wp-includes/* to use third-person singular verbs per the inline documentation standards for PHP. 2016-05-22 18:15:28 +00:00
class-wp-roles.php Docs: Standardize on 'backward compatibility/compatible' nomenclature in core inline docs. 2016-05-13 18:41:31 +00:00
class-wp-site-query.php Multisite: Remove unused `site_count` property from `WP_Site_Query`. 2016-06-26 14:33:28 +00:00
class-wp-site.php Multisite: Revert property type changes in `WP_Site`. 2016-06-29 22:08:28 +00:00
class-wp-tax-query.php Docs: Remove inline `@see` tags from function, class, and method references in inline docs. 2016-05-02 04:00:28 +00:00
class-wp-term-query.php Multisite: Change `WP_Network` `id` property to an integer. 2016-06-26 14:26:29 +00:00
class-wp-term.php Docs: Various docblock corrections. 2016-01-10 01:26:25 +00:00
class-wp-theme.php Docs: Apply inline `@see` tags to hooks referenced in DocBlocks for core classes. 2016-05-23 18:54:27 +00:00
class-wp-user-query.php Docs: Standardize filter docs in core classes in wp-includes/* to use third-person singular verbs per the inline documentation standards for PHP. 2016-05-22 18:15:28 +00:00
class-wp-user.php Docs: Standardize on 'backward compatibility/compatible' nomenclature in core inline docs. 2016-05-13 18:41:31 +00:00
class-wp-walker.php Docs: Standardize on 'backward compatibility/compatible' nomenclature in core inline docs. 2016-05-13 18:41:31 +00:00
class-wp-widget-factory.php Widgets: Provide PHP 5.2 fallback for `spl_object_hash()` if disabled in logic for registering and unregistering pre-instantiated widgets. 2016-04-30 22:36:28 +00:00
class-wp-widget.php Widgets: Revert [37425] and [37427]. 2016-06-06 21:51:28 +00:00
class-wp-xmlrpc-server.php Text Changes: Unify permission error messages. 2016-06-29 15:16:29 +00:00
class-wp.php Docs: Apply inline `@see` tags to hooks referenced in DocBlocks in a variety of wp-includes/* files. 2016-05-23 18:59:27 +00:00
class.wp-dependencies.php Docs: Re-add a `@param` that went missing in [36993]. 2016-03-14 22:39:26 +00:00
class.wp-scripts.php Docs: Standardize filter docs in remaining wp-includes/* files to use third-person singular verbs per the inline documentation standards for PHP. 2016-05-22 18:50:28 +00:00
class.wp-styles.php Docs: Standardize filter docs in remaining wp-includes/* files to use third-person singular verbs per the inline documentation standards for PHP. 2016-05-22 18:50:28 +00:00
comment-template.php Comments: In `wp_list_comments()`, queries with custom pagination params should obey default `comment_status` logic. 2016-06-08 04:01:27 +00:00
comment.php Comments: Do not flag a comment as a duplicate if the `comment_author_email` is provided but not a match. 2016-06-15 14:51:27 +00:00
compat.php Menus: Fix `_wp_expand_nav_menu_post_data()` for PHP 5.2. 2016-06-19 12:51:27 +00:00
cron.php Docs: Apply inline `@see` tags to hooks referenced in DocBlocks in a variety of wp-includes/* files. 2016-05-23 18:59:27 +00:00
date.php Docs: Standardize filter docs in remaining wp-includes/* files to use third-person singular verbs per the inline documentation standards for PHP. 2016-05-22 18:50:28 +00:00
default-constants.php DOCS: Replace HTTP links with HTTPS. 2016-06-10 04:50:33 +00:00
default-filters.php Introduce an expanded meta registration API. 2016-06-30 01:02:29 +00:00
default-widgets.php
deprecated.php Embeds: Remove support for Google Video. 2016-06-18 09:47:29 +00:00
embed-template.php Docs: Update the `@deprecated` tag comment for wp-includes/embed-template.php to reference the correct file path following [36693]. 2016-02-27 21:22:25 +00:00
embed.php Embeds: Improve height calculation for slow loading images. 2016-06-18 10:00:29 +00:00
feed-atom-comments.php DOCS: Replace HTTP links with HTTPS. 2016-06-10 04:50:33 +00:00
feed-atom.php Feeds: `<comments>` is optional in RSS2, so don't include it when comments aren't present or open. Same for `<wfw:commentRss>` and `<slash:comments>` 2015-11-04 17:47:25 +00:00
feed-rdf.php Themes: Improve document title output. 2015-10-20 16:21:25 +00:00
feed-rss.php Themes: Improve document title output. 2015-10-20 16:21:25 +00:00
feed-rss2-comments.php Themes: Improve document title output. 2015-10-20 16:21:25 +00:00
feed-rss2.php Docs: Standardize filter docs in remaining wp-includes/* files to use third-person singular verbs per the inline documentation standards for PHP. 2016-05-22 18:50:28 +00:00
feed.php Docs: Apply inline `@see` tags to hooks referenced in DocBlocks in a variety of wp-includes/* files. 2016-05-23 19:01:27 +00:00
formatting.php Multisite: Change `WP_Network` `id` property to an integer. 2016-06-26 14:26:29 +00:00
functions.php Docs: Remove duplicate text for `is_main_site()` parameter. 2016-06-30 17:17:28 +00:00
functions.wp-scripts.php Docs: Apply inline `@see` tags to hooks referenced in DocBlocks in a variety of wp-includes/* files. 2016-05-23 19:01:27 +00:00
functions.wp-styles.php DOCS: Replace HTTP links with HTTPS. 2016-06-10 04:50:33 +00:00
general-template.php Script Loader: Use `wp_parse_url()` to fix URL parsing failures for PHP < 5.4.7. 2016-06-29 21:05:28 +00:00
http.php Docs: Apply inline `@see` tags to hooks referenced in DocBlocks in a variety of wp-includes/* files. 2016-05-23 19:01:27 +00:00
kses.php Docs: Add changelog entries to the hook doc for the `safe_style_css` filter denoting recent CSS attribute additions. 2016-06-30 17:02:30 +00:00
l10n.php Multisite: Change `WP_Network` `id` property to an integer. 2016-06-26 14:26:29 +00:00
link-template.php Permalinks: Avoid a PHP notice in `get_permalink()` if default category is unavailable. 2016-06-14 23:12:28 +00:00
load.php Multisite: Lazy load extended `WP_Site` properties when requested. 2016-06-29 19:32:27 +00:00
locale.php I18N: Move the `WP_Locale` class to its own file. 2016-06-28 11:53:28 +00:00
media-template.php Customizer, Site Icon preview: improve alt attributes and text accessibility. 2016-04-17 12:01:27 +00:00
media.php Media: Pass allowed file extensions to Plupload. 2016-06-16 15:39:28 +00:00
meta.php Meta: Make retrieving registered metadata actually work. 2016-06-30 21:25:27 +00:00
ms-blogs.php Multisite: Revert [37874]. 2016-06-30 16:40:28 +00:00
ms-default-constants.php I18N: Remove `<code>` tags from translatable string in `wp-admin/network/site-new.php`. 2016-02-29 03:17:26 +00:00
ms-default-filters.php
ms-deprecated.php Multisite: Use `to_array()` method on `WP_Site` objects in `wp_get_sites()` 2016-06-09 18:10:29 +00:00
ms-files.php
ms-functions.php Multisite: Deprecate `wp_get_sites()` 2016-06-08 03:03:27 +00:00
ms-load.php Multisite: Simplify logic assigning `orderby` in `get_site_by_path()`. 2016-06-30 16:59:29 +00:00
ms-settings.php Multisite: Fire the `ms_loaded` action after multisite's bootstrap has finished. 2016-06-29 19:00:28 +00:00
nav-menu-template.php Nav Menus: Move the `Walker_Nav_Menu` class to its own file. 2016-06-06 15:18:31 +00:00
nav-menu.php Docs: Improve the summaries and return descriptions for `get_registered_nav_menus()` and `get_nav_menu_locations()`. 2016-06-20 08:26:29 +00:00
option.php Docs: Make the DocBlock summary for `get_option()` more explicit and convert to using a third-person singular verb. 2016-06-26 17:29:30 +00:00
pluggable-deprecated.php Users: Introduce `_wp_get_current_user()` for improved backward compatibility. 2016-02-23 22:26:28 +00:00
pluggable.php Multisite: Change `WP_Network` `id` property to an integer. 2016-06-26 14:26:29 +00:00
plugin.php Plugins: Return the original value in `apply_filters_deprecated()` if no filter is registered for the tag. 2016-06-29 13:22:27 +00:00
post-formats.php
post-template.php Admin: Escape attachment name in case it contains special characters 2016-06-21 14:20:55 +00:00
post-thumbnail-template.php Post Thumbnails: Add helper functions for attachment captions. 2016-06-29 17:28:28 +00:00
post.php Post Thumbnails: Add helper functions for attachment captions. 2016-06-29 17:28:28 +00:00
query.php Docs: Further improve the note of caution within the DocBlock description for `query_posts()`. 2016-06-26 18:06:27 +00:00
registration-functions.php
registration.php
rest-api.php REST API: Include a refreshed nonce in a `X-WP-Nonce` header when responding to an authenticated request. 2016-06-29 03:02:07 +00:00
revision.php Text Changes: Unify permission error messages. 2016-06-29 15:16:29 +00:00
rewrite.php Docs: Apply inline `@see` tags to hooks referenced in DocBlocks in a variety of wp-includes/* files. 2016-05-23 19:02:28 +00:00
rss-functions.php
rss.php DOCS: Replace HTTP links with HTTPS. 2016-06-10 04:50:33 +00:00
script-loader.php Users: Check zxcvbn is defined before calling. 2016-07-01 12:45:29 +00:00
session.php Docs: Apply inline `@see` tags to hooks referenced in DocBlocks in a variety of wp-includes/* files. 2016-05-23 19:02:28 +00:00
shortcodes.php Multisite: Change `WP_Network` `id` property to an integer. 2016-06-26 14:26:29 +00:00
taxonomy.php Add a note about uniqueness to the doc block for `get_term_by()`. 2016-06-08 04:08:27 +00:00
template-loader.php Docs: Standardize filter docs in remaining wp-includes/* files to use third-person singular verbs per the inline documentation standards for PHP. 2016-05-22 18:50:28 +00:00
template.php Docs: Standardize filter docs in remaining wp-includes/* files to use third-person singular verbs per the inline documentation standards for PHP. 2016-05-22 18:50:28 +00:00
theme.php Multisite: Change `WP_Network` `id` property to an integer. 2016-06-26 14:26:29 +00:00
update.php Upgrade: Allow update checks on `upgrader_process_complete` to be run during Ajax requests. 2016-05-25 19:36:28 +00:00
user.php Users: `wp_signon()` expects an array as the `$credentials` argument, not a string. 2016-06-14 15:34:29 +00:00
vars.php Docs: Standardize filter docs in remaining wp-includes/* files to use third-person singular verbs per the inline documentation standards for PHP. 2016-05-22 18:50:28 +00:00
version.php Users: Check zxcvbn is defined before calling. 2016-07-01 12:45:29 +00:00
widgets.php Docs: Apply inline `@see` tags to hooks referenced in DocBlocks in a variety of wp-includes/* files. 2016-05-23 19:02:28 +00:00
wlwmanifest.xml
wp-db.php DOCS: Replace HTTP links with HTTPS. 2016-06-10 04:50:33 +00:00
wp-diff.php Docs: Apply inline `@see` tags to hooks referenced in DocBlocks in a variety of wp-includes/* files. 2016-05-23 19:02:28 +00:00