Lance Willett
30f277035c
Twenty Thirteen: remove CSS hack added in r24286 for pixel shift in Chrome with gallery thumbs. Not needed now that we're loading medium size (and not large), see r24338.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24350 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-24 21:22:58 +00:00
bumpbot
a999bc364f
Compress scripts/styles: 3.6-beta3-24349.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24349 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-24 20:58:56 +00:00
Sergey Biryukov
9405a37284
Auto-expand the menus accordion if JavaScript is disabled. fixes #24402 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24348 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-24 20:50:10 +00:00
Lance Willett
42cfbd701f
Twenty Thirteen: polish up RTL for editor styles, fixing blockquote and status entries. Fixes #24298 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24347 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-24 18:58:21 +00:00
Sergey Biryukov
71bb15b4c9
Remove unused variable. props zeo. fixes #24412 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24346 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-24 16:50:50 +00:00
Andrew Nacin
8a30181896
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: https://develop.svn.wordpress.org/trunk@24345 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-24 16:22:22 +00:00
Ryan Boren
fcbfed2328
Introduce customize_save_after action.
...
Props dovyp, JustinSainton
fixes #24401
git-svn-id: https://develop.svn.wordpress.org/trunk@24344 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-24 10:33:30 +00:00
Lance Willett
21db022cc9
Twenty Thirteen: fix up Quote styles for the visual editor, see #24308 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24343 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-23 23:48:56 +00:00
Lance Willett
0393ef579f
Twenty Thirteen: fix comment cruft left from r24338.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24342 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-23 23:48:02 +00:00
Andrew Ozz
03f38ae6ca
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: https://develop.svn.wordpress.org/trunk@24341 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-23 22:49:06 +00:00
Lance Willett
b86cae969a
Twenty Thirteen: properly center the navbar, props DrewAPicture. Fixes #24406 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24340 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-23 22:35:41 +00:00
potbot
8b4f5bdddc
POT, generated from r24338
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24339 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-23 21:14:28 +00:00
Lance Willett
bb183fdfc7
Twenty Thirteen: revert adding new image size for galleries., Using existing medium size instead, and thumbnail for mobile views. See #24307 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24338 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-23 20:39:51 +00:00
Andrew Nacin
c4ee22898d
Remove use of global $id from comment_form() and the media list table. see #24330 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24337 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-23 18:40:16 +00:00
Ryan Boren
5f472898e5
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: https://develop.svn.wordpress.org/trunk@24336 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-23 18:16:24 +00:00
potbot
4d1d6f1992
POT, generated from r24334
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24335 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-23 18:14:16 +00:00
Jon Cave
cc6a2a0a0e
Properly escape source parameter in audio/video shortcodes. See #23282 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24334 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-23 17:45:59 +00:00
Lance Willett
d083fc7641
Twenty Thirteen: create new image size for galleries, at 300 x 300 so that "large" image size doesn't load for a resulting thumbnail on index views. See #24307 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24333 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-23 17:32:40 +00:00
Lance Willett
1533482d18
Twenty Thirteen: move word-wrap
rules to parent container of hyphenated text, and hyphenate long comment author names. Props SergeyBiryukov for first patches, fixes #24329 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24332 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-23 17:20:37 +00:00
Lance Willett
61ccbd34da
Twenty Thirteen: handle case for gallery post formats if there is no gallery shortcode in the post. Props obenland, fixes #24391 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24331 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-23 17:05:26 +00:00
bumpbot
fa1dd818d1
Compress scripts/styles: 3.6-beta3-24330.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24330 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-22 22:58:58 +00:00
Sergey Biryukov
2bb8434469
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: https://develop.svn.wordpress.org/trunk@24329 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-22 22:27:53 +00:00
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
Sergey Biryukov
df63c08216
Use numbered placeholders. see #24389 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24327 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-22 21:26:36 +00:00
potbot
359907ab7e
POT, generated from r24322
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24326 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-22 21:14:09 +00:00
potbot
bf349e059d
POT, generated from r24322
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24325 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-22 21:14:08 +00:00
potbot
a7b4fcf41c
POT, generated from r24322
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24324 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-22 21:14:05 +00:00
potbot
68770f99e6
POT, generated from r24322
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24323 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-22 21:14:03 +00:00
Andrew Nacin
9f6f740846
Remove /extend/ from Hello Dolly.
...
Well, hello, Dolly
It's so nice to have you back where you belong
fixes #24389 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24322 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-22 21:08:40 +00:00
Andrew Nacin
283733de35
Remove /extend/ from Theme URI headers in default themes. props JustinSainton, fixes #24389 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24321 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-22 21:06:08 +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
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