WordPress/wp-includes
Ryan Boren f0c8b8d0e7 Introduce WP_Screen::in_admin() for determining which admin the screen is in.
Change is_*_admin() to reference in_admin() with fallback to the WP_*_ADMIN constants during early bootstrap. This allows unit tests and ajax handlers to set the admin context.

fixes #21742


git-svn-id: http://core.svn.wordpress.org/trunk@21687 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-31 17:16:46 +00:00
..
css Compress scripts/styles: 3.5-alpha-21684. 2012-08-31 06:59:25 +00:00
images Flip Admin Bar search icon, props empireoflight and lessbloat, fixes #20033 2012-08-30 21:18:07 +00:00
js Compress scripts/styles: 3.5-alpha-21684. 2012-08-31 06:59:25 +00:00
pomo Avoid 'Only variables should be passed by reference' warnings. Props SergeyBiryukov. see #18975 2011-10-27 20:00:09 +00:00
SimplePie Update to SimplePie 1.3. props rmccue. 2012-08-28 17:24:33 +00:00
Text
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 Fix screen reader text in IE7 and 8 in the toolbar "Updates" menu, props SergeyBiryukov, fixes #21333 2012-08-19 22:19:00 +00:00
atomlib.php
author-template.php
bookmark-template.php Bunch of PHPDoc corrections and cleanups. props c3mdigital. props SergeyBiryukov. fixes #21149 2012-07-09 05:03:53 +00:00
bookmark.php
cache.php Introduce wp_cache_switch_to_blog() and WP_Object_Cache::switch_to_blog() as a lighter/faster way to switch the cache to a new blog id. 2012-08-02 18:31:14 +00:00
canonical.php Also switch back the @uses annotation for [21215]. props duck_. see #20484. see #16639 2012-07-05 20:09:28 +00:00
capabilities.php Move the optimization done to get_user_by() in [21376] higher up the stack, into map_meta_cap() and is_super_admin(). 2012-08-20 21:58:34 +00:00
category-template.php
category.php
class-feed.php Stabilize how WordPress hooks into SimplePie to implement transient caching. 2012-08-29 00:25:52 +00:00
class-http.php Fix typo in HTTP docblock. props ocean90. fixes #21215. 2012-07-20 15:09: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-json.php
class-oembed.php
class-phpass.php
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
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
class-snoopy.php
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-atom-server.php Add tags_input, page_template, and post_category get magic to WP_Post. 2012-08-28 19:08:28 +00:00
class-wp-customize-control.php Avoid fatal error in the customizer when the current theme doesn't support custom headers. Props c3mdigital. fixes #21515 2012-08-10 20:15:06 +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 Use set_url_scheme(). Props johnbillion, MarcusPope. see #19037 #20759 2012-08-30 13:33:00 +00:00
class-wp-error.php
class-wp-http-ixr-client.php
class-wp-theme.php Restore the 'allowed_themes' filter. 2012-08-31 17:05:18 +00:00
class-wp-walker.php
class-wp-xmlrpc-server.php Use set_url_scheme(). Props johnbillion, MarcusPope. see #19037 #20759 2012-08-30 13:33:00 +00:00
class-wp.php Allow home page of multisite (subdir install) sites to resolve regardless of capitalization, as they already do for URLs other than the home page. props SergeyBiryukov. fixes #16200 2012-07-05 13:50:24 +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 Introduce get_edit_user_link(). Props scribu, georgestephanis, johnbillion. fixes #14787 see #20307 2012-07-30 18:30:03 +00:00
comment.php Use get_post() instead of bare SQL in do_trackbacks(). see #21309 2012-08-23 20:43:47 +00:00
compat.php
cron.php Introduce cron_request filter. Props ikailo. fixes #13449 2012-07-20 15:15:22 +00:00
default-constants.php s/inval/intval/. props PeteMall. see #14889. 2012-06-28 20:24:50 +00:00
default-filters.php If the DB upgrade hasn't yet been run, assume the Link Manager is disabled. Important for multisite installs. props ryan. see #21307. 2012-08-16 23:09:40 +00:00
default-widgets.php Hide the link manager from the UI on upgrade, if the site has no links. New DB option, link_manager_enabled. 2012-08-13 16:18:42 +00:00
deprecated.php Add tags_input, page_template, and post_category get magic to WP_Post. 2012-08-28 19:08:28 +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
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-rss.php
feed.php Use set_url_scheme(). Props johnbillion, MarcusPope. see #19037 #20759 2012-08-30 13:33:00 +00:00
formatting.php Only run stripslashes() in stripslashes_deep() for strings, not other scalar values. props Kawauso, knutsp. props coffee2code for [UT698]. fixes #18026. 2012-07-20 15:14:26 +00:00
functions.php Add get-attachment and query-attachments Ajax handlers. props koopersmith. see #21390. 2012-08-31 02:58:51 +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 Add 'order' to wp_get_archives(). props tar.gz. fixes #18832. 2012-08-24 20:50:22 +00:00
http.php API for allowing cross origin resource sharing. 2012-05-15 18:46:03 +00:00
kses.php
l10n.php Load the admin MO file on repair.php. props SergeyBiryukov. see #21039 for trunk. 2012-06-25 20:00:31 +00:00
link-template.php Use set_url_scheme(). Props johnbillion, MarcusPope. see #19037 #20759 2012-08-30 13:33:00 +00:00
load.php Introduce WP_Screen::in_admin() for determining which admin the screen is in. 2012-08-31 17:16:46 +00:00
locale.php
media.php Add new media workflow scripts, styles, and templates. 2012-08-31 04:54:23 +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 Restore blog_option_* filter. see #21459 2012-08-23 16:04:39 +00:00
ms-default-constants.php
ms-default-filters.php Multisite: Make it easy to replace or augment the over-quota message displayed when you try and upload new media and you have reached your quota. 2012-07-10 13:33:44 +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
ms-functions.php Use set_url_scheme(). Props johnbillion, MarcusPope. see #19037 #20759 2012-08-30 13:33:00 +00:00
ms-load.php
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 Use set_url_scheme(). Props johnbillion, MarcusPope. see #19037 #20759 2012-08-30 13:33:00 +00:00
nav-menu.php
option.php
pluggable-deprecated.php
pluggable.php Make sure that we always generate random numbers correctly even if the PHP build is slightly broken and truncates large integers. 2012-08-31 09:45:50 +00:00
plugin.php Revert [21287] until #21169 goes through. see #21321. 2012-07-21 20:24:21 +00:00
post-template.php Remove return ref from all calls to get_post() 2012-08-23 20:01:10 +00:00
post-thumbnail-template.php
post.php Simplify return from WP_Post::__get() now that references are no longer returned. see #21309 2012-08-29 13:42:11 +00:00
query.php Update phpdoc for functions that return WP_Post. Soft deprecate get_page(). see #21309 2012-08-23 20:34:41 +00:00
registration-functions.php
registration.php
rewrite.php Set $walk_dirs = true for post rewrite rule generation. See #21020 for trunk. 2012-06-25 20:41:14 +00:00
rss-functions.php
rss.php
script-loader.php Add new media workflow scripts, styles, and templates. 2012-08-31 04:54:23 +00:00
shortcodes.php
taxonomy.php Remove return ref from all calls to get_post() 2012-08-23 20:01:10 +00:00
template-loader.php
template.php
theme.php Use set_url_scheme(). Props johnbillion, MarcusPope. see #19037 #20759 2012-08-30 13:33:00 +00:00
update.php Fix string offset PHP 5.4 error by normalizing $user_count to always be an integer. props ericmann. see #20966 for trunk. 2012-06-25 19:40:16 +00:00
user.php Add @since for _wp_get_user_contactmethods() and _get_additional_user_keys(). Props SergeyBiryukov. fixes #21246 2012-08-15 15:33:59 +00:00
vars.php TinyMCE: better exclusion of Opera mobile, fixes #21416 2012-07-30 19:40:52 +00:00
version.php Compress scripts/styles: 3.5-alpha-21684. 2012-08-31 06:59:25 +00:00
widgets.php
wlwmanifest.xml
wp-db.php Basic support for the mysql_connect() new_link and client_flags arguments. props Otto42, fixes #19324. 2012-08-24 17:44:21 +00:00
wp-diff.php