WordPress/wp-includes
nacin c1e2962573 Documentation and visibility cleanups in WP_Theme.
* Declare `__toString()` as public.
 * Use parent() and error() internally, rather than the properties.
 * Add and correct inline documentation throughout.
 * Attempt to clarify that display() is superior to get().
see #20546, see #20103.



git-svn-id: http://svn.automattic.com/wordpress/trunk@20586 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-25 16:37:49 +00:00
..
css Compress scripts/styles: 3.4-beta2-20548. 2012-04-20 04:58:21 +00:00
images Hover state for the Add New admin bar icon. props johnjamesjacoby. fixes #19475. 2011-12-09 19:20:47 +00:00
js Theme Customizer: For clarity, wp.customize.Setting.method to wp.customize.Setting.transport. Add WP_Customize_Setting->transport to allow setting the transport method via PHP. see #19910. 2012-04-25 16:04:51 +00:00
pomo Avoid 'Only variables should be passed by reference' warnings. Props SergeyBiryukov. see #18975 2011-10-27 20:00:09 +00:00
Text Update Text_Diff. Props simek. Fixes #9467 2010-02-19 01:25:26 +00:00
theme-compat Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
admin-bar.php Don't hide links to the upload form and show an error for mobile devices that cannot upload, see #20410 2012-04-12 00:16:37 +00:00
atomlib.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
author-template.php Fix a notice in [20565] where get_the_author_meta() may be called prior to postdata from being set up. In this case, the function should return nothing (via the filter). props johnjamesjacoby. fixes #20529. see #20285. 2012-04-24 14:41:23 +00:00
bookmark-template.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
bookmark.php Use wp_cache_add() instead of wp_cache_set() when priming the object term cache in update_object_term_cache(). Pass the real post_type to clean_object_term_cache() instead of hard-coding post. Call clean_object_term_cache() from clean_bookmark_cache(). Props leewillis77. fixes #19690 2012-01-11 21:26:18 +00:00
cache.php Prevent notices by checking if the $group key isset(). See #20004. 2012-03-02 21:57:03 +00:00
canonical.php Don't do a canonical redirect for singular paged pages when on the front-page. This was breaking pagination on sites with a static home page. Props batmoo. see #20385 2012-04-11 21:18:40 +00:00
capabilities.php Do not block file mod/edit caps when DISALLOW_UNFILTERED_HTML is set. There are separate constants (DISALLOW_FILE_EDIT and DISALLOW_FILE_MODS for those). fixes #20488. 2012-04-19 14:05:05 +00:00
category-template.php Add $id parameter to get_the_tag_list() for consistency with get_the_(category|term)_list(). Props kawauso. Fixes #20072. 2012-04-20 10:06:05 +00:00
category.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
class-feed.php Use wp_remote_retrieve_* helper functions instead of the raw HTTP response array. props aaroncampbell, fixes #17416. 2011-05-14 19:45:07 +00:00
class-http.php WP_HTTP: Curl: $theHeaders is an array, not an object, introduced in [20370]. Props kurtpayne. Fixes #20389 See #20219 2012-04-07 07:16:30 +00:00
class-IXR.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +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 sanity checks to WP_oEmbed::data2html() to ensure we are working with scalar values. Always use the filter. props mdawaffe, fixes #20322. 2012-04-19 19:46:34 +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 Upgrade PHPMailer to 5.2.1. Props MattyRob. fixes #19887 2012-02-07 16:13:51 +00:00
class-pop3.php Update pop3 class. Props aaroncampbell. fixes #17064 2011-04-21 20:40:32 +00:00
class-simplepie.php Switch from Net_IPv6 to SimplePie_Net_IPv6. Props stephdau, rmccue. fixes #19991 2012-02-09 20:17:23 +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 Introduce wp_is_mobile() and use it instead of $is_iphone global, see #20014 2012-04-10 01:19:30 +00:00
class-wp-ajax-response.php Make sure we are using the admin-ajax handler when we call wp_die() for WP_Ajax_Response. see #20024. 2012-02-12 19:02:07 +00:00
class-wp-atom-server.php Consolidate some strings. Props ramiy. see #20216 2012-03-19 19:04:49 +00:00
class-wp-customize-control.php Theme Customizer: Improve image picker control. see #19910. 2012-04-20 02:39:55 +00:00
class-wp-customize-section.php Add some missing documentation and fix a couple of typos. Props roscius. Fixes #19756. 2012-04-04 17:32:03 +00:00
class-wp-customize-setting.php Theme Customizer: For clarity, wp.customize.Setting.method to wp.customize.Setting.transport. Add WP_Customize_Setting->transport to allow setting the transport method via PHP. see #19910. 2012-04-25 16:04:51 +00:00
class-wp-customize.php Theme Customizer: For clarity, wp.customize.Setting.method to wp.customize.Setting.transport. Add WP_Customize_Setting->transport to allow setting the transport method via PHP. see #19910. 2012-04-25 16:04:51 +00:00
class-wp-editor.php Fix adding of parent theme's editor-style before child theme's, props SergeyBiryukov, see #19437 2012-04-02 22:26:11 +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 Documentation and visibility cleanups in WP_Theme. 2012-04-25 16:37:49 +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 Do not check for a meta value in XML-RPC set_custom_fields unless we know we are editing a key. Prevents a notice when a custom field is being deleted. props scott.gonzalez. fixes #20543. 2012-04-25 14:26:31 +00:00
class-wp.php Deprecate ancient "debugging" tools. 2012-02-17 00:02:42 +00:00
class.wp-dependencies.php Use one space, not two, after trailing punctuation. fixes #19537 2011-12-13 23:45:31 +00:00
class.wp-scripts.php Pinking shears 6-20000 2012-02-27 19:46:52 +00:00
class.wp-styles.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
comment-template.php Introduce WP_User::exists(). see #20372 2012-04-06 19:18:45 +00:00
comment.php Accept a post object in clean_post_cache(). Fixes #20486. 2012-04-23 22:04:35 +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 Use site_url() to construct the cron url. Props SergeyBiryukov. see #13449 2012-02-14 17:53:35 +00:00
customize-controls.php Theme Customizer: For clarity, wp.customize.Setting.method to wp.customize.Setting.transport. Add WP_Customize_Setting->transport to allow setting the transport method via PHP. see #19910. 2012-04-25 16:04:51 +00:00
default-constants.php Provide a DB fallback for keys in wp_salt(). Fall back when any secret is used more than once. Change how we detect a localized 'put your unique phrase here' -- eliminate $wp_default_secret_key and introduce $wp_secret_key_default to be added during the localized build process, not by translators. fixes #19599. 2012-01-27 18:52:20 +00:00
default-filters.php Schedule auto-draft deletion from post-new.php instead of from admin.php. This provides better throttling for large multisite installs and reduces the risk of a delete avalanche. 2012-04-12 18:49:48 +00:00
default-widgets.php Use get_taxonomies() instead of get_object_taxonomies() in the tag cloud widget. props GautamGupta, scribu. see #20238, see #16125. 2012-03-24 14:00:52 +00:00
deprecated.php Accept a post object in clean_post_cache(). Fixes #20486. 2012-04-23 22:04:35 +00:00
feed-atom-comments.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-atom.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-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 Set up the post global variable in the comment feed loops so that any calls to post related template tags work correctly. 2011-09-19 12:39:59 +00:00
feed-rss2.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-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 split was deprecated in PHP 5.3.0, so use explode instead. Props garyc40. Fixes #16325. 2012-01-09 21:20:51 +00:00
formatting.php Recognise protocols other than "http" in _links_add_base(). Props SergeyBiryukov. Fixes #19665. 2012-04-14 19:14:10 +00:00
functions.php Fix typo in filter name for wp_die() APP request handler. props benbalter, fixes #20457. 2012-04-16 16:15:18 +00:00
functions.wp-scripts.php User lowercase true, false, null instead of uppercase. Props c3mdigital, mfields. fixes #16302 2012-01-05 20:50:54 +00:00
functions.wp-styles.php User lowercase true, false, null instead of uppercase. Props c3mdigital, mfields. fixes #16302 2012-01-05 20:50:54 +00:00
general-template.php Replace all instances of thickbox theme preview with the theme customizer. fixes #20404. 2012-04-10 02:25:03 +00:00
http.php Use one space, not two, after trailing punctuation. fixes #19537 2011-12-13 23:45:31 +00:00
kses.php Handle multiple feed: schemes. 2012-04-19 21:48:12 +00:00
l10n.php Load the new admin and network admin mo files, if present. see #19852 2012-01-27 22:19:56 +00:00
link-template.php Handle uppercase HTML entities in get_previous_posts_link(). Props ounziw. See #4152, fixes #19803. 2012-04-19 15:08:06 +00:00
load.php Use is_rtl() for html direction when possible. In sites.php, language_attributes() will always exist (MU vestige). When the DB is dead, language_attributes() is worse than a simple is_rtl() check. is_rtl() exists here due to wp_load_translations_early(). see #18180. 2012-02-08 06:05:35 +00:00
locale.php Add a translator's comment. see #19924. 2012-02-06 19:43:26 +00:00
media.php wp_oembed_get() returns false on failure. Props SergeyBiryukov. Fixes #20355. 2012-04-22 11:19:56 +00:00
meta.php Use the metadata API rather than raw queries and direct do_action calls. see #20417. 2012-04-11 20:02:39 +00:00
ms-blogs.php Don't update a blog's last_updated time for all post deletions. Update only when published posts are deleted. 2012-04-13 17:30:37 +00:00
ms-default-constants.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
ms-default-filters.php Don't update a blog's last_updated time for all post deletions. Update only when published posts are deleted. 2012-04-13 17:30:37 +00:00
ms-deprecated.php Introduce WP_User::exists(). see #20372 2012-04-06 19:18:45 +00:00
ms-files.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
ms-functions.php Add terminal punctuation to some signup error messages. Props dllh. fixes #20332 2012-04-11 20:41:59 +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 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
nav-menu-template.php Only output the class attribute in wp_nav_menu() if we have classes to add. Don't waste time on an strlen() call. props niallkennedy, fixes #20483. 2012-04-18 19:06:22 +00:00
nav-menu.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
option.php Introduce $wpdb->delete(). props justindgivens, scribu. fixes #18948. 2012-03-24 15:24:31 +00:00
pluggable-deprecated.php Update @deprecated. Props scribu. see #18333 2011-08-05 18:44:43 +00:00
pluggable.php Add missing "?" to gravatar_default URL in get_avatar() to set size parameter correctly. Fixes #20512. 2012-04-22 11:45:31 +00:00
plugin.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
post-template.php Introduce get_page_template_slug( $id = null ) to return a page's template (like "showcase.php"). Returns false if post ID is not a page, and an empty string for the default page template. Use the function across core. props billerickson for initial patch. fixes #18750. 2012-03-02 18:56:54 +00:00
post-thumbnail-template.php Split the main WP_Query posts query into two queries to avoid temp tables. Leverage cache to avoid second query in persistent cache environments. Props scribu, cheald, prettyboymp. see #18536 2012-02-14 15:09:35 +00:00
post.php Accept a post object in clean_post_cache(). Fixes #20486. 2012-04-23 22:04:35 +00:00
query.php No need for by-reference when calculating the queried object in PHP5. props SergeyBiryukov, duck_, fixes #20039. 2012-04-17 03:41:07 +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 Pinking shears 6-20000 2012-02-27 19:46:52 +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 Remove jQuery postMessage plugin, as it is no longer used (as of [20517]). see #19910. 2012-04-18 20:32:13 +00:00
shortcodes.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
taxonomy.php Add view_item to the phpdoc for get_taxonomy_labels(). props Caspie. fixes #20406. 2012-04-11 20:08:30 +00:00
template-loader.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
template.php Introduce get_page_template_slug( $id = null ) to return a page's template (like "showcase.php"). Returns false if post ID is not a page, and an empty string for the default page template. Use the function across core. props billerickson for initial patch. fixes #18750. 2012-03-02 18:56:54 +00:00
theme.php If a cached theme root is no longer registered, skip it. Assume the cache is out of date. see #20103. 2012-04-20 13:22:54 +00:00
update.php Use correct filter name in wp_update_themes(): s/load-plugins/load-themes/. See r19683, #18876. 2012-03-24 14:07:12 +00:00
user.php * Return empty arrays instead of false for all conditions in get_blogs_of_user(). 2012-04-24 22:13:47 +00:00
vars.php Introduce wp_is_mobile() and use it instead of $is_iphone global, see #20014 2012-04-10 01:19:30 +00:00
version.php Compress scripts/styles: 3.4-beta3-20582. 2012-04-24 22:58:22 +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 Escape special characters when outputting DB failures. see #13839. 2012-04-16 21:55:47 +00:00
wp-diff.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00