Commit Graph

22427 Commits

Author SHA1 Message Date
Andrew Ozz
7599e04145 TwentyTwelve: in editor-style.css change .mceWPnextpage to .mce-wp-nextpage to match the core fix for Chrome. See #24177.
git-svn-id: https://develop.svn.wordpress.org/trunk@24319 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-22 19:10:42 +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
Andrew Nacin
865defcb1a Revert [24291] pending further discussion and sleuthing. see #24364.
git-svn-id: https://develop.svn.wordpress.org/trunk@24317 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-22 18:37:43 +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
Dominik Schilling (ocean90)
790b2a5a41 Some more RTL improvements for permalink settings. props SergeyBiryukov. fixes #16834.
git-svn-id: https://develop.svn.wordpress.org/trunk@24315 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-22 17:58:10 +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
Andrew Ozz
d67790d7eb Add more specific error messages when upgrading themes and plugins and the package cannot be extracted (no files), props SergeyBiryukov, fixes #24223
git-svn-id: https://develop.svn.wordpress.org/trunk@24313 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-22 16:57:20 +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
Andrew Ozz
ee93e9c949 Image post format UI:
- When initializing wp.Uploader pass null for 'container' and 'browser'. Fixes a bug where another instance of the uploader was attached to <body>.
- Destroy the uploader instance if drag/drop is not supported (IE8 & 9).
See #24291.

git-svn-id: https://develop.svn.wordpress.org/trunk@24310 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-22 01:30:00 +00:00
Lance Willett
dcbff314ea Twenty Thirteen: first pass to add RTL for editor styles, see #24298. Props obenland for starter patch. Adds table of contents to this file and fixes spelling in style.css ToC.
git-svn-id: https://develop.svn.wordpress.org/trunk@24309 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-20 22:35:08 +00:00
Lance Willett
497652fd31 Twenty Thirteen: first pass to add post format visual styles to visual editor. Props celloexpressions and obenland, see #24308 and #24298.
git-svn-id: https://develop.svn.wordpress.org/trunk@24308 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-20 22:18:09 +00:00
Lance Willett
cf17f45099 Twenty Thirteen: PHPDoc improvements for back-compat file, props DrewAPicture. Fixes #24363.
git-svn-id: https://develop.svn.wordpress.org/trunk@24307 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-20 22:16:20 +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
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