WordPress/wp-includes
Ryan Boren 564d80e29f wp_get_shortlink() improvements.
* Return shortlinks for pages and public CPTs.
* Return shortlinks even when cruft-free links are not enabled.
* Unit tests

Props sillybean, layotte, cais
fixes #18632
see #14760


Built from https://develop.svn.wordpress.org/trunk@25030


git-svn-id: http://core.svn.wordpress.org/trunk@25017 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-15 20:09:09 +00:00
..
ID3 ID3 1.9.7. 2013-07-13 00:37:36 +00:00
SimplePie SimplePie: Merge 5e046a3 from upstream. props rlerdorf, see #24210. 2013-07-08 17:10:16 +00:00
Text Declare Text_Diff::trimNewlines() as static. Upstream is not back compat. props aaroncampbell. fixes #24372. 2013-05-25 22:10:53 +00:00
css New develop.svn.wordpress.org repository based on the old core.svn repository. 2013-08-07 05:49:02 +00:00
images
js TinyMCE: always use js/editimage.js in the custom 'editimage' plugin, same way as the default TinyMCE plugins. Fixes #24999. 2013-08-15 03:13:36 +00:00
pomo
theme-compat
admin-bar.php phpdoc for $wp_admin_bar in admin-bar.php 2013-08-06 19:23:00 +00:00
atomlib.php Use correct variable in atomlib library, inside an error message. props rlerdorf, see #24110. 2013-05-07 16:37:21 +00:00
author-template.php Switch to a transient for is_multi_author(). props markjaquith, fixes #24445. 2013-07-10 04:20:41 +00:00
bookmark-template.php
bookmark.php Fix potential SQLi through improper use of API functions. 2013-07-29 18:16:47 +00:00
cache.php
canonical.php Support IIS 8 and above. 2013-07-08 20:27:06 +00:00
capabilities.php Use meta caps edit_post, read_post, and delete_post directly, rather than consulting the post type object. map_meta_cap() handles that for us. props markjaquith, kovshenin. fixes #23226. 2013-07-08 20:05:42 +00:00
category-template.php PHPDoc fixes and additions. fixes #24616. 2013-06-21 12:45:11 +00:00
category.php
class-IXR.php
class-feed.php Use wp_safe_remote_request() and friends instead of reject_unsafe_urls = true. 2013-07-31 06:52:13 +00:00
class-http.php WP_HTTP: Allow name => value pairs to be passed in to the 'cookie' parameter, simplifies plugin code when needing to specify basic cookies. Fixes #21999 2013-08-08 02:44:09 +00:00
class-json.php Patch Services_JSON to use the proper function name and avoid a fatal error. see #24210. 2013-07-08 16:55:34 +00:00
class-oembed.php Use wp_safe_remote_request() and friends instead of reject_unsafe_urls = true. 2013-07-31 06:52:13 +00:00
class-phpass.php Add strict check to phpass's CheckPassword() method to avoid issues when the method is improperly called. 2013-06-21 01:21:12 +00:00
class-phpmailer.php
class-pop3.php
class-simplepie.php
class-smtp.php
class-snoopy.php Use correct variable in the deprecated and abandoned Snoopy HTTP client. see #24210. 2013-07-08 17:17:46 +00:00
class-wp-admin-bar.php Don't render the screen reader shortcut 'Log Out' link in the toolbar when the user is not logged in. 2013-06-19 08:15:04 +00:00
class-wp-ajax-response.php
class-wp-customize-control.php Remove /extend/ from URLs to wordpress.org/plugins, /themes, and /mobile, as those are all now top-level. see #24389. 2013-05-22 21:01:57 +00:00
class-wp-customize-manager.php Avoid empty header color after enabling header text via Customizer. props obenland, fixes #23761. 2013-07-12 20:41:46 +00:00
class-wp-customize-section.php
class-wp-customize-setting.php
class-wp-editor.php Remove the Spellchecker button from TinyMCE. 2013-07-18 22:44:40 +00:00
class-wp-embed.php
class-wp-error.php Correct inline docs for is_wp_error(). props johnbillion. fixes #24637. 2013-06-24 18:23:45 +00:00
class-wp-http-ixr-client.php
class-wp-image-editor-gd.php Fix editing images with GD when using streams. 2013-07-17 21:16:44 +00:00
class-wp-image-editor-imagick.php Remove debug. 2013-07-22 17:13:41 +00:00
class-wp-image-editor.php Fix editing images with GD when using streams. 2013-07-17 21:16:44 +00:00
class-wp-theme.php Revert [23394] until there is a consensus on target="_blank" (or not) for these external links. see #20839. 2013-07-08 13:04:07 +00:00
class-wp-walker.php Fix E_STRICT notices in walkers. props dvarga. see #24356. 2013-05-28 03:29:15 +00:00
class-wp-xmlrpc-server.php Use wp_safe_remote_request() and friends instead of reject_unsafe_urls = true. 2013-07-31 06:52:13 +00:00
class-wp.php
class.wp-dependencies.php
class.wp-scripts.php If someone tries to localize 'jquery', which is now an alias with jquery-core and jquery-migrate dependencies, add the data to jquery-core. 2013-07-10 05:38:17 +00:00
class.wp-styles.php WP Styles: Correctly print 'after' data when scripts are concatenated. props stephenh1988. fixes #20836. 2013-04-22 19:22:09 +00:00
comment-template.php Remove pattern="" in the comment form (HTML5 mode) to avoid mistaken :invalid styles. 2013-07-05 21:59:10 +00:00
comment.php Remove redundant sentence in the docblock of get_comment(). props jdgrimes, fixes #24904. 2013-08-05 22:08:17 +00:00
compat.php
cron.php
default-constants.php
default-filters.php Additional checks when evaluating the safety of an HTTP request, to avoid false negatives. 2013-07-31 06:44:57 +00:00
default-widgets.php Avoid an undefined index notice in WP_Widget_Recent_Posts::update(). props jrf. fixes #24577. 2013-06-23 08:20:08 +00:00
deprecated.php Fix context for get_post() in the deprecated wp_get_single_post(). fixes #24602. 2013-06-19 07:58:28 +00:00
feed-atom-comments.php
feed-atom.php
feed-rdf.php
feed-rss.php
feed-rss2-comments.php Use a CDATA second for comment authors in RSS2 comment feeds so that HTML in comments doesn't kill the XML validation. 2013-08-07 13:43:43 +00:00
feed-rss2.php
feed.php Pass the $sep function argument to the wp_title_rss and get_wp_title_rss filters. props scribu, fixes #16983. 2013-08-06 18:41:10 +00:00
formatting.php Adjust esc_sql()'s @param documentation to reflect that it allows for arrays. props scribu, fixes #22573. 2013-08-05 22:11:30 +00:00
functions.php Silence is_dir() to avoud warning when upload_tmp_dir is outside open_basedir. 2013-08-06 17:39:33 +00:00
functions.wp-scripts.php Fix typo in phpdoc. props fanquake. fixes #23737. 2013-03-11 09:39:55 +00:00
functions.wp-styles.php Introduce wp_style_add_data() as a wrapper for $wp_styles->add_data(). 2013-07-18 19:46:38 +00:00
general-template.php Have get_footer() match get_header() etc in [24616]. fixes #24714. 2013-07-09 20:48:02 +00:00
http.php Additional checks when evaluating the safety of an HTTP request, to avoid false negatives. 2013-07-31 06:44:57 +00:00
kses.php
l10n.php Inline documentation for esc_attr_x() and esc_html_x(). props fjarrett, fixes #24212. 2013-07-28 21:26:10 +00:00
link-template.php wp_get_shortlink() improvements. 2013-08-15 20:09:09 +00:00
load.php Documentation for [24564]. see #23811. 2013-07-08 12:59:10 +00:00
locale.php Remove ultimately unnecessary visibility keyword from a WP_Locale method because this file is included when we bail for PHP 4. props ocean90. fixes #24915. for trunk. 2013-08-01 19:47:36 +00:00
media-template.php Media: Fix embedding of audio/video players when the file was just uploaded. 2013-07-23 17:29:55 +00:00
media.php Set audio player to width: 100% and avoid breaking the layout in iOS when we fall back to a link. 2013-08-01 14:48:39 +00:00
meta.php Use sanitize_key() instead of esc_sql() when 'escaping' variable DB field names. see #21767. 2013-07-16 14:21:05 +00:00
ms-blogs.php Fix typo in phpdoc. props belloswan. fixes #24217. 2013-04-29 12:49:33 +00:00
ms-default-constants.php
ms-default-filters.php Additional checks when evaluating the safety of an HTTP request, to avoid false negatives. 2013-07-31 06:44:57 +00:00
ms-deprecated.php Deprecate get_dashboard_blog(). 2013-08-06 16:07:46 +00:00
ms-files.php Use stripslashes() instead of wp_unslash() in ms-files.php to avoid formatting.php dependency. props devesine, fixes #24374. 2013-05-20 20:20:22 +00:00
ms-functions.php Remove references to unused globals. props jeremyfelt. fixes #24984. 2013-08-15 03:13:05 +00:00
ms-load.php Remove some old debug cruft left by yours truly. fixes #24462. 2013-06-26 19:33:58 +00:00
ms-settings.php
nav-menu-template.php If a nav menu has no items, wait until after the wp_nav_menu_items filter before deciding whether to print nothing. 2013-07-10 05:14:43 +00:00
nav-menu.php Keep the Nav Menu walker from blowing up the layout on empty-titled items. 2013-07-05 15:41:46 +00:00
option.php Make update_option() consistent with add_option() for how serializable data is stored in the object cache. 2013-07-22 04:24:13 +00:00
pluggable-deprecated.php Remove /extend/ from URLs to wordpress.org/plugins, /themes, and /mobile, as those are all now top-level. see #24389. 2013-05-22 21:01:57 +00:00
pluggable.php Return true from wp_redirect() when redirect successful. Update phpdoc. 2013-08-06 17:44:32 +00:00
plugin.php Close an HTML tag inside the add_filter() inline doc. props johnbillion, fixes #24772. 2013-07-16 13:59:43 +00:00
post-formats.php Allow has_post_format() to accept an array of formats to check. props ericmann. fixes #17320. 2013-07-28 20:48:09 +00:00
post-template.php Avoid PHP notices in get_sample_permalink() and get_sample_permalink_html(). Remove unused global reference. props ocean90. fixes #25005. 2013-08-15 16:25:12 +00:00
post-thumbnail-template.php
post.php In get_attached_file(), fix the explanation of when the filter is bypassed. props devesine, fixes #24571. 2013-08-05 22:07:42 +00:00
query.php Avoid getting tripped up on post content that starts with <!--nextpage-->. props SergeyBiryukov. fixes #16746. 2013-07-09 05:23:53 +00:00
registration-functions.php
registration.php
revision.php Revisions changes. 2013-07-24 06:08:14 +00:00
rewrite.php Introduce a new endpoint mask for all archives, fixes #16303. 2013-07-28 19:18:19 +00:00
rss-functions.php
rss.php Use wp_safe_remote_request() and friends instead of reject_unsafe_urls = true. 2013-07-31 06:52:13 +00:00
script-loader.php Remove unused cat JavaScript file. props carldanley. fixes #24989. 2013-08-15 03:13:20 +00:00
shortcodes.php Variables passed by reference do not need to be set first. 2013-04-29 14:48:31 +00:00
taxonomy.php Add description argument to register_taxonomy(). 2013-07-28 23:01:56 +00:00
template-loader.php
template.php Improve punctuation in phpdoc. see #23090. 2013-03-12 09:30:13 +00:00
theme.php Avoid PHP notices in get_sample_permalink() and get_sample_permalink_html(). Remove unused global reference. props ocean90. fixes #25005. 2013-08-15 16:25:12 +00:00
update.php
user.php Don't override an existing WP_Error object in wp_authenticate_username_password(). 2013-07-29 03:43:22 +00:00
vars.php Support IIS 8 and above. 2013-07-08 20:27:06 +00:00
version.php 3.7-alpha-25000 is the final direct commit to core.svn.wordpress.org. 2013-08-06 19:44:26 +00:00
widgets.php Remove reference to unused variable. fixes #24965. 2013-08-06 09:38:24 +00:00
wlwmanifest.xml
wp-db.php Reset $wpdb->insert_id on a failed INSERT or REPLACE. See [24459] [24494]. 2013-07-29 18:14:05 +00:00
wp-diff.php Go back to plain text diffs between revisions instead of attempting partial rendering. 2013-05-07 20:34:58 +00:00