Commit Graph

11990 Commits

Author SHA1 Message Date
Andrew Nacin
1e83cf5c53 3.6-beta4
git-svn-id: http://core.svn.wordpress.org/trunk@24500 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-21 19:51:53 +00:00
Andrew Nacin
6ed3a582ef Only call wp_kses_bad_protocol() in WP_HTTP if it exists. It does not in setup-config.php.
git-svn-id: http://core.svn.wordpress.org/trunk@24497 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-21 19:05:15 +00:00
Andrew Nacin
2ac8311b74 Partially revert [24459] and only flush insert_id on the next insert or replace query, as we had been doing before. (Yes, this is not how mysql_insert_id() works.)
git-svn-id: http://core.svn.wordpress.org/trunk@24494 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-21 18:22:26 +00:00
Sergey Biryukov
81e2420c0a Correct return value for get_role() and WP_Roles::get_role(). props tivnet. fixes #24607.
git-svn-id: http://core.svn.wordpress.org/trunk@24491 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-21 13:01:55 +00:00
Sergey Biryukov
58c364947f PHPDoc fixes and additions. fixes #24616.
git-svn-id: http://core.svn.wordpress.org/trunk@24490 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-21 12:45:11 +00:00
Andrew Nacin
3864f4cedf Remove redundant swfupload-all.js file.
git-svn-id: http://core.svn.wordpress.org/trunk@24488 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-21 09:26:18 +00:00
Bot (Assets)
f672aff0ee Compress scripts/styles: 3.6-beta3-24485. TinyMCE updated.
git-svn-id: http://core.svn.wordpress.org/trunk@24485 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-21 07:19:07 +00:00
Andrew Nacin
8b09788c70 Change the HTTP API's URL validation default, in trunk.
git-svn-id: http://core.svn.wordpress.org/trunk@24482 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-21 06:17:56 +00:00
Andrew Nacin
96ee267343 Better validation of the URL used in core HTTP requests.
git-svn-id: http://core.svn.wordpress.org/trunk@24480 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-21 06:07:47 +00:00
Andrew Nacin
8348f10034 Update TinyMCE media plugin's moxieplayer.swf to latest.
git-svn-id: http://core.svn.wordpress.org/trunk@24476 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-21 05:57:22 +00:00
Andrew Nacin
25a7b3291a Build the media item HTML in a clearer manner in the legacy Plupload handler JS. Also update the retired SWFUpload handler JS.
git-svn-id: http://core.svn.wordpress.org/trunk@24472 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-21 03:44:48 +00:00
Andrew Nacin
274d09b342 Better sanity checks in oEmbed XML handling. see [23158].
git-svn-id: http://core.svn.wordpress.org/trunk@24470 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-21 03:29:13 +00:00
Andrew Nacin
2e6372a4a7 Update swfupload binary.
git-svn-id: http://core.svn.wordpress.org/trunk@24468 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-21 03:16:52 +00:00
Andrew Nacin
95800ae4f2 Validate post password hash.
git-svn-id: http://core.svn.wordpress.org/trunk@24466 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-21 03:00:26 +00:00
Andrew Nacin
e27d41d8e7 Add strict check to wp_verify_nonce() to avoid issues when it is improperly called.
git-svn-id: http://core.svn.wordpress.org/trunk@24461 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-21 02:11:31 +00:00
Andrew Nacin
9f10b33324 Have wpdb::flush() reset more variables.
git-svn-id: http://core.svn.wordpress.org/trunk@24459 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-21 01:32:54 +00:00
Andrew Nacin
03e2f6fb30 Add strict check to phpass's CheckPassword() method to avoid issues when the method is improperly called.
git-svn-id: http://core.svn.wordpress.org/trunk@24457 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-21 01:21:12 +00:00
Mark Jaquith
bf35040898 Squash some PHP notices in taxonomy queries.
props hakre, wonderboymusic. fixes #16465.

