Commit Graph

1289 Commits

Author SHA1 Message Date
Bot (Assets)
ee52c4b1c2 Compress scripts/styles: 3.6-beta3-24312.
git-svn-id: http://core.svn.wordpress.org/trunk@24312 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-22 02:58:58 +00:00
Andrew Ozz
fe8c363c38 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: http://core.svn.wordpress.org/trunk@24310 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-22 01:30:00 +00:00
Bot (Assets)
e30777bc0a Compress scripts/styles: 3.6-beta3-24306.
git-svn-id: http://core.svn.wordpress.org/trunk@24306 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-20 20:58:55 +00:00
Andrew Ozz
a26190eb2e 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: http://core.svn.wordpress.org/trunk@24304 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-20 19:36:29 +00:00
Ryan Boren
ad4a081c0c Pinking shears
git-svn-id: http://core.svn.wordpress.org/trunk@24303 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-20 12:10:58 +00:00
Bot (Assets)
10a5505b64 Compress scripts/styles: 3.6-beta3-24300.
git-svn-id: http://core.svn.wordpress.org/trunk@24300 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-20 04:58:58 +00:00
Andrew Ozz
4c04bf0012 Post locks: do not check locks on the Posts screen if the list table is empty, see #23697
git-svn-id: http://core.svn.wordpress.org/trunk@24299 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-20 04:10:43 +00:00
Bot (Assets)
cb3b7f23f7 Compress scripts/styles: 3.6-beta3-24290.
git-svn-id: http://core.svn.wordpress.org/trunk@24290 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-18 00:58:53 +00:00
Andrew Ozz
9a62abbea5 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: http://core.svn.wordpress.org/trunk@24289 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-17 23:06:34 +00:00
Bot (Assets)
ac37e4b6dc Compress scripts/styles: 3.6-beta3-24274.
git-svn-id: http://core.svn.wordpress.org/trunk@24274 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-16 04:58:58 +00:00
Andrew Ozz
2f0c58960a Separate the nonces update from checking the post lock. Fix scheduling the logged out check. See #23697, see #23295.
git-svn-id: http://core.svn.wordpress.org/trunk@24273 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-16 03:47:09 +00:00
Bot (Assets)
3ac301c5d3 Compress scripts/styles: 3.6-beta3-24265.
git-svn-id: http://core.svn.wordpress.org/trunk@24265 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-15 20:58:57 +00:00
Andrew Ozz
7255abb66c Fix showing and hiding of UI elements when disabling the Post Formats UI, props kovshenin, see #24327
git-svn-id: http://core.svn.wordpress.org/trunk@24264 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-15 20:43:09 +00:00
Bot (Assets)
7b082313ef Compress scripts/styles: 3.6-beta3-24257.
git-svn-id: http://core.svn.wordpress.org/trunk@24257 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-14 18:58:57 +00:00
Dominik Schilling
fe67f477d1 Revisions UI: Reduce the min width of a tick. props adamsilverstein. see #23901.
git-svn-id: http://core.svn.wordpress.org/trunk@24254 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-14 17:35:26 +00:00
Dominik Schilling
9ab1807c76 Revisions JS: Fix inline docs. props a.hoereth. see #23901.
git-svn-id: http://core.svn.wordpress.org/trunk@24253 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-14 17:30:18 +00:00
Bot (Assets)
eaeff7ef42 Compress scripts/styles: 3.6-beta2-24237.
git-svn-id: http://core.svn.wordpress.org/trunk@24237 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-10 18:58:54 +00:00
Mark Jaquith
917fbaa81c 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: http://core.svn.wordpress.org/trunk@24236 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-10 18:49:05 +00:00
Sergey Biryukov
74638ccb5a Fix typos in phpdoc. props TheLastCicada. fixes #24302.
git-svn-id: http://core.svn.wordpress.org/trunk@24229 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-10 01:39:30 +00:00
Bot (Assets)
1547451c52 Compress scripts/styles: 3.6-beta2-24227.
git-svn-id: http://core.svn.wordpress.org/trunk@24227 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-09 22:58:58 +00:00
Mark Jaquith
f63001eb2c 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: http://core.svn.wordpress.org/trunk@24226 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-09 22:45:14 +00:00
Bot (Assets)
526ecaf50a Compress scripts/styles: 3.6-beta2-24210.
git-svn-id: http://core.svn.wordpress.org/trunk@24210 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-08 22:58:55 +00:00
Andrew Ozz
d0c5c59c94 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: http://core.svn.wordpress.org/trunk@24209 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-08 22:52:55 +00:00
Dominik Schilling
cbec9880a7 Revisions UI: RTL support. (And inline docs.)
props DrewAPicture, adamsilverstein. fixes #23897.

git-svn-id: http://core.svn.wordpress.org/trunk@24205 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-08 21:22:01 +00:00
Bot (Assets)
9a1fa8f044 Compress scripts/styles: 3.6-beta2-24176.
git-svn-id: http://core.svn.wordpress.org/trunk@24176 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-04 22:58:57 +00:00
Dominik Schilling
2f1777986c Revisions UI: Just another update - Now with improved tick marks and tooltips.
props adamsilverstein. see #23935.

git-svn-id: http://core.svn.wordpress.org/trunk@24174 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-03 23:17:06 +00:00
Bot (Assets)
e2100436b4 Compress scripts/styles: 3.6-beta2-24163.
git-svn-id: http://core.svn.wordpress.org/trunk@24163 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-02 22:58:59 +00:00
Dominik Schilling
ea1cecebee Revisions UI: Add translation contexts and remove unneeded lines.
props nao. fixes #23917.

