Commit Graph

22663 Commits

Author SHA1 Message Date
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
Andrew Ozz 2700b71b35 Post locks:
- Change from IDs to classes for the notification-dialog divs so they can be reused.
- Do not check post locks if the dialog's html is not present.
- Do not check post locks if there is only one user on a single site install.
See #23697.

git-svn-id: https://develop.svn.wordpress.org/trunk@24304 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-20 19:36:29 +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
Andrew Ozz 657612fbaa Post locks: do not check locks on the Posts screen if the list table is empty, see #23697
git-svn-id: https://develop.svn.wordpress.org/trunk@24299 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-20 04:10:43 +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
Andrew Ozz 336851f453 Post formats: add 32px retina icons for both color themes, tweak the css, "crush" the sprites. Props melchoyce, saracannon, aaroncampbell. Fixes #24290, fixes #24331.
git-svn-id: https://develop.svn.wordpress.org/trunk@24297 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-19 20:25:24 +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
Andrew Ozz 582a2143e2 Post format retina icons for both color themes, props melchoyce, aaroncampbell. See #24290, see #24331.
git-svn-id: https://develop.svn.wordpress.org/trunk@24294 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-19 02:05:52 +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
Andrew Ozz e6ba0525cc Post format image: fix distorted image preview on iPads, see #24046
git-svn-id: https://develop.svn.wordpress.org/trunk@24292 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-19 00:49:58 +00:00
Andrew Ozz ea91e4bcab Fix Chrome disregarding autocomplete="off" for password fields. Add autocomplete="off" to forms where the users can choose new password. Fixes #24364.
git-svn-id: https://develop.svn.wordpress.org/trunk@24291 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-18 22:56:21 +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 Ozz 676d0c8b16 Post formats: when uploading an image or selecting it from the media modal, don't wrap it in a link, props kovshenin, fixes #24289
git-svn-id: https://develop.svn.wordpress.org/trunk@24289 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-17 23:06:34 +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
Lance Willett fb72520209 Twenty Thirteen: revert unintended space change from r24239.
git-svn-id: https://develop.svn.wordpress.org/trunk@24287 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-17 19:25:50 +00:00
Lance Willett 91371132a1 Twenty Thirteen: fix pixel shift that can occur on gallery non-single views in latest Chrome. Props jeremyfelt, fixes #24310.
git-svn-id: https://develop.svn.wordpress.org/trunk@24286 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-17 19:24:53 +00:00
Lance Willett ab27644710 Twenty Thirteen: ensure galleries are displayed correctly (centered) on both single and indexed views, props obenland. See #24307.
git-svn-id: https://develop.svn.wordpress.org/trunk@24285 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-17 19:22:39 +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
Dominik Schilling (ocean90) e8f56bae21 Improve the permalink settings UI for RTL.
props yoavf, SergeyBiryukov, DrewAPicture. fixes #16834.

git-svn-id: https://develop.svn.wordpress.org/trunk@24283 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-17 17:55:39 +00:00
Ryan Boren 6f80083f14 Display the post format UI when there is structured data associated with the post regardless of the screen option.
Props kovshenin
see #24327


git-svn-id: https://develop.svn.wordpress.org/trunk@24282 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-17 15:12:50 +00:00
Lance Willett f5ffe0a92d Twenty Thirteen: fixes to remove invalid CSS rules, including unneeded IE-specific filters and `calc()` values.
git-svn-id: https://develop.svn.wordpress.org/trunk@24281 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-16 19:52:53 +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
Lance Willett 9c000fd751 Twenty Thirteen: update Quote styles so that fancy display only affects the actual quote content. Fixes #24332.
git-svn-id: https://develop.svn.wordpress.org/trunk@24279 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-16 16:48:55 +00:00
Lance Willett 7dac02a3f9 Twenty Thirteen: updated screenshot, smaller (82 to 55 KB) and a bit less cow.
git-svn-id: https://develop.svn.wordpress.org/trunk@24278 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-16 16:47:42 +00:00
Dominik Schilling (ocean90) 3786e44194 Customizer: Fix 'Collapse' button in RTL. props SergeyBiryukov. see [22977]. fixes #23846.
git-svn-id: https://develop.svn.wordpress.org/trunk@24277 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-16 15:01:11 +00:00
Ryan Boren 3506db6e1c Don't show both "update failed" and "update successful" messages when upgrading a theme fails due to connectivity problems.
Props SergeyBiryukov
fixes #23027


git-svn-id: https://develop.svn.wordpress.org/trunk@24276 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-16 12:46:36 +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
Sergey Biryukov 5b3dc65c14 Add file header to post-formats.php. props DrewAPicture. fixes #24349.
git-svn-id: https://develop.svn.wordpress.org/trunk@24267 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-15 23:14:45 +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
Andrew Ozz 22b2023e4b Fix showing and hiding of UI elements when disabling the Post Formats UI, props kovshenin, see #24327
git-svn-id: https://develop.svn.wordpress.org/trunk@24264 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-15 20:43:09 +00:00
Dominik Schilling (ocean90) a5ab9e5dca Revisions: Correct check for ensuring comparison always from newer to older revision. props adamsilverstein. fixes #24340.
git-svn-id: https://develop.svn.wordpress.org/trunk@24263 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-15 19:09:39 +00:00
Sergey Biryukov 2b2c46e79f Correct default value and inline description for $meta argument. see #22187.
git-svn-id: https://develop.svn.wordpress.org/trunk@24262 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-15 17:54:02 +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
Dominik Schilling (ocean90) f2b66aafbd RTL support for the new post Format UI. see #24326.
git-svn-id: https://develop.svn.wordpress.org/trunk@24258 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-14 19:01:57 +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
Dominik Schilling (ocean90) ab860dea14 RTL: Fix some issues on nav menu screen. see #24326.
git-svn-id: https://develop.svn.wordpress.org/trunk@24256 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-14 18:26:41 +00:00