git-svn-id: http://core.svn.wordpress.org/trunk@24456 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-20 17:21:13 +00:00
Andrew Nacin
06933ac440 Add some localized date/time strings to the main wordpress.pot. These strings appear in the admin only but can be leveraged outside of the admin by design. fixes #22916.
git-svn-id: http://core.svn.wordpress.org/trunk@24454 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-20 14:27:37 +00:00
Bot (Assets)
a95909e425 Compress scripts/styles: 3.6-beta3-24450.
git-svn-id: http://core.svn.wordpress.org/trunk@24450 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-19 22:58:57 +00:00
Andrew Nacin
d80469f8a5 Fix storage of illegal_names. Add an upgrade routine to fix bad values.
props SergeyBiryukov.
see #23418.
for trunk.



git-svn-id: http://core.svn.wordpress.org/trunk@24448 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-19 22:06:42 +00:00
Mark Jaquith
e1923d4783 Restore code that returns the existing media object if it already exists.
props programmin, adamsilverstein. fixes #24062

git-svn-id: http://core.svn.wordpress.org/trunk@24447 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-19 21:55:17 +00:00
Andrew Nacin
7addff9967 Use correct variable order in add_query_arg(). This had mostly just filled error logs; it also broke some obscure URL situations. see #23284.
git-svn-id: http://core.svn.wordpress.org/trunk@24444 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-19 08:33:10 +00:00
Andrew Nacin
5f1a1eb77c Don't render the screen reader shortcut 'Log Out' link in the toolbar when the user is not logged in.
props SergeyBiryukov.
fixes #23178.



git-svn-id: http://core.svn.wordpress.org/trunk@24442 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-19 08:15:04 +00:00
Andrew Nacin
bb1234c4be Fall back to non-translated strings in _doing_it_wrong() if the translation function doesn't exist. This may be the case in sunrise, for example.
props SergeyBiryukov.
fixes #23555.
for trunk.



git-svn-id: http://core.svn.wordpress.org/trunk@24439 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-19 08:11:59 +00:00
Andrew Nacin
0cf7acf4a9 Fix context for get_post() in the deprecated wp_get_single_post(). fixes #24602.
git-svn-id: http://core.svn.wordpress.org/trunk@24436 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-19 07:58:28 +00:00
Andrew Nacin
69581bd827 Pass value and expiration to result hooks in set_transient() and set_site_transient(). props johnbillion, fixes #24583.
git-svn-id: http://core.svn.wordpress.org/trunk@24433 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-16 04:06:12 +00:00
Bot (Assets)
91186ec868 Compress scripts/styles: 3.6-beta3-24432.
git-svn-id: http://core.svn.wordpress.org/trunk@24432 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-09 00:58:58 +00:00
Andrew Ozz
aff66a7d07 Autosave: properly set autosaveLast when TinyMCE is the default editor. Prevents firing autosave when there are no changes. See #23220
git-svn-id: http://core.svn.wordpress.org/trunk@24431 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-09 00:45:01 +00:00
Bot (Assets)
6ce2016042 Compress scripts/styles: 3.6-beta3-24430.
git-svn-id: http://core.svn.wordpress.org/trunk@24430 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-07 18:58:57 +00:00
Bot (Assets)
bd21a110d4 Compress scripts/styles: 3.6-beta3-24427.
git-svn-id: http://core.svn.wordpress.org/trunk@24427 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-07 16:58:58 +00:00
Bot (Assets)
fb16cb6b39 Compress scripts/styles: 3.6-beta3-24420.
git-svn-id: http://core.svn.wordpress.org/trunk@24420 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-06 16:58:53 +00:00
Mark Jaquith
cb3afeb56b Properly uncheck the "new tab" box when editing a non-new-tab link.
Previously, if you had just edited a new-tab link, a subsequent edit of a non-new-tab link would mistakenly keep the checkbox checked.

props sc0ttkclark. fixes #24520.

