Andrew Ozz
23514efe8a
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: https://develop.svn.wordpress.org/trunk@24328 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-22 21:43:45 +00:00
Andrew Nacin
56b03bc118
Remove /extend/ from URLs to wordpress.org/plugins, /themes, and /mobile, as those are all now top-level. see #24389 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24320 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-22 21:01:57 +00:00
bumpbot
7306e41902
Compress scripts/styles: 3.6-beta3-24318.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24318 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-22 18:58:57 +00:00
Ryan Boren
df26a7f97e
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: https://develop.svn.wordpress.org/trunk@24316 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-22 18:14:37 +00:00
Mark Jaquith
344b550bb7
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: https://develop.svn.wordpress.org/trunk@24314 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-22 17:12:17 +00:00
bumpbot
4a1aaffc57
Compress scripts/styles: 3.6-beta3-24312.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24312 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-22 02:58:58 +00:00
Andrew Ozz
5001b617a7
TinyMCE: reset line-height for the formats drop-down menu. Fixes a bug where the H1-H6 menu items are overlapping.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24311 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-22 01:41:36 +00:00
bumpbot
b3a97f3700
Compress scripts/styles: 3.6-beta3-24306.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24306 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-20 20:58:55 +00:00
Andrew Nacin
db3587303d
Use stripslashes() instead of wp_unslash() in ms-files.php to avoid formatting.php dependency. props devesine, fixes #24374 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24305 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-20 20:20:22 +00:00
Ryan Boren
687d1a2ce9
Pinking shears
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24303 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-20 12:10:58 +00:00
Ryan Boren
f1068cbe96
Add the Daily Motion shortlink, dai.ly, to the default oembed provider list.
...
Props georgestephanis
fixes #24353
git-svn-id: https://develop.svn.wordpress.org/trunk@24302 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-20 12:08:07 +00:00
Ryan Boren
2662748593
* 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: https://develop.svn.wordpress.org/trunk@24301 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-20 11:05:50 +00:00
bumpbot
5b742721ec
Compress scripts/styles: 3.6-beta3-24300.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24300 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-20 04:58:58 +00:00
bumpbot
0892fe10b9
Compress scripts/styles: 3.6-beta3-24298.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24298 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-19 20:59:00 +00:00
Sergey Biryukov
3771cf0c53
Move the PHP4 constructor below the PHP5 one to avoid E_STRICT message. props uuf6429, iandunn. fixes #20801 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24296 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-19 12:32:20 +00:00
bumpbot
753eb290be
Compress scripts/styles: 3.6-beta3-24295.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24295 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-19 02:58:57 +00:00
bumpbot
55371e8359
Compress scripts/styles: 3.6-beta3-24293.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24293 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-19 00:58:54 +00:00
bumpbot
c63bdba46d
Compress scripts/styles: 3.6-beta3-24290.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24290 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-18 00:58:53 +00:00
Andrew Nacin
53a1416c34
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: https://develop.svn.wordpress.org/trunk@24288 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-17 20:44:54 +00:00
bumpbot
51c0ca1932
Compress scripts/styles: 3.6-beta3-24284.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24284 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-17 18:58:55 +00:00
bumpbot
e34b198411
Compress scripts/styles: 3.6-beta3-24280.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24280 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-16 16:58:57 +00:00
Ryan Boren
a7b5385ccf
Check for empty user agent to avoid notice.
...
Props sergej.mueller
fixes #22979
git-svn-id: https://develop.svn.wordpress.org/trunk@24275 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-16 12:06:36 +00:00
bumpbot
800ef593aa
Compress scripts/styles: 3.6-beta3-24274.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24274 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-16 04:58:58 +00:00
Andrew Ozz
e4f73af495
Separate the nonces update from checking the post lock. Fix scheduling the logged out check. See #23697 , see #23295 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24273 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-16 03:47:09 +00:00
bumpbot
1d4f81f8ba
Compress scripts/styles: 3.6-beta3-24272.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24272 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-16 02:58:55 +00:00
Andrew Ozz
16f9ab52d5
Logged out warnings: by default run the logged-out check every 3 min. Tag along if something else is using heartbeat. See #23295
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24271 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-16 01:50:43 +00:00
bumpbot
d217792ffb
Compress scripts/styles: 3.6-beta3-24270.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24270 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-16 00:58:56 +00:00
Andrew Ozz
5326a36210
Local autosaves: remove debug logging, see #23220
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24269 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-15 23:26:36 +00:00
Andrew Ozz
82998d74a4
Heartbeat: don't connect when a response is not expected by any script (nothing to send), remove debug logging, clean up code formatting, see #23216
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24268 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-15 23:17:51 +00:00
Andrew Ozz
978f89be64
Logged out warnings: fix same domain comparison in wp_auth_check_html() when FORCE_SSL_LOGIN && ! FORCE_SSL_ADMIN. See #23295
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24266 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-15 22:09:54 +00:00
bumpbot
a9db6a4195
Compress scripts/styles: 3.6-beta3-24265.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24265 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-15 20:58:57 +00:00
Sergey Biryukov
b168677133
Correct inline docs for wp_delete_term(). fixes #24343 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24261 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-15 08:10:52 +00:00
bumpbot
cd5208457e
Compress scripts/styles: 3.6-beta3-24260.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24260 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-14 20:58:56 +00:00
Dominik Schilling (ocean90)
f473389f71
hoverIntent r7. props mjbanks. fixes #23752 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24259 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-14 19:53:05 +00:00
bumpbot
2515b8dbef
Compress scripts/styles: 3.6-beta3-24257.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24257 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-14 18:58:57 +00:00
Sergey Biryukov
c65d6244b9
Fix typos in comments. fixes #24337 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24255 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-14 18:22:54 +00:00
Dominik Schilling (ocean90)
eb587cba7c
jQuery Migrate 1.2.1. see #22975 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24252 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-14 17:22:58 +00:00
Andrew Nacin
0f4d4c5325
Add a delimiter to _wp_filter_build_unique_id()'s handling of static method callbacks. props scribu, fixes #23265 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24251 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-14 15:55:21 +00:00
Ryan Boren
8ec3a3a34b
Add default args list to wp_remote_request|get|post|head docblocks
...
Props DrewAPicture
fixes #23838
git-svn-id: https://develop.svn.wordpress.org/trunk@24250 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-14 14:00:19 +00:00
Ryan Boren
de589f8ebe
Remove redundant post ID validation.
...
Props SergeyBiryukov
fixes #24199
git-svn-id: https://develop.svn.wordpress.org/trunk@24249 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-14 13:57:59 +00:00
Ryan Boren
dcd98293d1
Add the flickr shortlink, flic.kr, to the oEmbed default providers list.
...
Props Ipstenu
fixes #23052
git-svn-id: https://develop.svn.wordpress.org/trunk@24248 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-14 13:47:37 +00:00
Mark Jaquith
39bdfa67a1
3.6-beta3
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24244 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-10 23:57:27 +00:00
Mark Jaquith
010908b234
Revert change to get_post_format() introduced in [24226].
...
see #24291
git-svn-id: https://develop.svn.wordpress.org/trunk@24242 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-10 23:22:51 +00:00
Mark Jaquith
5cd3b7c3ab
Improve regular expressions by using a backreference to match right quote of quote pair when matching attributes.
...
props kovshenin. see #24225 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24241 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-10 22:54:33 +00:00
Mark Jaquith
a8fe299c1c
Return the requested image size in get_the_post_format_image()
...
props kovshenin. fixes #24188 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24240 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-10 22:49:24 +00:00
Sergey Biryukov
b0855cc810
Fix handling of '0' as meta_value argument in get_pages(). fixes #20376 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24238 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-10 19:18:54 +00:00
bumpbot
22e098493b
Compress scripts/styles: 3.6-beta2-24237.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24237 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-10 18:58:54 +00:00
Sergey Biryukov
d75c52e120
Prevent menu items with '0' label from being removed on menu saving. props MikeHansenMe, kovshenin. fixes #23051 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24235 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-10 18:03:09 +00:00
Sergey Biryukov
57b250943c
Update _post_formats_fix_empty_title() description. Make it clear that 'wp_insert_post_data' is a filter, not an action. props DrewAPicture. fixes #24303 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24233 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-10 14:53:34 +00:00
Sergey Biryukov
2b1420456d
Fix typos in phpdoc. props TheLastCicada. fixes #24302 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24229 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-10 01:39:30 +00:00