WordPress/wp-includes
Scott Taylor 8496504f59 Properly set `$subdomain_error` to `false` when applicable in `ms_subdomain_constants()`. This was previously untestable because it used static vars: use globals instead.
Adds unit test.
Fixes #28697.

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


git-svn-id: http://core.svn.wordpress.org/trunk@28984 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-16 22:35:14 +00:00
..
ID3
SimplePie
Text
certificates
css Editor scrolling: better "scroll into view" in the visual editor. Don't override MCE path focus style. Props avryl, see #28328. 2014-07-16 04:06:16 +00:00
fonts Update Dashicons. 2014-04-07 17:52:16 +00:00
images
js Make sure that the `ready` event only fires once for relevant MCE views that are sandbox'd in iframes. Move some editor callbacks to `initialize`. 2014-07-16 22:10:16 +00:00
pomo Introduce a binary-safe wrapper for strlen() and use it in seems_utf8(), utf8_uri_encode(), and wp_read_image_metadata(). 2014-06-23 14:48:14 +00:00
theme-compat Eliminate use of `extract()` in `wp-includes/theme-compat/comments-popup.php`. 2014-05-13 04:40:16 +00:00
admin-bar.php Customizer: Add meta capability `customize` which is mapped to `edit_theme_options`. 2014-07-14 19:01:16 +00:00
atomlib.php
author-template.php Convert documentation of default arguments in `wp_list_authors()` to the hash-notation style. 2014-06-29 22:34:14 +00:00
bookmark-template.php Add indentation for the hash notation missed in [29108]. 2014-07-11 22:59:16 +00:00
bookmark.php Convert default arguments documentation for `get_bookmarks()` into a hash notation. 2014-07-11 23:03:13 +00:00
cache.php Add periods to short descriptions for magic methods added in [28501], [28521], and [28524]. 2014-07-14 01:12:14 +00:00
canonical.php Canonical redirects should only be applied for GET requests. 2014-07-02 14:11:14 +00:00
capabilities.php Customizer: Add meta capability `customize` which is mapped to `edit_theme_options`. 2014-07-14 19:01:16 +00:00
category-template.php Cleanup for `switch` statements: 2014-05-30 17:58:15 +00:00
category.php Deprecate get_all_category_ids(). Suggest get_terms() as a replacement. 2014-06-05 16:25:14 +00:00
class-IXR.php
class-feed.php Add access modifiers to methods/members in `WP_Feed_Cache`, `WP_SimplePie_File`, and `WP_Feed_Cache_Transient`. 2014-05-19 05:27:15 +00:00
class-http.php Convert default arguments documentation for WP_Http_Cookie::__construct() into a hash notation. 2014-07-11 22:50:15 +00:00
class-json.php
class-oembed.php Add periods to short descriptions for magic methods added in [28501], [28521], and [28524]. 2014-07-14 01:12:14 +00:00
class-phpass.php
class-phpmailer.php
class-pop3.php
class-simplepie.php `hackificator` complains if you call `include 'file.php'` without the parens, needs to be `include( 'file.php' )` 2014-05-18 20:52:15 +00:00
class-smtp.php
class-snoopy.php
class-wp-admin-bar.php In `wp-includes/class-wp-admin-bar.php`, `break` is unreachabled after `return`. 2014-05-06 18:29:15 +00:00
class-wp-ajax-response.php Fill out inline documentation for magic methods added to the `WP_Ajax_Response` class in [28524]. 2014-07-13 23:44:14 +00:00
class-wp-customize-control.php Inline documentation cleanup for 4.0 audit. 2014-07-14 00:32:16 +00:00
class-wp-customize-manager.php Customizer: Add meta capability `customize` which is mapped to `edit_theme_options`. 2014-07-14 19:01:16 +00:00
class-wp-customize-section.php Inline documentation cleanup for 4.0 audit. 2014-07-14 00:40:15 +00:00
class-wp-customize-setting.php Allow for easier adding of custom class variables when extending WP_Customize_Section or WP_Customize_Setting. 2014-06-24 22:56:14 +00:00
class-wp-customize-widgets.php Inline documentation cleanup for 4.0 audit. 2014-07-14 00:42:15 +00:00
class-wp-editor.php Cleanup after [29179]: 2014-07-16 15:40:14 +00:00
class-wp-embed.php Inline documentation cleanup for 4.0 audit. 2014-07-14 00:44:14 +00:00
class-wp-error.php Fill out inline documentation for magic methods added to the `WP_Error` class in [28511]. 2014-07-13 23:42:14 +00:00
class-wp-http-ixr-client.php Add access modifiers to methods/members in `WP_HTTP_IXR_Client`. 2014-05-19 05:51:15 +00:00
class-wp-image-editor-gd.php Add `->get_quality()` method to `WP_Image_Editor` class. 2014-06-28 03:50:15 +00:00
class-wp-image-editor-imagick.php Add `->get_quality()` method to `WP_Image_Editor` class. 2014-06-28 03:50:15 +00:00
class-wp-image-editor.php Add `->get_quality()` method to `WP_Image_Editor` class. 2014-06-28 03:50:15 +00:00
class-wp-theme.php Remove redundant 'Visit author homepage' title attributes for plugins and themes. 2014-06-05 04:52:16 +00:00
class-wp-walker.php Add periods to short descriptions for magic methods added in [28501], [28521], and [28524]. 2014-07-14 01:12:14 +00:00
class-wp-xmlrpc-server.php Add periods to short descriptions for magic methods added in [28501], [28521], and [28524]. 2014-07-14 01:12:14 +00:00
class-wp.php Fill out inline documentation for magic methods added to the `WP_MatchesMapRegex` class in [28516]. 2014-07-13 23:39:14 +00:00
class.wp-dependencies.php Add missing access modifiers to methods in `WP_Dependencies` and `_WP_Dependency`. 2014-05-19 06:14:14 +00:00
class.wp-scripts.php `WP_Scripts->in_default_dir()` should use the `WPINC` constant 2014-06-29 22:23:15 +00:00
class.wp-styles.php Add missing access modifiers to methods in `WP_Scripts` and `WP_Styles`. 2014-05-19 06:17:14 +00:00
comment-template.php Inline documentation cleanup for 4.0 audit. 2014-07-14 01:02:15 +00:00
comment.php Add periods to short descriptions for magic methods added in [28501], [28521], and [28524]. 2014-07-14 01:12:14 +00:00
compat.php
cron.php Remove SSL verification by default for requests to wp-cron.php. Props sivel, rhurling. Fixes #12609. 2014-06-19 22:53:19 +00:00
date.php WP_Date_Query: The inclusive logic should include all times within the date range. 2014-07-01 01:18:15 +00:00
default-constants.php Revert [28563]. See #18298. 2014-07-09 18:07:16 +00:00
default-filters.php
default-widgets.php Cleanup `wp_widget_rss_form()` after [28734]. "$$input used sanitized variables which contained actual values, unlike $inputs[$input] which in that context contains data about which input fields are hidden." 2014-06-20 17:29:14 +00:00
deprecated.php `LIKE` escape sanity: 2014-06-10 00:30:15 +00:00
feed-atom-comments.php Introduce 'rss_tag_pre' action, which fires between the xml and rss tags in a feed. 2014-07-07 10:18:15 +00:00
feed-atom.php Introduce 'rss_tag_pre' action, which fires between the xml and rss tags in a feed. 2014-07-07 10:18:15 +00:00
feed-rdf.php Introduce 'rss_tag_pre' action, which fires between the xml and rss tags in a feed. 2014-07-07 10:18:15 +00:00
feed-rss.php
feed-rss2-comments.php Introduce 'rss_tag_pre' action, which fires between the xml and rss tags in a feed. 2014-07-07 10:18:15 +00:00
feed-rss2.php Introduce 'rss_tag_pre' action, which fires between the xml and rss tags in a feed. 2014-07-07 10:18:15 +00:00
feed.php Force a separator in get_wp_title_rss() if it was inadvertently filtered out by the theme. 2014-06-30 10:11:15 +00:00
formatting.php Inline documentation cleanup for 4.0 audit. 2014-07-14 01:02:15 +00:00
functions.php Inline documentation cleanup for 4.0 audit. 2014-07-14 01:02:15 +00:00
functions.wp-scripts.php In `wp_localize_script()`, instantiate the `$wp_scripts` global instead of bailing when it is called before `wp_enqueue_scripts`. This allows `wp_enqueue_media()` to be called on the front end with no JS errors. 2014-06-26 01:38:15 +00:00
functions.wp-styles.php
general-template.php Use `includes_url()` in `wlwmanifest_link()`. 2014-06-29 22:27:15 +00:00
http.php Remove by-reference modifiers from arguments in `wp_remote_retrieve_*` functions. 2014-05-05 18:46:15 +00:00
kses.php Make wp_kses_no_null() remove any invalid control characters in a string. 2014-07-01 18:01:17 +00:00
l10n.php Inline documentation cleanup for 4.0 audit. 2014-07-14 01:02:15 +00:00
link-template.php Pass the post object rather than the post ID between the post permalink functions. Fixes #28425. Props arnee 2014-07-08 15:48:17 +00:00
load.php Improve inline documentation for wp-includes/load.php. 2014-06-04 04:12:17 +00:00
locale.php
media-template.php Simplify creation of audio, video, and playlist MCE views by placing them in iframe sandboxes. 2014-07-15 22:18:14 +00:00
media.php Make audio and video URLs/embed handlers work in `<iframe>`-sandbox'd MCE views. 2014-07-15 21:51:15 +00:00
meta.php Replace all uses of `like_escape()` with `$wpdb->esc_like()`. 2014-06-10 00:44:15 +00:00
ms-blogs.php Inline documentation cleanup for 4.0 audit. 2014-07-14 01:02:15 +00:00
ms-default-constants.php Properly set `$subdomain_error` to `false` when applicable in `ms_subdomain_constants()`. This was previously untestable because it used static vars: use globals instead. 2014-07-16 22:35:14 +00:00
ms-default-filters.php In multisite, on the `updated_option` action, if the option name is one of: 'blogname', 'siteurl', 'post_count' - refresh the blog details cache for the current blog id. 2014-06-28 04:07:16 +00:00
ms-deprecated.php
ms-files.php
ms-functions.php `get_blog_details()->post_count` should update on more actions than just `publish_post`. 2014-06-26 00:53:15 +00:00
ms-load.php Replace all uses of `like_escape()` with `$wpdb->esc_like()`. 2014-06-10 00:44:15 +00:00
ms-settings.php Move ms-load.php and ms-default-constants.php inclusion back to ms-settings.php to avoid breaking WP-CLI. 2014-06-30 23:50:15 +00:00
nav-menu-template.php Correct filter documentation in wp_nav_menu(). 2014-06-27 03:37:16 +00:00
nav-menu.php `return false` in `has_nav_menu()` if the `$location` does not exist in the `$_wp_registered_nav_menus` global. 2014-06-26 00:57:15 +00:00
option.php Conditionally set the the `secure` flag on the test cookie, post password cookie, settings cookies, and comment author cookies depending on whether the front end and/or admin area are served over `https`. Fixes #28427 2014-06-29 13:25:16 +00:00
pluggable-deprecated.php
pluggable.php Asterisk is an allowed character in a URI and should not be stripped out by wp_sanitize_redirect(). 2014-07-01 15:56:15 +00:00
plugin.php General phpDoc fixes in wp-includes/plugin.php. 2014-06-29 09:19:15 +00:00
post-formats.php
post-template.php Convert default arguments documentation for `wp_page_menu()` into a hash notation. 2014-07-11 23:13:15 +00:00
post-thumbnail-template.php
post.php Convert default arguments documentation for `get_posts()` into a hash notation. 2014-07-11 23:34:15 +00:00
query.php Fill out inline documentation for magic methods added to the `WP_Query` class in [28523]. 2014-07-13 23:36:14 +00:00
registration-functions.php
registration.php
revision.php Remove backticks on `$post` variables in some short parameter descriptions. 2014-07-03 19:28:14 +00:00
rewrite.php `WP_Query` was only missing one access modifier. 2014-05-19 17:41:13 +00:00
rss-functions.php
rss.php
script-loader.php Enhance the editor on the Add/Edit Post screens, first run. Props avril, see #28328. 2014-07-09 22:06:15 +00:00
shortcodes.php Make `has_shortcode()` recursive/work for nested shortcodes. 2014-07-16 22:05:17 +00:00
taxonomy.php Avoid a race condition when multiple windows are open so that orphaned terms cannot be created by accident. 2014-07-16 21:52:15 +00:00
template-loader.php
template.php Revert [28563]. See #18298. 2014-07-09 18:07:16 +00:00
theme.php Make audio and video URLs/embed handlers work in `<iframe>`-sandbox'd MCE views. 2014-07-15 21:51:15 +00:00
update.php Use direct typecasting instead of intval() for better performance. 2014-06-24 16:06:14 +00:00
user.php Add periods to short descriptions for magic methods added in [28501], [28521], and [28524]. 2014-07-14 01:12:14 +00:00
vars.php
version.php DB schema change: Add comment_author_email(10) index. 2014-07-16 15:54:16 +00:00
widgets.php is_active_widget() should skip orphaned widgets. 2014-07-10 15:49:14 +00:00
wlwmanifest.xml
wp-db.php Add periods to short descriptions for magic methods added in [28501], [28521], and [28524]. 2014-07-14 01:12:14 +00:00
wp-diff.php Fill out inline documentation for magic methods added to the `WP_Text_Diff_Renderer_Table` class in [28525]. 2014-07-13 23:32:14 +00:00