Wordpress/wp-includes
Daryl Koopersmith 16ef935110 Media: Add default render method to views.
* Use default `render` method in the `Frame` view.
* Rename `Views.attach` to `Views.insert`.
* Add `Views.all` to retrieve all subviews.
* Add `Views.detach` to detach all subviews.
* Detect whether views are going to be reused in `View.set` and `detach` them instead of calling `dispose`.

see #21390.


git-svn-id: https://develop.svn.wordpress.org/trunk@22662 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-19 06:02:00 +00:00
..
css Compress scripts/styles: 3.5-beta3-22650. 2012-11-19 00:58:49 +00:00
images Update down_arrow-2x.gif to have a transparent background. props lessbloat. fixes #22481. 2012-11-17 06:38:25 +00:00
js Media: Add default render method to views. 2012-11-19 06:02:00 +00:00
pomo Fix typos in comments. Props SergeyBiryukov, see #22337 2012-10-31 23:56:23 +00:00
SimplePie SimplePie: Ensure the DOMNode::getLineNo() method exists. props rmccue. fixes #22425. 2012-11-13 00:49:15 +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 Final HiDPI tweaks. Don't use rss-2x.png on a front-end widget. Improve selectors for favicons in the toolbar to avoid breaking existing images. Remove unnecessary RTL styles. FIXES #21019. 2012-11-09 02:06:59 +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 Avoid notices with [22426]. props pross. fixes #22420. 2012-11-14 05:09:23 +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 Pinking shears 2012-11-17 15:11:29 +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 Pinking shears 2012-11-17 15:11:29 +00:00
class-feed.php Remove SimplePie 1.2/1.3 compatibility code no longer needed with 1.3.1. see #22321. see #21183. 2012-11-15 09:51:02 +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 Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
class-oembed.php Add Instagram oEmbed support. Props bananastalktome. Fixes #21704. 2012-10-31 22:45:23 +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 Update SimplePie to 1.3.1. Props rmccue, ocean90. fixes #22321 2012-11-05 14:25:25 +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 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 Customizer uploader control: Pass arrays of extensions around instead. see #22149. 2012-11-10 04:59:46 +00:00
class-wp-customize-manager.php Pinking shears 2012-11-17 15:11:29 +00:00
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 Pinking shears 2012-11-17 15:11:29 +00:00
class-wp-editor.php Media: Restore 3.4 editor behavior and remove TinyMCE views. 2012-11-14 07:17:22 +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 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-image-editor-gd.php Add abstract methods back to WP_Image_Editor and refresh phpdoc. 2012-11-16 22:02:21 +00:00
class-wp-image-editor-imagick.php Add abstract methods back to WP_Image_Editor and refresh phpdoc. 2012-11-16 22:02:21 +00:00
class-wp-image-editor.php Add abstract methods back to WP_Image_Editor and refresh phpdoc. 2012-11-16 22:02:21 +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 Define array to avoid notice. 2012-11-16 22:14:57 +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 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 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 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 Add comments to time intervals we cannot express with the constants. Fix a comment. props SergeyBiryukov. fixes #20987. 2012-11-10 18:13:09 +00:00
default-filters.php Fix option name. props ocean90, see #21719. 2012-09-27 19:19:18 +00:00
default-widgets.php Final HiDPI tweaks. Don't use rss-2x.png on a front-end widget. Improve selectors for favicons in the toolbar to avoid breaking existing images. Remove unnecessary RTL styles. FIXES #21019. 2012-11-09 02:06:59 +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 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-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 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.php Remove SimplePie 1.2/1.3 compatibility code no longer needed with 1.3.1. see #22321. see #21183. 2012-11-15 09:51:02 +00:00
formatting.php Revert page on front changes. Reverts [22127] [22129] [22135] [22136]. see #16379. 2012-11-19 01:28:32 +00:00
functions.php Pinking shears 2012-11-17 15:11:29 +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 Pinking shears 2012-11-17 15:11: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 Pass the post ID from the_shortlink() to wp_get_shortlink() to avoid a change in filters. props SergeyBiryukov, fixes #21309. 2012-11-14 05:05:34 +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 Media: Remove unused batch edit states and strings. see #21390. 2012-11-19 03:11:48 +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 Pinking shears 2012-11-17 15:11:29 +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 Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
ms-functions.php Multisite: Move all the functions which calculate upload space usage to wp-includes so they apply correctly with front-end editors. 2012-11-09 10:35:42 +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 Trim the option name in get_option() before calling the pre_option_$option filter, not after. props evansolomon. fixes #22358. 2012-11-17 13:20:57 +00:00
pluggable-deprecated.php Remove AtomPub from core. 2012-09-11 20:11:39 +00:00
pluggable.php Pass 'blank' to Gravatar rather than sending blank.gif for Gravatar to proxy. props miqrogroove, fixes #22354. 2012-11-14 05:29:56 +00:00
plugin.php Revert [21287] until #21169 goes through. see #21321. 2012-07-21 20:24:21 +00:00
post-template.php Pinking shears 2012-11-17 15:11:29 +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 Always return a raw filtered post object from WP_Post::get_instance(). 2012-11-17 15:14:48 +00:00
query.php Pinking shears 2012-11-17 15:11:29 +00:00
registration-functions.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
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 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 Revert page on front changes. Reverts [22127] [22129] [22135] [22136]. see #16379. 2012-11-19 01:28:32 +00:00
shortcodes.php Update shortcode regular expression commentary. See #17657. 2012-11-06 14:47:33 +00:00
taxonomy.php Pinking shears 2012-11-17 15:11:29 +00:00
template-loader.php Clean up [22347] a bit. see #14348 2012-10-31 23:01:13 +00:00
template.php Pinking shears 2012-11-17 15:11:29 +00:00
theme.php In switch_theme(), make sure there are no residual template_root or stylesheet_root options remaining if there is only one theme root registered. see #22252. 2012-11-11 21:51:27 +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-beta3-22661. 2012-11-19 04:58:32 +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 Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
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