WordPress/wp-includes
Andrew Nacin 646a4fd1e9 XML-RPC: Add an if_not_modified_since argument to wp.editPost.
Accepts a GMT date, which is used to compare to the current post_modified_gmt
value for the post being edited. If the post has since been edited (as in, too
old of a date was passed), the edit is rejected as overwriting a newer version.

It is rejected with a HTTP 409 Conflict status code. (Fancy.)

props koke, markoheinjen.
Tests: [UT1049]

see #21397.



git-svn-id: http://core.svn.wordpress.org/trunk@22034 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-27 03:39:40 +00:00
..
SimplePie Update to SimplePie 1.3. props rmccue. 2012-08-28 17:24:33 +00:00
Text
css Fix image button in DFW, props ocean90, see #21019 2012-09-27 02:17:04 +00:00
images Consolidated patch for retina support, props taylorde, props empireoflight, fixes #21019 2012-09-27 02:12:54 +00:00
js Apply localized strings to media modal. see #21390, #21808. 2012-09-27 01:11:04 +00:00
pomo Restore return by ref for make_entry(). Props SergeyBiryukov. fixes #21839 2012-09-10 17:34:34 +00:00
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 Check a post type's show_in_admin_bar property for 'View' and 'Edit' object links. Previously show_in_admin_bar was only checked for the add new menu. fixes #20504. 2012-09-23 18:39:03 +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 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
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 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 Use network_site_url() for wp-signup.php. props markjaquith. see #19796. 2012-09-11 12:27:25 +00:00
capabilities.php Allow remove_cap() to unset a negative capability. Props johnjamesjacoby. fixes #21786 2012-09-21 13:41:43 +00:00
category-template.php Fetch full terms for the post_category and tags_input queries and then wp_list_pluck() the desired fields. Fetching full terms primes the cache and reduces overall queries. Add cache invalidation to wp_set_post_terms(). Props scribu. see #21309 2012-09-24 20:35:56 +00:00
category.php Remove unnecessary return by refs. Props wonderboymusic. fixes #21839 2012-09-10 17:00: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-feed.php Stabilize how WordPress hooks into SimplePie to implement transient caching. 2012-08-29 00:25:52 +00:00
class-http.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
class-json.php
class-oembed.php Add soundcloud and slideshare to the oEmbed providers list. props bradparbs, ericwahlforss, wonderboymusic. fixes #15734, #21635. 2012-09-25 23:42:53 +00:00
class-phpass.php
class-phpmailer.php
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-customize-control.php New color picker, props mattwiebe. see #21206. 2012-09-27 01:57:38 +00:00
class-wp-customize-manager.php
class-wp-customize-section.php
class-wp-customize-setting.php
class-wp-editor.php Fix background on split buttons, remove redundant !important, remove spacers, a little css cleanup, see #18141 2012-09-27 00:41:49 +00:00
class-wp-embed.php Move WP_Embed into its own file. props ocean90. fixes #20533. 2012-09-25 08:39:26 +00:00
class-wp-error.php
class-wp-http-ixr-client.php
class-wp-theme.php URL encode the stylesheet directory values passed to WP_Theme's get_stylesheet_directory_uri() and get_template_directory_uri(). props SergeyBiryukov, see #21749. 2012-09-03 23:57:43 +00:00
class-wp-walker.php
class-wp-xmlrpc-server.php XML-RPC: Add an if_not_modified_since argument to wp.editPost. 2012-09-27 03:39:40 +00:00
class-wp.php Remove AtomPub from core. 2012-09-11 20:11:39 +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
class.wp-styles.php
comment-template.php Use get_post() instead of global $post. 2012-09-04 16:29:28 +00:00
comment.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
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 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-filters.php New design and content for the welcome panel. First pass. 2012-09-26 19:44:43 +00:00
default-widgets.php Close label. props lancewillett, fixes #21064. 2012-09-24 19:16:53 +00:00
deprecated.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
feed-atom-comments.php
feed-atom.php
feed-rdf.php
feed-rss.php
feed-rss2-comments.php
feed-rss2.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 Remove the 'Size of the post box' (default_post_edit_rows) option. This will instead be handled by a user cookie tracking the resizing of both TinyMCE and the main textarea. see #21718. 2012-09-26 03:17:28 +00:00
functions.php Move win_is_writable() from wp-admin/includes to wp-includes so that it's always available for get_temp_dir(). Fixes #20778 2012-09-26 05:08:26 +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 Remove unnecessary return by refs. Props wonderboymusic. fixes #21839 2012-09-10 17:00:11 +00:00
link-template.php Use the regular post type UI for editing single media items (attachments). 2012-09-21 22:52:54 +00:00
load.php Stop cleaning the cache of a post's children. Ancestors are no longer cached against the post object, which means this kind of walking is unnecessary. It is also prohibitively expensive with large hierarchies. 2012-09-22 15:55:02 +00:00
locale.php
media.php First pass on TinyMCE attachment in-editor UI. 2012-09-26 14:12:54 +00:00
meta.php
ms-blogs.php Don't read from the switched global. Instead use _wp_switched_stack. switched is retained for back compat and should not be directly read since it is prone to stompage by plugins. see #21459 2012-09-26 17:02:44 +00:00
ms-default-constants.php Account for the old 'main override' in wp_upload_dir() for the main site in a post-MU network by declining to define the UPLOADS constant. 2012-09-18 18:07:18 +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 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
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 If a nav menu has no menu items, print nothing (instead of empty container markup). props obenland. fixes #21576. 2012-09-16 17:07:56 +00:00
nav-menu.php
option.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
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 Don't output the {$post_type} post class in the admin, to avoid clashes with admin CSS. props c3mdigital. fixes #21203. 2012-09-14 18:57:11 +00:00
post-thumbnail-template.php
post.php Fetch full terms for the post_category and tags_input queries and then wp_list_pluck() the desired fields. Fetching full terms primes the cache and reduces overall queries. Add cache invalidation to wp_set_post_terms(). Props scribu. see #21309 2012-09-24 20:35:56 +00:00
query.php Convert the object in the posts array to WP_Post only if the posts array is not empty. Some post caching plugins can cause it to be empty. see #21309 2012-09-26 12:32:54 +00:00
registration-functions.php
registration.php
rewrite.php Remove ms-files.php rewriting from WordPress multisite. fixes #19235. 2012-09-11 22:22:20 +00:00
rss-functions.php
rss.php
script-loader.php New color picker, props mattwiebe. see #21206. 2012-09-27 01:57:38 +00:00
shortcodes.php Add a comment to get_shortcode_regex() mentioning its near clones elsewhere. see #21996. 2012-09-26 01:16:31 +00:00
taxonomy.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
template-loader.php
template.php Expect a possible array of post types in get_archive_template(). props SergeyBiryukov. fixes #20867. 2012-09-15 20:07:15 +00:00
theme.php URL encode the theme stylesheet passed into wp_customize_url(). see #21749. 2012-09-03 23:58:30 +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 get() and set() methods to WP_User_Query for modifying query variables the way you might with WP_Query. props wonderboymusic. fixes #21426. 2012-09-25 05:01: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-22024. 2012-09-26 22:58:46 +00:00
widgets.php
wlwmanifest.xml
wp-db.php Call error_log() in wp-db without unnecessary conditionals. fixes #21103. 2012-09-11 01:35:43 +00:00
wp-diff.php