Commit Graph

22450 Commits

Author SHA1 Message Date
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
Lance Willett
cb38eac14d Twenty Thirteen: minor CSS fixes for comment spacing and property ordering.
git-svn-id: https://develop.svn.wordpress.org/trunk@24239 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-10 21:38:48 +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
Mark Jaquith
87730d0649 Improvements of Image format dropzone
* Limit drag-drop Image format zone to HTML5 runtime
* Only keep the first file dropped
* Only upload image files
* Fix CSS for the progress bar

props azaozz. see #24291.

git-svn-id: https://develop.svn.wordpress.org/trunk@24236 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-10 18:49:05 +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
Lance Willett
67c4851a08 Twenty Thirteen: update Genericons font files to version 2.05, props Joen.
git-svn-id: https://develop.svn.wordpress.org/trunk@24234 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-10 16:16:48 +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
6c2631f1ca Display consistent labels in Image post format UI for users with and without unfiltered_html capability. props tollmanz. fixes #24304. see #24291.
git-svn-id: https://develop.svn.wordpress.org/trunk@24232 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-10 14:41:58 +00:00
Sergey Biryukov
c57e761ce5 Remove debug cruft. props kovshenin. see #23930.
git-svn-id: https://develop.svn.wordpress.org/trunk@24231 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-10 12:26:46 +00:00
Sergey Biryukov
cb45a6cb79 Use esc_textarea(), not esc_html(), for escaping textarea content. props johnbillion. fixes #24300.
git-svn-id: https://develop.svn.wordpress.org/trunk@24230 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-10 02:06: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
Sergey Biryukov
1e66ba73ed Use correct escaping function. props tollmanz. fixes #24300.
git-svn-id: https://develop.svn.wordpress.org/trunk@24228 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-09 23:53:24 +00:00
bumpbot
784177ac9f Compress scripts/styles: 3.6-beta2-24227.
git-svn-id: https://develop.svn.wordpress.org/trunk@24227 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-09 22:58:58 +00:00
Mark Jaquith
31c316214a Improve the UX and flow of the Image post format.
* Drag-and-drop
* Textarea for HTML/URL hidden to start
* Bigger click target for entering Media modal
* Image preview height-contrained to 300 pixels
* Hid the alignment, size, etc options that didn't have an effect anyway
* Got wp-format-{format} into the <body> class

props DrewAPicture, aaroncampbell, markjaquith, azaozz. see #24291.

git-svn-id: https://develop.svn.wordpress.org/trunk@24226 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-09 22:45:14 +00:00
Sergey Biryukov
aaec6a462a Allow to switch get_search_form() to HTML5 with an add_theme_support() call. fixes #23850.
git-svn-id: https://develop.svn.wordpress.org/trunk@24225 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-09 22:41:30 +00:00
Lance Willett
0ac97e433c Twenty Thirteen: smarter margins for comment block-level elements that need to be centered. Use margin just for left and right; don't change top and bottom.
git-svn-id: https://develop.svn.wordpress.org/trunk@24224 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-09 20:22:32 +00:00
Lance Willett
442d1a5477 Twenty Thirteen: clean up RTL and Genericons styles. Props SergeyBiryukov for the comment moderation bits, fixes #24287.
git-svn-id: https://develop.svn.wordpress.org/trunk@24223 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-09 20:08:39 +00:00
bumpbot
3f306f67b8 Compress scripts/styles: 3.6-beta2-24222.
git-svn-id: https://develop.svn.wordpress.org/trunk@24222 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-09 18:58:57 +00:00
Andrew Ozz
8acec51116 Local autosaves: show the notice above the post formats UI, see #23220
git-svn-id: https://develop.svn.wordpress.org/trunk@24221 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-09 18:23:05 +00:00
bumpbot
510e59c8fb Compress scripts/styles: 3.6-beta2-24220.
git-svn-id: https://develop.svn.wordpress.org/trunk@24220 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-09 10:58:54 +00:00
Dominik Schilling (ocean90)
123d8a1258 Revisions UI: Redesigned slider handlers.
Also:
* Fix diff header styling in grey admin theme
* Prevent an overlap of the compare two checkbox on smaller screens

props melchoyce, DrewAPicture, adamsilverstein. fixes #24276.

git-svn-id: https://develop.svn.wordpress.org/trunk@24219 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-09 10:07:26 +00:00
Sergey Biryukov
dfc25545fe Make the notice on Edit Menus screen more in line with the help text. props DrewAPicture. see #24115.
git-svn-id: https://develop.svn.wordpress.org/trunk@24218 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-09 03:06:14 +00:00
Sergey Biryukov
232269b34e Don't show "Manage Locations" tab if the theme has no menu locations defined. props DrewAPicture. fixes #24115.
git-svn-id: https://develop.svn.wordpress.org/trunk@24217 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-09 02:43:26 +00:00
bumpbot
b0d4114414 Compress scripts/styles: 3.6-beta2-24216.
git-svn-id: https://develop.svn.wordpress.org/trunk@24216 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-09 00:58:57 +00:00
Andrew Ozz
05f48e1725 TinyMCE: fix for the disappearing placeholders bug in Chrome, see #24177
git-svn-id: https://develop.svn.wordpress.org/trunk@24215 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-09 00:24:45 +00:00
Sergey Biryukov
7cf933b2c9 * Pass ellipsis as a parameter to wp_html_excerpt() instead of appending it manually.
* Consolidate the logic to avoid appending ellipsis if the entire string is shown.
* Show ellipsis after truncated filenames and post titles.

props solarissmoke, bpetty, SergeyBiryukov. fixes #11446.