git-svn-id: http://core.svn.wordpress.org/trunk@24419 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-06 16:49:25 +00:00
Andrew Nacin
5969819038 `add_theme_support( 'html5', array( 'comment-list', 'search-form', 'comment-form' ) );'
props obenland.
see #23850.



git-svn-id: http://core.svn.wordpress.org/trunk@24417 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-06 15:31:34 +00:00
Bot (Assets)
17acd37457 Compress scripts/styles: 3.6-beta3-24416.
git-svn-id: http://core.svn.wordpress.org/trunk@24416 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-06 14:58:54 +00:00
Mark Jaquith
5626969d0b Restore post format previewing.
props azaozz. fixes #24483

git-svn-id: http://core.svn.wordpress.org/trunk@24414 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-06 14:39:08 +00:00
Dominik Schilling
173c3da21f Update MediaElement.js to 2.12.0. see #24183.
git-svn-id: http://core.svn.wordpress.org/trunk@24410 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-05 21:50:23 +00:00
Bot (Assets)
ea4aa44ed1 Compress scripts/styles: 3.6-beta3-24407.
git-svn-id: http://core.svn.wordpress.org/trunk@24407 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-05 00:59:01 +00:00
Andrew Ozz
0fff739949 Heartbeat: rename some vars/args to make them more intuitive, don't set user_id on every request, see #23216
git-svn-id: http://core.svn.wordpress.org/trunk@24406 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-05 00:13:40 +00:00
Mark Jaquith
28e3c51dab Lose content removal and splitting from the media extraction functions.
see #24484

git-svn-id: http://core.svn.wordpress.org/trunk@24400 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-03 19:27:58 +00:00
Mark Jaquith
fe5b462eea Remove a bunch of Post Format template functions.
* get_post_format_meta()
* add_chat_detection_format()
* get_content_chat()
* get_the_post_format_chat()
* the_post_format_chat()
* get_content_quote()
* get_the_post_format_quote()
* the_post_format_quote()
* get_the_post_format_url()
* the_post_format_url()
* get_the_remaining_content()
* the_remaining_content()

see #24452

git-svn-id: http://core.svn.wordpress.org/trunk@24399 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-02 16:26:10 +00:00
Bot (Assets)
fb4d414e9a Compress scripts/styles: 3.6-beta3-24398.
git-svn-id: http://core.svn.wordpress.org/trunk@24398 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-02 02:59:00 +00:00
Andrew Ozz
27865da7a9 Remove saving of post_format in autosave and revisions, fixes #24455
git-svn-id: http://core.svn.wordpress.org/trunk@24397 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-02 01:29:44 +00:00
Dominik Schilling
1c84a1fe92 Update to jQuery 1.10.1. fixes #24426.
git-svn-id: http://core.svn.wordpress.org/trunk@24395 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-01 09:16:11 +00:00
Mark Jaquith
89fd06e44b First pass at removing Post Format UI.
see #24452. fixes #24455.

git-svn-id: http://core.svn.wordpress.org/trunk@24388 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-30 21:33:46 +00:00
Mark Jaquith
c5530f9fc6 Revert [23450]. Removes post format compat.
see #23347, #24452. closes #24454.

git-svn-id: http://core.svn.wordpress.org/trunk@24387 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-30 17:55:22 +00:00
Mark Jaquith
c10737d0f6 Revert [23467]. Removes structured-post-format theme support.
see #23347, #24452. closes #24453.

git-svn-id: http://core.svn.wordpress.org/trunk@24386 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-30 17:55:14 +00:00
Bot (Assets)
9fb385f44e Compress scripts/styles: 3.6-beta3-24385.
git-svn-id: http://core.svn.wordpress.org/trunk@24385 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-30 00:59:02 +00:00
Andrew Ozz
bcdb12da79 Heartbeat: in isLocalFrame() compare window.location.origin to iframe.src to stop most cases where WebKit triggers errors about different iframe origin, see #23216
git-svn-id: http://core.svn.wordpress.org/trunk@24384 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-30 00:08:53 +00:00
Peter Westwood
34001cb325 XMLRPC: Expose the admin and login urls as read-only options over xml-rpc to make it easier to write rich clients. Fixes #23446 props daniloercoli.
git-svn-id: http://core.svn.wordpress.org/trunk@24382 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-29 11:01:32 +00:00
Sergey Biryukov
4b13a1ffa4 Fix E_STRICT notices in walkers. props dvarga. see #24356.
git-svn-id: http://core.svn.wordpress.org/trunk@24377 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-28 03:29:15 +00:00
Andrew Nacin
c5033c96f5 No need for a pass-by-reference here. props sunnyratilal, fixes #24433.
git-svn-id: http://core.svn.wordpress.org/trunk@24376 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-27 15:47:46 +00:00
Bot (Assets)
61668d18de Compress scripts/styles: 3.6-beta3-24375.
git-svn-id: http://core.svn.wordpress.org/trunk@24375 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-27 15:08:27 +00:00
Andrew Nacin
473932aa2b Add wp-util.min.js. See #24424.
git-svn-id: http://core.svn.wordpress.org/trunk@24374 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-27 15:06:29 +00:00
Bot (Assets)
86dd4f184c Compress scripts/styles: 3.6-beta3-24372.
git-svn-id: http://core.svn.wordpress.org/trunk@24372 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-26 08:58:56 +00:00
Dominik Schilling
df73ce7957 Remove deprecated jQuery API .browser in suggest.js. No need for a replacement since it works without too. see #22975.
git-svn-id: http://core.svn.wordpress.org/trunk@24371 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-26 08:49:05 +00:00
Bot (Assets)
e1617a41e8 Compress scripts/styles: 3.6-beta3-24369.
git-svn-id: http://core.svn.wordpress.org/trunk@24370 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-26 06:58:58 +00:00
Daryl Koopersmith
6a4d212138 Move XHR helpers from media to utils. See #24424.
git-svn-id: http://core.svn.wordpress.org/trunk@24369 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-26 06:58:01 +00:00
Daryl Koopersmith
35bb7c6848 Branch the generic JS utilities from the Backbone commands. See #24424.
git-svn-id: http://core.svn.wordpress.org/trunk@24368 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-26 06:43:13 +00:00
Daryl Koopersmith
452c0f4166 Add Backbone property to the wp-backbone namespace. See #24424.
git-svn-id: http://core.svn.wordpress.org/trunk@24367 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-26 06:34:33 +00:00
Daryl Koopersmith
c4fe4ebd42 Alias media.template to wp.template. See #23263, #24424.
git-svn-id: http://core.svn.wordpress.org/trunk@24366 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-26 05:55:49 +00:00
Bot (Assets)
06ae0b6dd4 Compress scripts/styles: 3.6-beta3-24365.
git-svn-id: http://core.svn.wordpress.org/trunk@24365 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-25 22:58:57 +00:00
Dominik Schilling
3ad948ab0e Update to jQuery 1.10.0. Still includes jQuery in original, unminified form, for ease of testing and bug reporting. fixes #24426.
git-svn-id: http://core.svn.wordpress.org/trunk@24364 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-25 22:33:07 +00:00
Dominik Schilling
813ef678b4 Declare Text_Diff::trimNewlines() as static. Upstream is not back compat. props aaroncampbell. fixes #24372.
git-svn-id: http://core.svn.wordpress.org/trunk@24363 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-25 22:10:53 +00:00
Andrew Nacin
4a067e8949 Remove deprecated pass-by-reference from the Text_Diff external library. Upstream is not back compat. see #24372.
git-svn-id: http://core.svn.wordpress.org/trunk@24362 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-25 21:38:25 +00:00
Daryl Koopersmith
b8ce442044 Update the subview controller for the patterns found in Backbone 1.0.
Fixes #24424.


git-svn-id: http://core.svn.wordpress.org/trunk@24361 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-25 21:38:12 +00:00
Daryl Koopersmith
56a6cac328 Extract the base views from media.
See #24424.


git-svn-id: http://core.svn.wordpress.org/trunk@24360 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-25 21:03:04 +00:00
Daryl Koopersmith
c4e0a1fc06 Remove unnecessary local variable.
git-svn-id: http://core.svn.wordpress.org/trunk@24359 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-25 20:58:35 +00:00
Daryl Koopersmith
2815460247 Begin a common WordPress Backbone helpers file.
Moves the `wp.template` helper to `wp-backbone.js`.



git-svn-id: http://core.svn.wordpress.org/trunk@24358 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-25 20:47:55 +00:00
Bot (Assets)
107bd6dda4 Compress scripts/styles: 3.6-beta3-24357.
git-svn-id: http://core.svn.wordpress.org/trunk@24357 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-25 16:59:00 +00:00
Sergey Biryukov
063b1d4cb8 Use correct variable. props tollmanz. fixes #24419.
git-svn-id: http://core.svn.wordpress.org/trunk@24353 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-25 11:35:43 +00:00
Sergey Biryukov
5f05c95014 Add @return for get_the_post_format_image(). Make sure the function always returns a string. props tollmanz. fixes #24414. see #24348.
git-svn-id: http://core.svn.wordpress.org/trunk@24352 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-24 23:56:00 +00:00
Bot (Assets)
83a00bd3dc Compress scripts/styles: 3.6-beta3-24349.
git-svn-id: http://core.svn.wordpress.org/trunk@24349 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-24 20:58:56 +00:00
Andrew Nacin
97ce5922db Remove docs suggesting that wp_update_user() creates a user if no ID is provided. See #16731, that is incorrect at this time.
git-svn-id: http://core.svn.wordpress.org/trunk@24345 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-24 16:22:22 +00:00
Ryan Boren
e4cb7d70bd Introduce customize_save_after action.
Props dovyp, JustinSainton
fixes #24401


git-svn-id: http://core.svn.wordpress.org/trunk@24344 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-24 10:33:30 +00:00
Andrew Ozz
0e0bbd38a2 TinyMCE: don't import color and background-color from the content when creating menus that have preview capabilities.
Fixes a visual glitch: when post formats styling is added in editor-styles.css, it is applied to the menus and not reset after changing format. See #24308.

git-svn-id: http://core.svn.wordpress.org/trunk@24341 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-23 22:49:06 +00:00
Andrew Nacin
7cc15a2e7f Remove use of global $id from comment_form() and the media list table. see #24330.
git-svn-id: http://core.svn.wordpress.org/trunk@24337 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-23 18:40:16 +00:00
Ryan Boren
99dc867670 Use the global post rather than the global post ID. They don't always match, and the global post is more canonical.
see #24330


git-svn-id: http://core.svn.wordpress.org/trunk@24336 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-23 18:16:24 +00:00
Jon Cave
94a56f3bbf Properly escape source parameter in audio/video shortcodes. See #23282.
git-svn-id: http://core.svn.wordpress.org/trunk@24334 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-23 17:45:59 +00:00
Bot (Assets)
4a57b437d9 Compress scripts/styles: 3.6-beta3-24330.
git-svn-id: http://core.svn.wordpress.org/trunk@24330 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-22 22:58:58 +00:00
Sergey Biryukov
71b6d68ad5 Switch to a CSS comment in gallery_shortcode() to avoid breaking markup when the shortcode is used inside an HTML comment. props mark-k, aaroncampbell. fixes #23787.
git-svn-id: http://core.svn.wordpress.org/trunk@24329 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-22 22:27:53 +00:00
Andrew Ozz
f17d4bf90f Local autosaves: always set 'autosave = true' in the post data when triggering local autosave on form submit. Fixes cases where the form is submitted shortly after loading the Edit screen, local autosave hasn't run yet and there is no previous data to be merged. Fixes #23960.
git-svn-id: http://core.svn.wordpress.org/trunk@24328 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-22 21:43:45 +00:00
Andrew Nacin
797ee34bc3 Remove /extend/ from URLs to wordpress.org/plugins, /themes, and /mobile, as those are all now top-level. see #24389.
git-svn-id: http://core.svn.wordpress.org/trunk@24320 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-22 21:01:57 +00:00
Bot (Assets)
b8f9f03dcf Compress scripts/styles: 3.6-beta3-24318.
git-svn-id: http://core.svn.wordpress.org/trunk@24318 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-22 18:58:57 +00:00
Ryan Boren
982694749b In WP_User::get_data_by(), don't abs int negative IDs. Instead, return false when an ID less than 1 is passed.
Props nacin, mordauk
fixes #23480


git-svn-id: http://core.svn.wordpress.org/trunk@24316 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-22 18:14:37 +00:00
Mark Jaquith
023deb3fd2 Add the jQuery version to the 'jquery' script alias
* Allows people to check it and get the right result

see #22975. props aaroncampbell.

git-svn-id: http://core.svn.wordpress.org/trunk@24314 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-22 17:12:17 +00:00
Bot (Assets)
ee52c4b1c2 Compress scripts/styles: 3.6-beta3-24312.
git-svn-id: http://core.svn.wordpress.org/trunk@24312 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-22 02:58:58 +00:00
Andrew Ozz
2fb4cd0d9d TinyMCE: reset line-height for the formats drop-down menu. Fixes a bug where the H1-H6 menu items are overlapping.
git-svn-id: http://core.svn.wordpress.org/trunk@24311 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-22 01:41:36 +00:00
Bot (Assets)
e30777bc0a Compress scripts/styles: 3.6-beta3-24306.
git-svn-id: http://core.svn.wordpress.org/trunk@24306 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-20 20:58:55 +00:00
Andrew Nacin
de0b1ffbf8 Use stripslashes() instead of wp_unslash() in ms-files.php to avoid formatting.php dependency. props devesine, fixes #24374.
git-svn-id: http://core.svn.wordpress.org/trunk@24305 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-20 20:20:22 +00:00
Ryan Boren
ad4a081c0c Pinking shears
git-svn-id: http://core.svn.wordpress.org/trunk@24303 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-20 12:10:58 +00:00
Ryan Boren
1eff4a8a62 Add the Daily Motion shortlink, dai.ly, to the default oembed provider list.
Props georgestephanis
fixes #24353


git-svn-id: http://core.svn.wordpress.org/trunk@24302 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-20 12:08:07 +00:00
Ryan Boren
a2b4bc456f * Introduce wp_parse_post_content() and use it in setup_postdata(), get_the_content(), and get_the_remaining_content().
* Add a post ID argument to the_content(), get_the_content(), the_remaining_content(), and get_the_remaining_content().
* Pass the post ID to the the_content filter.
* Remove the format_pages global.
* Declare format_content and split_content as vars in WP_Post.
* phpdoc for the the_content filter that documents the new ID argument and denotes it as not-so-portable.

Props gcorne, DrewAPicture, duck_, aaroncampbell
see #24330


git-svn-id: http://core.svn.wordpress.org/trunk@24301 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-20 11:05:50 +00:00
Bot (Assets)
10a5505b64 Compress scripts/styles: 3.6-beta3-24300.
git-svn-id: http://core.svn.wordpress.org/trunk@24300 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-20 04:58:58 +00:00
Bot (Assets)
f6c3c8fcdf Compress scripts/styles: 3.6-beta3-24298.
git-svn-id: http://core.svn.wordpress.org/trunk@24298 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-19 20:59:00 +00:00
Sergey Biryukov
90aca60345 Move the PHP4 constructor below the PHP5 one to avoid E_STRICT message. props uuf6429, iandunn. fixes #20801.
git-svn-id: http://core.svn.wordpress.org/trunk@24296 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-19 12:32:20 +00:00
Bot (Assets)
273666492b Compress scripts/styles: 3.6-beta3-24295.
git-svn-id: http://core.svn.wordpress.org/trunk@24295 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-19 02:58:57 +00:00
Bot (Assets)
21a2898cbe Compress scripts/styles: 3.6-beta3-24293.
git-svn-id: http://core.svn.wordpress.org/trunk@24293 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-19 00:58:54 +00:00
Bot (Assets)
cb3b7f23f7 Compress scripts/styles: 3.6-beta3-24290.
git-svn-id: http://core.svn.wordpress.org/trunk@24290 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-18 00:58:53 +00:00
Andrew Nacin
316bfc63a2 When WP_DEBUG, set PHP error_reporting level to E_ALL. This will include E_DEPRECATED in PHP 5.3, and E_STRICT in PHP 5.4.
fixes #24357.



git-svn-id: http://core.svn.wordpress.org/trunk@24288 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-17 20:44:54 +00:00