git-svn-id: http://core.svn.wordpress.org/trunk@24157 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-02 10:12:19 +00:00
Bot (Assets)
94720f7d60 Compress scripts/styles: 3.6-beta1-24142.
git-svn-id: http://core.svn.wordpress.org/trunk@24142 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-29 20:48:11 +00:00
Sergey Biryukov
4c90d6eed6 Avoid a JS error when switching post format if Visual editor is disabled. fixes #24218.
git-svn-id: http://core.svn.wordpress.org/trunk@24141 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-29 20:44:15 +00:00
Bot (Assets)
5e6ce84da3 Compress scripts/styles: 3.6-beta1-24138.
git-svn-id: http://core.svn.wordpress.org/trunk@24138 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-29 17:46:49 +00:00
Andrew Nacin
f90a6569c1 Delete minified file. Its parent was removed in [23681].
git-svn-id: http://core.svn.wordpress.org/trunk@24137 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-29 17:21:12 +00:00
Dominik Schilling
45ccae1092 Revisions UI update:
* Style status loading as a regular update message like on the other screens
 * Move compare two checkbox to diff header to avoid an overlap on long post titles
 * Restore color shades for the scope of changes visualisation 
 * Show tooltips while moving the slider handle
 * Diff header styling
 * Move color declarations to classic/fresh stylesheets
 * Sync admin color stylesheets

props jrbeilke for initial patch. see #23935.

git-svn-id: http://core.svn.wordpress.org/trunk@24119 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-28 10:56:57 +00:00
Dominik Schilling
45096e8f3b Optimize jQuery selector for checkbox synchronization. props SergeyBiryukov. see #24136.
git-svn-id: http://core.svn.wordpress.org/trunk@24116 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-27 12:19:45 +00:00
Helen Hou-Sandí
4885096f98 Better responsive CSS for post format switcher. Remove some JS debug cruft. props wonderboymusic. see #24046.
git-svn-id: http://core.svn.wordpress.org/trunk@24114 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-26 23:47:21 +00:00
Bot (Assets)
d69f7f5d15 Compress scripts/styles: 3.6-beta1-24100.
git-svn-id: http://core.svn.wordpress.org/trunk@24100 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-26 12:58:41 +00:00
Mark Jaquith
1b554db95a Post format UI refresh.
* Post format switcher does not go away after clicking
* Refresh of format switcher style
* Highlighting of active post format
* Prompt text goes under the switcher
* Better animations

see #24046. props wonderboymusic, johnjamesjacoby, aaroncampbell, PeteMall.

Also, because I forgot it on [24006]: props saracannon.

git-svn-id: http://core.svn.wordpress.org/trunk@24098 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-26 12:22:55 +00:00
Bot (Assets)
e20add7b49 Compress scripts/styles: 3.6-beta1-24095.
git-svn-id: http://core.svn.wordpress.org/trunk@24095 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-25 08:58:43 +00:00
Mark Jaquith
082e067a2d Screen option for Post Format UI.
props nacin. see #23930.

git-svn-id: http://core.svn.wordpress.org/trunk@24092 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-25 07:28:33 +00:00
Bot (Assets)
fd68455222 Compress scripts/styles: 3.6-beta1-24090.
git-svn-id: http://core.svn.wordpress.org/trunk@24090 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-25 06:58:41 +00:00
Mark Jaquith
601c0c2e52 Clean up gallery-mode toggling in post-formats.js and make sure it is set on first load.
see #24062

git-svn-id: http://core.svn.wordpress.org/trunk@24088 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-25 05:58:55 +00:00
Mark Jaquith
1f6d2f796a Force gallery state for gallery post format.
props lessbloat, wonderboymusic. fixes #24062.

git-svn-id: http://core.svn.wordpress.org/trunk@24087 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-25 05:43:14 +00:00
Bot (Assets)
8f3fc94073 Compress scripts/styles: 3.6-beta1-24086.
git-svn-id: http://core.svn.wordpress.org/trunk@24086 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-25 05:05:54 +00:00
Mark Jaquith
4dffefb166 Fix some issues related to status/aside editor height changing.
props wonderboymusic. fixes #23992.

git-svn-id: http://core.svn.wordpress.org/trunk@24084 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-25 04:06:06 +00:00
Mark Jaquith
5f08d11b11 Make the content area smaller for Aside/Status posts.
props wonderboymusic. fixes #23992.

git-svn-id: http://core.svn.wordpress.org/trunk@24077 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-25 02:07:05 +00:00
Bot (Assets)
172d904240 Compress scripts/styles: 3.6-beta1-24067.
git-svn-id: http://core.svn.wordpress.org/trunk@24067 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-22 22:58:34 +00:00
Mark Jaquith
0a49442e35 Multiple improvements to image post format insertion and display.
* get_tag_regex() altered based on Unit Tests.
* Changes to post-formats.js to provide size and link context during image selection.
* Captions are now output in the_post_format_image() when present.
* The meta value for url is respected for the image post format when the HTML in the image meta doesn't include a link

props wonderboymusic. fixes #23965, #23964. see #24147, #24046.

git-svn-id: http://core.svn.wordpress.org/trunk@24066 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-22 22:11:42 +00:00
Bot (Assets)
644b8c619d Compress scripts/styles: 3.6-beta1-24060.
git-svn-id: http://core.svn.wordpress.org/trunk@24061 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-22 20:58:40 +00:00
Andrew Nacin
848304e3c0 Wait until keyup to set the slug input on the post page, otherwise the final character is not stored. props SergeyBiryukov, fixes #23613.
git-svn-id: http://core.svn.wordpress.org/trunk@24059 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-22 20:52:43 +00:00
Andrew Nacin
d095eac796 Ensure that the resulting post time is localized after the date is changed. props SergeyBiryukov. fixes #24072.
git-svn-id: http://core.svn.wordpress.org/trunk@24046 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-22 19:04:02 +00:00