git-svn-id: https://develop.svn.wordpress.org/trunk@24214 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-09 00:22:02 +00:00
Sergey Biryukov
cb0bd68404 Don't append ellipsis in RSS widget if the entire content is shown. props kovshenin. fixes #21702.
git-svn-id: https://develop.svn.wordpress.org/trunk@24213 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-08 23:23:05 +00:00
Sergey Biryukov
a21af7c29f Use wp_trim_words() in Recent Drafts widget. fixes #24292.
git-svn-id: https://develop.svn.wordpress.org/trunk@24212 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-08 23:06:41 +00:00
Andrew Ozz
f4b1c3c53f TinyMCE: attempt a workaround for WebKit bug inserting spans with font styles when creating UL or OL. See #17154
git-svn-id: https://develop.svn.wordpress.org/trunk@24211 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-08 23:03:44 +00:00
bumpbot
40ba7996f8 Compress scripts/styles: 3.6-beta2-24210.
git-svn-id: https://develop.svn.wordpress.org/trunk@24210 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-08 22:58:55 +00:00
Andrew Ozz
701a2d23f9 Post locks and autosave:
- Move nonces refreshing from autosave to lock checking.
- Do autosave only when there is something to save.
See #23295

git-svn-id: https://develop.svn.wordpress.org/trunk@24209 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-08 22:52:55 +00:00
Andrew Ozz
db72372fcc Logged out warnings:
- Don't use <base> tag to set target="_blank". It can break form submission. Instead, set target only on links with JS.
- Fix same domain comparison in wp_auth_check_html() when FORCE_SSL_LOGIN == true.
- Properly show/hide the "Close" button when the dialog is shown multiple times.
See #23295

git-svn-id: https://develop.svn.wordpress.org/trunk@24208 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-08 22:45:58 +00:00
Sergey Biryukov
bb2a27be5b Use ellipsis instead of three dots. props tjsingleton, jordie23, wojtek.szkutnik, DrewAPicture, SergeyBiryukov. see #8714.
git-svn-id: https://develop.svn.wordpress.org/trunk@24207 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-08 21:27:31 +00:00
Mark Jaquith
cf2a8e08d2 Ensure that draft posts cannot be given a non-unique post slug when using Quick Edit.
fixes #22902. props SergeyBiryukov.

git-svn-id: https://develop.svn.wordpress.org/trunk@24206 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-08 21:26:17 +00:00
Dominik Schilling (ocean90)
0b5b837917 Revisions UI: RTL support. (And inline docs.)
props DrewAPicture, adamsilverstein. fixes #23897.

git-svn-id: https://develop.svn.wordpress.org/trunk@24205 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-08 21:22:01 +00:00
Dominik Schilling (ocean90)
e99d155133 jQuery UI 1.10.3. fixes #23370.
git-svn-id: https://develop.svn.wordpress.org/trunk@24204 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-08 20:54:30 +00:00
Mark Jaquith
7b15956535 Include getID3 licensing info.
props bpetty. fixes #23842.

git-svn-id: https://develop.svn.wordpress.org/trunk@24203 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-08 20:37:50 +00:00
Lance Willett
74855b64ed Twenty Thirteen: fix styling for comment moderation notice. Props SergeyBiryukov, fixes #24286.
git-svn-id: https://develop.svn.wordpress.org/trunk@24202 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-08 19:11:03 +00:00
Sergey Biryukov
1b941a1872 Avoid PHP notices when deleting or restoring an item that no longer exists. props johnbillion, ocean90. fixes #24246.
git-svn-id: https://develop.svn.wordpress.org/trunk@24201 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-08 18:56:54 +00:00
Sergey Biryukov
15ffa40d64 Add missing semicolon. props jcastaneda. fixes #24282.
git-svn-id: https://develop.svn.wordpress.org/trunk@24200 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-08 18:15:14 +00:00
Sergey Biryukov
b6bd2d56da Remove unused variables. props ocean90. fixes #24247.
git-svn-id: https://develop.svn.wordpress.org/trunk@24199 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-08 17:52:18 +00:00
Ryan Boren
edee280e39 Avoid warning in gallery_shortcode() when called outside of post context.
Props kovshenin
fixes #24272


git-svn-id: https://develop.svn.wordpress.org/trunk@24198 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-08 16:57:58 +00:00
Lance Willett
c1d41fdd37 Twenty Thirteen: fix comment author styles to only add star icon to the post author's comment(s). Fixes #24281.
git-svn-id: https://develop.svn.wordpress.org/trunk@24197 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-08 15:09:34 +00:00
Lance Willett
368f50ea12 Twenty Ten and Twenty Twelve: fix minor indentation issues in CSS files (spaces to tabs).
git-svn-id: https://develop.svn.wordpress.org/trunk@24196 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-07 22:17:23 +00:00
Lance Willett
7f265acff3 Twenty Ten: call get_post_galleries() correctly now that it has new arguments, and use a more accurate function_exists call. Props kovshenin, closes #23617.
git-svn-id: https://develop.svn.wordpress.org/trunk@24195 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-07 21:57:49 +00:00
Lance Willett
e9dc8d8f33 Twenty Eleven: call get_post_galleries() correctly now that it has new arguments, and use a more accurate function_exists call. Props kovshenin, closes #22907.
git-svn-id: https://develop.svn.wordpress.org/trunk@24194 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-07 21:56:29 +00:00
Lance Willett
6355021c7d Twenty Thirteen: more specificity for .reply selectors, props johnjamesjacoby for starter patch. Fixes #24268.
git-svn-id: https://develop.svn.wordpress.org/trunk@24193 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-07 21:35:09 +00:00