Wordpress/wp-includes
Ryan Boren 8b4612f97a If $this->posts is empty, don't do stuff to it.
Props wonderboymusic
fixes #22061


git-svn-id: https://develop.svn.wordpress.org/trunk@22465 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-08 13:52:40 +00:00
..
css Compress scripts/styles: 3.5-beta2-22455. 2012-11-07 22:58:33 +00:00
images More retina backgrounds and bits, props saracannon, empireoflight and lessbloat, see #21019 2012-11-07 20:54:08 +00:00
js Compress scripts/styles: 3.5-beta2-22455. 2012-11-07 22:58:33 +00:00
pomo Fix typos in comments. Props SergeyBiryukov, see #22337 2012-10-31 23:56:23 +00:00
SimplePie Update SimplePie to 1.3.1. Props rmccue, ocean90. fixes #22321 2012-11-05 14:25:25 +00:00
Text
theme-compat Don't return encoded ampersands from get_post_comments_feed_link() to avoid canonical redirect issues. Apply esc_url() when appropriate. 2012-11-07 19:56:10 +00:00
admin-bar.php More retina backgrounds and bits, props saracannon, empireoflight and lessbloat, see #21019 2012-11-07 20:54:08 +00:00
atomlib.php
author-template.php Use get_post() instead of global $post. 2012-09-04 16:29:28 +00:00
bookmark-template.php Display links if no link categories exist. props MikeHansenMe. fixes #22216. 2012-11-07 19:25:18 +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 Objects no longer need to be explicitly passed by ref to call_user_func*() to be callable. Props wonderboymusic. fixes #21865 2012-10-04 20:00:16 +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 When using WP_User::set_role() to set the role, don't unset all caps when the requested role matches the current role. 2012-11-07 17:16:37 +00:00
category-template.php Check for WP_Error in get_the_category(). props batmoo. fixes #21155. 2012-11-06 23:47:14 +00:00
category.php Remove bogus optional value for get_cat_ID(). (Incorrect usage will result in a warning.) props Latz. fixes #21201. 2012-10-18 01:40:42 +00:00
class-feed.php When reading local feeds from disk, check that the file exists first to avoid a PHP Warning in WP_SimplePie_File. Props SergeyBiryukov. Fixes #17756 2012-10-30 20:48:35 +00:00
class-http.php Objects no longer need to be explicitly passed by ref to call_user_func*() to be callable. Props wonderboymusic. fixes #21865 2012-10-04 20:00:16 +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 Add Instagram oEmbed support. Props bananastalktome. Fixes #21704. 2012-10-31 22:45:23 +00:00
class-phpass.php
class-phpmailer.php
class-pop3.php
class-simplepie.php Update SimplePie to 1.3.1. Props rmccue, ocean90. fixes #22321 2012-11-05 14:25:25 +00:00
class-smtp.php
class-snoopy.php
class-wp-admin-bar.php Accessibility shortcuts: new looks and fix for the WebKit focus bug, props lessbloat, fixes #21471 2012-10-16 21:26:59 +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 Keyboard accessibility for the theme customizer. props lessbloat, jorbin, JustinSainton. fixes #21283. 2012-11-06 14:47:25 +00:00
class-wp-customize-manager.php
class-wp-customize-section.php Keyboard accessibility for the theme customizer. props lessbloat, jorbin, JustinSainton. fixes #21283. 2012-11-06 14:47:25 +00:00
class-wp-customize-setting.php Ensure a method is compatible with its parent. props kurtpayne, fixes #22265. 2012-11-07 21:59:20 +00:00
class-wp-editor.php Use correct variable name in code comment. props SergeyBiryukov, fixes #21962. 2012-11-07 08:57:49 +00:00
class-wp-embed.php Invalidate oEmbed caches on pre_post_update instead of save_post so existing metadata caches may be used. fixes #22190. 2012-11-05 16:47:04 +00:00
class-wp-error.php
class-wp-http-ixr-client.php
class-wp-image-editor-gd.php In WP_Image_Editor / wp_load_image(), use is_file() rather than file_exists() so we do not accidentally load a directory. 2012-11-08 02:02:03 +00:00
class-wp-image-editor-imagick.php In WP_Image_Editor / wp_load_image(), use is_file() rather than file_exists() so we do not accidentally load a directory. 2012-11-08 02:02:03 +00:00
class-wp-image-editor.php Return WP_Error when no editor is selected. Props markoheijnen. see #6821 2012-10-16 13:46:00 +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 Objects no longer need to be explicitly passed by ref to call_user_func*() to be callable. Props wonderboymusic. fixes #21865 2012-10-04 20:00:16 +00:00
class-wp-xmlrpc-server.php In wp_xmlrpc_server::_insert_post(), preservea valid post status instead of overwriting it with 'draft'. This preserves the 'inherit' status of attachments. Props markoheijnen. fixes #22335 2012-11-05 14:44:25 +00:00
class-wp.php Avoid 'headers already sent' messages for header_remove() the same way we currently do with header(). props ryan. fixes #22258. 2012-10-25 20:38:55 +00:00
class.wp-dependencies.php Revert [21420] and [21481]. Accepting a string caused back compat problems including the possibility of revealing previously hidden circular dependencies resulting in infinite loops. 2012-10-23 20:32:12 +00:00
class.wp-scripts.php
class.wp-styles.php
comment-template.php Put required field indicators within labels. Update styling of bundled themes to accommodate. Props MikeHansenMe. fixes #21897 2012-10-05 16:34:32 +00:00
comment.php Duplicate comments should be allowed under a different comment parent. props andy. fixes #21609. 2012-10-14 17:06:37 +00:00
compat.php
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 More retina backgrounds and bits, props saracannon, empireoflight and lessbloat, see #21019 2012-11-07 20:54:08 +00:00
deprecated.php In WP_Image_Editor / wp_load_image(), use is_file() rather than file_exists() so we do not accidentally load a directory. 2012-11-08 02:02:03 +00:00
feed-atom-comments.php Don't return encoded ampersands from get_post_comments_feed_link() to avoid canonical redirect issues. Apply esc_url() when appropriate. 2012-11-07 19:56:10 +00:00
feed-atom.php Don't return encoded ampersands from get_post_comments_feed_link() to avoid canonical redirect issues. Apply esc_url() when appropriate. 2012-11-07 19:56:10 +00:00
feed-rdf.php
feed-rss2-comments.php
feed-rss2.php
feed-rss.php
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 Avoid an uncaught exception in get_gmt_from_date(). The return value is imperfect - date( $format, 0 ) - but better than a fatal error. props wonderboymusic. fixes #20942. 2012-11-07 20:07:41 +00:00
functions.php Prevent an issue on windows systems which can cause the temporary directory from get_temp_dir() from returning a path containing \/. Props to SergeyBiryukov for the initial patch. Fixes #20778 2012-10-30 20:58:35 +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 Theme Translations: Allow for theme pomo files to be loaded from WP_LANG_DIR/themes/{$domain}-{$locale}.(p|m)o. 2012-10-31 21:30:33 +00:00
link-template.php Don't return encoded ampersands from get_post_comments_feed_link() to avoid canonical redirect issues. Apply esc_url() when appropriate. 2012-11-07 19:56:10 +00:00
load.php * Register blog-id-cache group as global 2012-10-01 18:03:23 +00:00
locale.php
media.php Media: Integrate the gallery workflow with the media menu. 2012-11-07 20:14:41 +00:00
meta.php Defer the meta_id-fetching query until after comparison of the previous value, so that redundant calls to update_metadata() can bail without making that query. props nacin. fixes #22191 2012-10-15 05:51:38 +00:00
ms-blogs.php Sync actions between update_blog_details() and update_blog_status(). Add make_delete_blog and make_undelete_blog actions. 2012-10-11 12:37:46 +00:00
ms-default-constants.php Have wp_upload_dir() account for blog switching, ms-files rewriting, and the UPLOADS constant properly. This type of logic needs a lot of code comments. 2012-10-12 22:05:02 +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
ms-functions.php Fix the matching in is_email_address_unsafe(), which was too aggressive. 2012-11-08 01:06:17 +00:00
ms-load.php Merge two strings. props pavelevap, see #22306. 2012-11-07 22:03:23 +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 Confirm that the nav menu's underlying object is in the proper taxonomy before adding the current-menu-item class. props SergeyBiryukov. fixes #21369. 2012-10-25 20:32:01 +00:00
nav-menu.php Correctly associate new menu items with a menu when using wp_update_nav_menu_item() 2012-11-06 14:46:56 +00:00
option.php Don't create {$blog_id}_user-settings, {$blog_id}_user-settings-time, and {$blog_id}_dashboard_quick_press_last_post_id user options when a super admin visits a site they aren't a member of. Instead, rely solely on the wp-settings cookie. 2012-10-17 18:58:09 +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
post-template.php Sanity checks in get_body_class() to ensure we are operating on the type of queried object that we expect. props wonderboymusic. fixes #17662. 2012-11-07 22:12:44 +00:00
post-thumbnail-template.php
post.php Revert [22445]. see #20376. fixes #22389. 2012-11-08 03:30:56 +00:00
query.php If $this->posts is empty, don't do stuff to it. 2012-11-08 13:52:40 +00:00
registration-functions.php
registration.php
rewrite.php Update the old wp-app.php rule to allow for a trailing slash followed by endpoint data. props wonderboymusic. fixes #22035. 2012-11-07 21:27:02 +00:00
rss-functions.php
rss.php
script-loader.php Media: Integrate the gallery workflow with the media menu. 2012-11-07 20:14:41 +00:00
shortcodes.php Update shortcode regular expression commentary. See #17657. 2012-11-06 14:47:33 +00:00
taxonomy.php Only call wp_get_object_terms() if get_object_term_cache() says there is no cache (false), which is different than no terms. props wonderboymusic, fixes #16505. 2012-11-07 20:00:51 +00:00
template-loader.php Clean up [22347] a bit. see #14348 2012-10-31 23:01:13 +00:00
template.php Avoid notices in get_*_template() functions that use get_queried_object(), which can return null. Props wonderboymusic. fixes #20519 2012-10-25 12:54:50 +00:00
theme.php Allow get_custom_header() to handle a default registered header that has yet to be saved to the database. fixes #22221. 2012-11-07 20:12:47 +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 a $public_only argument to count_many_users_posts() and get_posts_by_author_sql(). Defaults to false, and allows the counts to be returned for only public posts. props ryan, westi. fixes #21431. 2012-11-05 23:11:25 +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-beta2-22455. 2012-11-07 22:58:33 +00:00
widgets.php Objects no longer need to be explicitly passed by ref to call_user_func*() to be callable. Props wonderboymusic. fixes #21865 2012-10-04 20:00:16 +00:00
wlwmanifest.xml
wp-db.php Enforce a minimum of two arguments for wpdb::prepare(). The first argument is the query (or fragment thereof), which is required. Additional arguments are values to substitute into placeholders. 2012-11-07 19:30:59 +00:00
wp-diff.php Objects no longer need to be explicitly passed by ref to call_user_func*() to be callable. Props wonderboymusic. fixes #21865 2012-10-04 20:00:16 +00:00