WordPress/wp-includes
Andrew Nacin ffc4ca7b01 Introduce get_site_by_path() and further rewrite the site detection process for multisite.
This is the first big step to supporting arbitrary domains and paths. In this new approach, sites are detected first where possible, then the network is inferred. Allows filtering for arbitrary path segments, smooths out some weirdness, and removes various restrictions. A sunrise plugin could do much of its work by adding filters, if those are even needed.

see #27003.

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


git-svn-id: http://core.svn.wordpress.org/trunk@27209 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-02 22:25:14 +00:00
..
certificates WP_HTTP: Update the Root Certificate bundle used for SSL communication by WP_HTTP. 2014-02-27 02:33:14 +00:00
css Remove unnecessary quotes from urls in CSS. 2014-02-26 17:23:13 +00:00
fonts Update Dashicons to latest. Adds line break, paragraph, code, and bbPress. 2014-01-31 00:41:13 +00:00
ID3 ID3 1.9.7. 2013-07-13 00:37:36 +00:00
images TinyMCE: revert style for the blocks drop-down in the toolbar, limit the styles imported for the same drop-down, make the menu highlight color grey. Part props avryl, see #26952 2014-02-19 03:51:15 +00:00
js Remove extra comma. props jorbin. see #19845. 2014-03-02 19:01:13 +00:00
pomo Fix strict notices in Tests_POMO_PO. 2013-12-01 12:48:10 +00:00
SimplePie SimplePie: Fix use of DOMElement as array. 2013-09-11 04:02:10 +00:00
Text Declare Text_Diff::trimNewlines() as static. Upstream is not back compat. props aaroncampbell. fixes #24372. 2013-05-25 22:10:53 +00:00
theme-compat Use site_url() in theme-compat. 2013-10-02 21:17:09 +00:00
admin-bar.php Improve keyboard accessibility for the admin menu when in responsive mode, props SergeyBiryukov, fixes #26639 for trunk. 2014-01-22 20:08:11 +00:00
atomlib.php First there were two, and now there are three -- in the @since versions that came before and that shall be. And so it will be, says nacin. 2013-12-24 18:57:12 +00:00
author-template.php Add exclude and include to wp_list_authors(). 2014-02-25 20:11:13 +00:00
bookmark-template.php Use a docs-specific variable for the link_category hook docs in wp-admin/bookmarks-template.php. 2014-01-18 16:58:13 +00:00
bookmark.php Add some missing braces to get_bookmarks() which was causing an early return. Introduced in [25934]. See #25468. Fixes #25874 2013-11-08 02:20:10 +00:00
cache.php Rather than removing the 3rd argument in WP_Object_Cache::delete(), mark it as $deprecated. 2014-02-11 16:41:12 +00:00
canonical.php First there were two, and now there are three -- in the @since versions that came before and that shall be. And so it will be, says nacin. 2013-12-24 18:57:12 +00:00
capabilities.php Inline documentation for hooks in wp-includes/capabilities.php. 2013-11-13 04:39:08 +00:00
category-template.php Add some missing number i18n in Walker_Category and Walker_CategoryDropdown. Fixes #22745. 2014-02-28 21:48:13 +00:00
category.php Revert r25824:25875 from the core.svn.wordpress.org repository. 2013-10-25 02:29:52 +00:00
class-feed.php Inline documentation for hooks in wp-includes/class-feed.php. 2013-10-08 20:07:08 +00:00
class-http.php Remove all @package and @subpackage PHPDoc tags not at the file- or class-levels in core. 2014-02-25 17:14:14 +00:00
class-IXR.php First there were two, and now there are three -- in the @since versions that came before and that shall be. And so it will be, says nacin. 2013-12-24 18:57:12 +00:00
class-json.php Patch Services_JSON to use the proper function name and avoid a fatal error. see #24210. 2013-07-08 16:55:34 +00:00
class-oembed.php Allow any vimeo.com subdomain for embeds. 2014-02-21 19:32:13 +00:00
class-phpass.php First there were two, and now there are three -- in the @since versions that came before and that shall be. And so it will be, says nacin. 2013-12-24 18:57:12 +00:00
class-phpmailer.php Backport a fix for qmail from PHPMailer upstream. 2013-10-03 03:00:09 +00:00
class-pop3.php
class-simplepie.php
class-smtp.php
class-snoopy.php Use correct variable in the deprecated and abandoned Snoopy HTTP client. see #24210. 2013-07-08 17:17:46 +00:00
class-wp-admin-bar.php Bring in the responsive component of MP6. See #25858. 2013-11-13 18:00:10 +00:00
class-wp-ajax-response.php
class-wp-customize-control.php Remove /extend/ from URLs to wordpress.org/plugins, /themes, and /mobile, as those are all now top-level. see #24389. 2013-05-22 21:01:57 +00:00
class-wp-customize-manager.php Avoid empty header color after enabling header text via Customizer. props obenland, fixes #23761. 2013-07-12 20:41:46 +00:00
class-wp-customize-section.php Inline documentation for hooks in wp-includes/class-wp-customize-section.php. 2014-01-02 02:07:11 +00:00
class-wp-customize-setting.php Remove all @package and @subpackage PHPDoc tags not at the file- or class-levels in core. 2014-02-25 17:14:14 +00:00
class-wp-editor.php Set wpActiveEditor to the id of the first instance on init, props kovshenin, fixes #27210. 2014-02-25 19:31:14 +00:00
class-wp-embed.php Inline documentation for core shortcode attributes. 2014-01-07 16:07:12 +00:00
class-wp-error.php Correct inline docs for is_wp_error(). props johnbillion. fixes #24637. 2013-06-24 18:23:45 +00:00
class-wp-http-ixr-client.php
class-wp-image-editor-gd.php The Pinking Shears stir from their slumber, awakened by what may seem, to those 2013-12-11 19:49:11 +00:00
class-wp-image-editor-imagick.php The Pinking Shears stir from their slumber, awakened by what may seem, to those 2013-12-11 19:49:11 +00:00
class-wp-image-editor.php Two more hook docs fixes. 2013-12-04 23:51:19 +00:00
class-wp-theme.php Add a filter to remove or rename page templates for a theme. This does not yet handle adding page templates. see #13265. 2014-02-26 20:31:15 +00:00
class-wp-walker.php Revert r25824:25875 from the core.svn.wordpress.org repository. 2013-10-25 02:29:52 +00:00
class-wp-xmlrpc-server.php Remove all @package and @subpackage PHPDoc tags not at the file- or class-levels in core. 2014-02-25 17:14:14 +00:00
class-wp.php Return 404 when querying author's posts who is not a member and has no posts on the site 2014-02-26 18:12:13 +00:00
class.wp-dependencies.php Inline documentation for WP_Dependencies and _WP_Dependency classes. 2013-09-20 19:54:10 +00:00
class.wp-scripts.php If the script_loader_src filter returns nothing, bail instead of printing <script src="">. 2013-09-16 22:12:09 +00:00
class.wp-styles.php Simplify how admin color schemes are enqueued. 2014-02-20 06:59:13 +00:00
comment-template.php Pass the comment object to the get_comment_date and get_comment_time. 2014-02-26 16:41:14 +00:00
comment.php Revert [27115] and let cache backends handle the stripping of spaces in cache keys as necessary. 2014-02-26 22:05:13 +00:00
compat.php Restore compat for json_decode and json_encode. fixes #18015 for trunk. 2011-07-06 23:33:05 +00:00
cron.php Cron: Fix a case where a cache inconsistency can cause wp_clear_scheduled_hook() to enter an infinite loop. This unravels the function from using other cron api functions to looping over the cron array directly. See #25773 2013-12-07 09:13:11 +00:00
date.php Add description for 'dayofyear' and 'dayofweek' arguments in WP_Date_Query. 2013-11-16 08:21:10 +00:00
default-constants.php First there were two, and now there are three -- in the @since versions that came before and that shall be. And so it will be, says nacin. 2013-12-24 18:57:12 +00:00
default-filters.php Remove unused arg from wp_auth_check(), see #27081. 2014-02-09 22:34:11 +00:00
default-widgets.php Widgets: improve the help text on the Widgets screen, props siobhan, props Hanni, fixes #26244. 2013-12-01 18:29:09 +00:00
deprecated.php Remove all @package and @subpackage PHPDoc tags not at the file- or class-levels in core. 2014-02-25 17:14:14 +00:00
feed-atom-comments.php Inline documentation for hooks in wp-includes/feed-atom-comments.php. 2013-12-21 20:22:12 +00:00
feed-atom.php Inline documentation for hooks in wp-includes/feed-atom.php. 2013-09-20 22:50:10 +00:00
feed-rdf.php Revert r25824:25875 from the core.svn.wordpress.org repository. 2013-10-25 02:29:52 +00:00
feed-rss2-comments.php Revert r25824:25875 from the core.svn.wordpress.org repository. 2013-10-25 02:29:52 +00:00
feed-rss2.php Inline documentation for hooks in wp-includes/feed-rss2.php. 2013-09-20 22:27:09 +00:00
feed-rss.php Revert r25824:25875 from the core.svn.wordpress.org repository. 2013-10-25 02:29:52 +00:00
feed.php Remove all @package and @subpackage PHPDoc tags not at the file- or class-levels in core. 2014-02-25 17:14:14 +00:00
formatting.php Strip backslashes, not just forward slashes, from untrailingslashit(). 2014-03-01 21:45:15 +00:00
functions.php Strip backslashes, not just forward slashes, from untrailingslashit(). 2014-03-01 21:45:15 +00:00
functions.wp-scripts.php Inline documentation for hooks in wp-includes/functions.wp-scripts.php. 2013-10-27 17:51:09 +00:00
functions.wp-styles.php Inline documentation for hooks in wp-includes/functions.wp-styles.php. 2013-10-27 17:59:09 +00:00
general-template.php Revert [27115] and let cache backends handle the stripping of spaces in cache keys as necessary. 2014-02-26 22:05:13 +00:00
http.php Use get_current_site() instead of the $current_site global when possible. 2013-11-13 03:23:10 +00:00
kses.php Add dfn, mark, and samp to kses. 2014-01-17 08:38:09 +00:00
l10n.php Add jshintrc to qunit. 2013-10-30 14:39:10 +00:00
link-template.php Set the taxonomy property in the WP_Adjacent_Post class. fixes #26937. 2014-02-26 18:46:14 +00:00
load.php Inline documentation fixes for timer_stop(). 2014-03-01 02:42:14 +00:00
locale.php Better description for WP_Locale::_strings_for_pot(). props dimadin. fixes #25937. 2013-11-13 14:01:09 +00:00
media-template.php Add the ability to drag and drop files directly onto the editor. 2014-03-01 21:34:17 +00:00
media.php * Videos should always render at the same aspect ratio. 2014-02-28 21:28:14 +00:00
meta.php Correct return values for update_metadata() and related functions. 2014-02-18 21:36:14 +00:00
ms-blogs.php Fix the return description for switch_to_blog() to reflect that it always returns true. 2014-03-02 04:41:15 +00:00
ms-default-constants.php Use get_current_site() instead of the $current_site global when possible. 2013-11-13 03:23:10 +00:00
ms-default-filters.php Live network counts of users and sites for small networks. 2013-09-25 16:21:09 +00:00
ms-deprecated.php Introduce wp_get_sites(), a long-awaited replacement for get_blog_list(). 2013-09-14 21:13:10 +00:00
ms-files.php Use stripslashes() instead of wp_unslash() in ms-files.php to avoid formatting.php dependency. props devesine, fixes #24374. 2013-05-20 20:20:22 +00:00
ms-functions.php In remove_user_from_blog(), avoid a potentially expensive IN query before invalidating the reassigned post and link caches. 2014-02-11 16:28:13 +00:00
ms-load.php Introduce get_site_by_path() and further rewrite the site detection process for multisite. 2014-03-02 22:25:14 +00:00
ms-settings.php Introduce get_site_by_path() and further rewrite the site detection process for multisite. 2014-03-02 22:25:14 +00:00
nav-menu-template.php Remove all @package and @subpackage PHPDoc tags not at the file- or class-levels in core. 2014-02-25 17:14:14 +00:00
nav-menu.php Consistently return a WP_Error object in case of an error in wp_update_nav_menu_item(). 2014-02-25 00:51:13 +00:00
option.php Remove all @package and @subpackage PHPDoc tags not at the file- or class-levels in core. 2014-02-25 17:14:14 +00:00
pluggable-deprecated.php First there were two, and now there are three -- in the @since versions that came before and that shall be. And so it will be, says nacin. 2013-12-24 18:57:12 +00:00
pluggable.php Improve inline documentation for wp_new_user_notification(). 2014-02-09 21:07:12 +00:00
plugin.php Introduce doing_filter() and doing_action() to identify hooks in progress. 2014-02-26 18:44:14 +00:00
post-formats.php Allow has_post_format() to be used to check for any format. 2013-11-24 13:45:10 +00:00
post-template.php Pass along preview query args only if they are already present. Avoids sloppily appending a preview nonce when there should not be one. See #17157. 2014-02-28 23:29:14 +00:00
post-thumbnail-template.php Don't iterate over $wp_query->posts in update_post_thumbnail_cache() if it is empty. Adds unit tests. 2014-02-12 04:49:15 +00:00
post.php Revert [27115] and let cache backends handle the stripping of spaces in cache keys as necessary. 2014-02-26 22:05:13 +00:00
query.php Add a $default argument to get_query_var() and WP_Query::get(). fixes #16471. 2014-02-26 23:58:14 +00:00
registration-functions.php
registration.php
revision.php wp_get_post_revisions() should have a default orderby of date ID to tie-break rapidly added revisions - namely, when unit tests are run. There is a test that occasionally fails when running all tests, and always fails when running phpunit tests/phpunit/tests/post/revisions.php . This fixes that. 2014-02-17 21:23:12 +00:00
rewrite.php Fix a typo in the author_rewrite_rules hook doc. 2014-03-02 02:50:14 +00:00
rss-functions.php Don't rely on include_path to include files. 2013-09-25 00:18:11 +00:00
rss.php Inline docs for hooks in MagPie. 2013-09-06 17:19:09 +00:00
script-loader.php Upgrade Plupload to 2.1.1, props kovshenin, see #25663 2014-02-27 20:01:16 +00:00
shortcodes.php First there were two, and now there are three -- in the @since versions that came before and that shall be. And so it will be, says nacin. 2013-12-24 18:57:12 +00:00
taxonomy.php Revert [27115] and let cache backends handle the stripping of spaces in cache keys as necessary. 2014-02-26 22:05:13 +00:00
template-loader.php Add jshintrc to qunit. 2013-10-30 14:39:10 +00:00
template.php Inline documentation improvements for get_*_template() functions in wp-includes/template.php. 2014-01-05 17:55:11 +00:00
theme.php Add boolean return values to require_if_theme_supports(). 2014-02-20 22:11:14 +00:00
update.php Remove all @package and @subpackage PHPDoc tags not at the file- or class-levels in core. 2014-02-25 17:14:14 +00:00
user.php Additional clarification for wp_authenticate_cookie() parameters. 2014-03-02 19:51:14 +00:00
vars.php Update the wp-inclues/vars.php file header to include Nginx as a recognized web server. 2014-01-10 18:15:13 +00:00
version.php Bump. 2014-02-22 19:36:15 +00:00
widgets.php Remove unused code from WP_Widget::update_callback(). 2014-02-21 18:51:13 +00:00
wlwmanifest.xml The Pinking Shears stir from their slumber, awakened by what may seem, to those 2013-12-11 19:49:11 +00:00
wp-db.php When failing to reconnect to a server that has gone away, simply fail the query once we've passed template_redirect, rather than wp_die(). 2014-02-26 04:54:14 +00:00
wp-diff.php Remove old debug comment. props nofearinc. fixes #25865. 2013-11-08 22:24:09 +00:00