WordPress/wp-includes
Ryan Boren 9fc9d42d0a * Register blog-id-cache group as global
* Introduce clean_blog_cache() so we can run it independently of refresh_blog_details() which assumes the blog still exists and get_blog_details() can be called.
* Don't db escape cache keys in get_blog_id_from_url()
* prepare() the query in get_blog_id_from_url()
* Return 0 for all failures in get_blog_id_from_url()
* clean_blog_cache() after dropping tables in wpmu_delete_blog() to make sure the cache is for real cleaned.



git-svn-id: http://core.svn.wordpress.org/trunk@22092 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-01 18:03:23 +00:00
..
SimplePie Update to SimplePie 1.3. props rmccue. 2012-08-28 17:24:33 +00:00
Text Update Text_Diff. Props simek. Fixes #9467 2010-02-19 01:25:26 +00:00
css Fix typo in wp-pointer.css, props TobiasBg, fixes #21019 2012-09-28 00:38:07 +00:00
images Consolidated patch for retina support, props taylorde, props empireoflight, fixes #21019 2012-09-27 02:12:54 +00:00
js Update underscore.js to version 1.4.0. fixes #22026. 2012-09-27 23:38:47 +00:00
pomo Restore return by ref for make_entry(). Props SergeyBiryukov. fixes #21839 2012-09-10 17:34:34 +00:00
theme-compat Introduce get_edit_user_link(). Props scribu, georgestephanis, johnbillion. fixes #14787 see #20307 2012-07-30 18:30:03 +00:00
admin-bar.php Check a post type's show_in_admin_bar property for 'View' and 'Edit' object links. Previously show_in_admin_bar was only checked for the add new menu. fixes #20504. 2012-09-23 18:39:03 +00:00
atomlib.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
author-template.php Use get_post() instead of global $post. 2012-09-04 16:29:28 +00:00
bookmark-template.php Introduce constants to allow for easier expression of time periods in seconds. Adds MINUTE_IN_SECONDS, HOUR_IN_SECONDS, DAY_IN_SECONDS, WEEK_IN_SECONDS, YEAR_IN_SECONDS. props nbachiyski, SergeyBiryukov. fixes #20987. 2012-09-25 05:26:19 +00:00
bookmark.php Don't cache a non-existent link in get_bookmark(). props wonderboymusic, fixes #21159. 2012-09-13 16:41:43 +00:00
cache.php Add @since to wp_cache_switch_to_blog(). Props SergeyBiryukov. fixes #21434 2012-09-30 14:02:59 +00:00
canonical.php Use network_site_url() for wp-signup.php. props markjaquith. see #19796. 2012-09-11 12:27:25 +00:00
capabilities.php Introduce create_posts meta capability. Props scribu, nacin, casben79. see #16714 2012-09-27 15:33:19 +00:00
category-template.php Fetch full terms for the post_category and tags_input queries and then wp_list_pluck() the desired fields. Fetching full terms primes the cache and reduces overall queries. Add cache invalidation to wp_set_post_terms(). Props scribu. see #21309 2012-09-24 20:35:56 +00:00
category.php Remove unnecessary return by refs. Props wonderboymusic. fixes #21839 2012-09-10 17:00:11 +00:00
class-IXR.php Specify the encoding in IXR_Server::output(). Props solarissmoke, sergey.s.betke@novgaro.ru, SergeyBiryukov. fixes #4794 2012-08-15 20:12:00 +00:00
class-feed.php Stabilize how WordPress hooks into SimplePie to implement transient caching. 2012-08-29 00:25:52 +00:00
class-http.php Avoid a warning in wp_remote_post() when using arrays or objects in the body param by using a more verbose check, introduced with [22047]. See #14184 2012-09-27 10:09:43 +00:00
class-json.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
class-oembed.php Add soundcloud and slideshare to the oEmbed providers list. props bradparbs, ericwahlforss, wonderboymusic. fixes #15734, #21635. 2012-09-25 23:42:53 +00:00
class-phpass.php Fix typos in documentation (wp-includes/[a-h]). See #18560. 2011-09-03 16:02:41 +00:00
class-phpmailer.php Do not pass mail() a fourth argument when safe_mode is in effect. 2012-06-26 03:54:17 +00:00
class-pop3.php Update pop3 class. Props aaroncampbell. fixes #17064 2011-04-21 20:40:32 +00:00
class-simplepie.php Use ABSPATH . WPINC rather than dynamically building the include path. see #21183. 2012-08-28 17:27:18 +00:00
class-smtp.php Upgrade PHPMailer to 5.2.1. Props MattyRob. fixes #19887 2012-02-07 16:13:51 +00:00
class-snoopy.php Fix some encoding issues. props hakre, fixes #14735. 2010-10-27 09:54:17 +00:00
class-wp-admin-bar.php Remove the @return for WP_Admin_Bar::remove_node(). props scribu. fixes #20906. 2012-08-24 17:34:52 +00:00
class-wp-ajax-response.php Specify the charset in WP_Ajax_Response::send(). Props sergey.s.betke@novgaro.ru, SergeyBiryukov. fixes #19448 2012-08-15 18:17:21 +00:00
class-wp-customize-control.php New color picker, props mattwiebe. see #21206. 2012-09-27 01:57:38 +00:00
class-wp-customize-manager.php phpdoc for Customizer classes and methods. Props bananastalktome. see #21303 2012-07-26 21:45:33 +00:00
class-wp-customize-section.php phpdoc for Customizer classes and methods. Props bananastalktome. see #21303 2012-07-26 21:45:33 +00:00
class-wp-customize-setting.php phpdoc for Customizer classes and methods. Props bananastalktome. see #21303 2012-07-26 21:45:33 +00:00
class-wp-editor.php Fix background on split buttons, remove redundant !important, remove spacers, a little css cleanup, see #18141 2012-09-27 00:41:49 +00:00
class-wp-embed.php Move WP_Embed into its own file. props ocean90. fixes #20533. 2012-09-25 08:39:26 +00:00
class-wp-error.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
class-wp-http-ixr-client.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
class-wp-theme.php Make Twenty Twelve the default theme for new installs. props markoheijnen, SergeyBiryukov. see #21789. 2012-09-27 07:47:51 +00:00
class-wp-walker.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
class-wp-xmlrpc-server.php XML-RPC: Introduce wp.getRevisions and wp.restoreRevision. 2012-09-27 04:17:15 +00:00
class-wp.php Remove AtomPub from core. 2012-09-11 20:11:39 +00:00
class.wp-dependencies.php Have wp_script_is() and wp_style_is() accept 'enqueued', as it reads better than 'queue' and is consistent with 'registered'. fixes #21741. 2012-08-30 18:57:57 +00:00
class.wp-scripts.php Allow protocol-relative URLs when registering/enqueueing scripts and styles. 2012-06-28 20:18:38 +00:00
class.wp-styles.php Allow protocol-relative URLs when registering/enqueueing scripts and styles. 2012-06-28 20:18:38 +00:00
comment-template.php Use get_post() instead of global $post. 2012-09-04 16:29:28 +00:00
comment.php Restore the behavior of the 'all' status for comment queries. Props SergeyBiryukov. see #21101 2012-10-01 15:31:40 +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 Introduce constants to allow for easier expression of time periods in seconds. Adds MINUTE_IN_SECONDS, HOUR_IN_SECONDS, DAY_IN_SECONDS, WEEK_IN_SECONDS, YEAR_IN_SECONDS. props nbachiyski, SergeyBiryukov. fixes #20987. 2012-09-25 05:26:19 +00:00
default-constants.php Make Twenty Twelve the default theme for new installs. props markoheijnen, SergeyBiryukov. see #21789. 2012-09-27 07:47:51 +00:00
default-filters.php Fix option name. props ocean90, see #21719. 2012-09-27 19:19:18 +00:00
default-widgets.php Close label. props lancewillett, fixes #21064. 2012-09-24 19:16:53 +00:00
deprecated.php Introduce constants to allow for easier expression of time periods in seconds. Adds MINUTE_IN_SECONDS, HOUR_IN_SECONDS, DAY_IN_SECONDS, WEEK_IN_SECONDS, YEAR_IN_SECONDS. props nbachiyski, SergeyBiryukov. fixes #20987. 2012-09-25 05:26:19 +00:00
feed-atom-comments.php Use get_search_query() in feed-rss2-comments.php. Props SergeyBiryukov. fixes #21365 2012-07-25 18:04:17 +00:00
feed-atom.php Use html_type for alternate link elements in atom feeds, as done in atom comment feeds. props niallkennedy. fixes #21305. 2012-07-20 15:08:45 +00:00
feed-rdf.php Add the generator element in feeds through the {rss2|atom|rdf|rss|opml}_head hooks. Fixes #6947 props sivel. 2010-02-13 16:45:16 +00:00
feed-rss.php Use the site's locale for the feed language. Provides the same result as language_attributes(). Removes the rss_language option. fixes #13440. see #5517. 2012-01-29 19:56:33 +00:00
feed-rss2-comments.php Use get_search_query() in feed-rss2-comments.php. Props SergeyBiryukov. fixes #21365 2012-07-25 18:04:17 +00:00
feed-rss2.php Use the_content_feed() when looking for zero-length post content for RSS2 feeds. Now you can have blank posts with content generated by the_content filters. props SergeyBiryukov. fixes #15604 2012-07-09 03:33:01 +00:00
feed.php Introduce constants to allow for easier expression of time periods in seconds. Adds MINUTE_IN_SECONDS, HOUR_IN_SECONDS, DAY_IN_SECONDS, WEEK_IN_SECONDS, YEAR_IN_SECONDS. props nbachiyski, SergeyBiryukov. fixes #20987. 2012-09-25 05:26:19 +00:00
formatting.php Remove the 'Size of the post box' (default_post_edit_rows) option. This will instead be handled by a user cookie tracking the resizing of both TinyMCE and the main textarea. see #21718. 2012-09-26 03:17:28 +00:00
functions.php Silence a PHP Warning in Safe Mode from get_temp_dir(). Props ocean90. Fixes #20778 2012-09-29 01:22:25 +00:00
functions.wp-scripts.php Have wp_script_is() and wp_style_is() accept 'enqueued', as it reads better than 'queue' and is consistent with 'registered'. fixes #21741. 2012-08-30 18:57:57 +00:00
functions.wp-styles.php Have wp_script_is() and wp_style_is() accept 'enqueued', as it reads better than 'queue' and is consistent with 'registered'. fixes #21741. 2012-08-30 18:57:57 +00:00
general-template.php Auto feeds for post type archives. props mgdl, wonderboymusic. fixes #21648. 2012-09-24 21:21:29 +00:00
http.php Handle pre-flighted OPTIONS requests in send_origin_headers(). Props nacin. fixes #21024 2012-09-24 21:39:04 +00:00
kses.php Recommend the wp_kses_allowed_html filter over CUSTOM_TAGS. Soft deprecate CUSTOM_TAGS. see #17977, #20210. 2012-09-10 18:00:41 +00:00
l10n.php Remove unnecessary return by refs. Props wonderboymusic. fixes #21839 2012-09-10 17:00:11 +00:00
link-template.php Use the regular post type UI for editing single media items (attachments). 2012-09-21 22:52:54 +00:00
load.php * Register blog-id-cache group as global 2012-10-01 18:03:23 +00:00
locale.php Add a translator's comment. see #19924. 2012-02-06 19:43:26 +00:00
media.php Move wp_max_upload_size and dependencies to wp-includes. props johnjamesjacoby. see #21390, fixes #21867. 2012-09-27 20:59:57 +00:00
meta.php Add NOT EXISTS to meta queries, allowing you to query for the non-existence of a meta key. 2012-06-29 19:59:29 +00:00
ms-blogs.php * Register blog-id-cache group as global 2012-10-01 18:03:23 +00:00
ms-default-constants.php Account for the old 'main override' in wp_upload_dir() for the main site in a post-MU network by declining to define the UPLOADS constant. 2012-09-18 18:07:18 +00:00
ms-default-filters.php Remove ms-files.php rewriting from WordPress multisite. fixes #19235. 2012-09-11 22:22:20 +00:00
ms-deprecated.php Undeprecate *_blog_option() by popular demand. Put them back in ms-blogs.php since direct inclusion of ms-blogs.php/ms-functions.php is unforntunately common. 2012-08-08 17:11:15 +00:00
ms-files.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
ms-functions.php * Register blog-id-cache group as global 2012-10-01 18:03:23 +00:00
ms-load.php Introduce wp_load_translations_early(), which can be used before the locale is properly loaded in order to translate early error strings. Internationalize setup-config.php -- translators no longer have a reason to modify this file. fixes #18180. 2012-01-26 20:34:27 +00:00
ms-settings.php Resurrect the switched global. Some are still using it. see #21459 2012-08-22 03:34:00 +00:00
nav-menu-template.php If a nav menu has no menu items, print nothing (instead of empty container markup). props obenland. fixes #21576. 2012-09-16 17:07:56 +00:00
nav-menu.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
option.php Introduce constants to allow for easier expression of time periods in seconds. Adds MINUTE_IN_SECONDS, HOUR_IN_SECONDS, DAY_IN_SECONDS, WEEK_IN_SECONDS, YEAR_IN_SECONDS. props nbachiyski, SergeyBiryukov. fixes #20987. 2012-09-25 05:26:19 +00:00
pluggable-deprecated.php Remove AtomPub from core. 2012-09-11 20:11:39 +00:00
pluggable.php Introduce constants to allow for easier expression of time periods in seconds. Adds MINUTE_IN_SECONDS, HOUR_IN_SECONDS, DAY_IN_SECONDS, WEEK_IN_SECONDS, YEAR_IN_SECONDS. props nbachiyski, SergeyBiryukov. fixes #20987. 2012-09-25 05:26:19 +00:00
plugin.php Revert [21287] until #21169 goes through. see #21321. 2012-07-21 20:24:21 +00:00
post-template.php Don't output the {$post_type} post class in the admin, to avoid clashes with admin CSS. props c3mdigital. fixes #21203. 2012-09-14 18:57:11 +00:00
post-thumbnail-template.php Add $wp_query parameter to update_post_thumbnail_cache(). props scribu. see #19949, fixes that ticket for 3.4. 2012-04-30 15:55:57 +00:00
post.php Introduce create_posts meta capability. Props scribu, nacin, casben79. see #16714 2012-09-27 15:33:19 +00:00
query.php Convert the object in the posts array to WP_Post only if the posts array is not empty. Some post caching plugins can cause it to be empty. see #21309 2012-09-26 12:32:54 +00:00
registration-functions.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
registration.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
rewrite.php Make Multisite work when WordPress is installed in a subdirectory. You can now have WordPress Multisite as an SVN external or a Git submodule! props johnjamesjacoby, evansolomon, duck_, jakemgold, nacin, markjaquith. see #19796 2012-09-27 06:07:21 +00:00
rss-functions.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
rss.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
script-loader.php Update underscore.js to version 1.4.0. fixes #22026. 2012-09-27 23:38:47 +00:00
shortcodes.php Add a comment to get_shortcode_regex() mentioning its near clones elsewhere. see #21996. 2012-09-26 01:16:31 +00:00
taxonomy.php Introduce constants to allow for easier expression of time periods in seconds. Adds MINUTE_IN_SECONDS, HOUR_IN_SECONDS, DAY_IN_SECONDS, WEEK_IN_SECONDS, YEAR_IN_SECONDS. props nbachiyski, SergeyBiryukov. fixes #20987. 2012-09-25 05:26:19 +00:00
template-loader.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
template.php Expect a possible array of post types in get_archive_template(). props SergeyBiryukov. fixes #20867. 2012-09-15 20:07:15 +00:00
theme.php URL encode the theme stylesheet passed into wp_customize_url(). see #21749. 2012-09-03 23:58:30 +00:00
update.php Introduce constants to allow for easier expression of time periods in seconds. Adds MINUTE_IN_SECONDS, HOUR_IN_SECONDS, DAY_IN_SECONDS, WEEK_IN_SECONDS, YEAR_IN_SECONDS. props nbachiyski, SergeyBiryukov. fixes #20987. 2012-09-25 05:26:19 +00:00
user.php Add get() and set() methods to WP_User_Query for modifying query variables the way you might with WP_Query. props wonderboymusic. fixes #21426. 2012-09-25 05:01:59 +00:00
vars.php TinyMCE: better exclusion of Opera mobile, fixes #21416 2012-07-30 19:40:52 +00:00
version.php 3.5 Beta 1. 2012-09-27 22:25:05 +00:00
widgets.php One newline is enough. 2012-01-05 20:10:39 +00:00
wlwmanifest.xml Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
wp-db.php Call error_log() in wp-db without unnecessary conditionals. fixes #21103. 2012-09-11 01:35:43 +00:00
wp-diff.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00