Commit Graph

1366 Commits

Author SHA1 Message Date
Daryl Koopersmith
15df489ecd Revisions: Reduce points where IDs are cast in JS. See #24425.
git-svn-id: https://develop.svn.wordpress.org/trunk@24605 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-09 07:55:50 +00:00
Daryl Koopersmith
5917fcb621 Revisions: Remove unused template. See #24425.
git-svn-id: https://develop.svn.wordpress.org/trunk@24604 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-09 07:34:54 +00:00
Daryl Koopersmith
45d2a20783 Revisions: A healthy dose of pinking shears. See #24425.
git-svn-id: https://develop.svn.wordpress.org/trunk@24603 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-09 07:33:15 +00:00
Daryl Koopersmith
8e85892a3f Revisions: Remove redundant tagNames. Props markjaquith, see #24425.
git-svn-id: https://develop.svn.wordpress.org/trunk@24602 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-09 07:14:23 +00:00
Daryl Koopersmith
9e5fb3311f Revisions: Use toggleClass instead of a conditional. See #24425.
git-svn-id: https://develop.svn.wordpress.org/trunk@24601 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-09 07:11:43 +00:00
Daryl Koopersmith
7f8538805b Revisions: Remove redundant method, see #24425.
git-svn-id: https://develop.svn.wordpress.org/trunk@24600 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-09 07:07:53 +00:00
bumpbot
f1bf096eab Compress scripts/styles: 3.6-beta4-24596.
git-svn-id: https://develop.svn.wordpress.org/trunk@24596 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-08 22:35:26 +00:00
Mark Jaquith
4c35743a1a Tick marks are back for revisions
* Simple tick marks
* Tooltips snap to tick marks
* Tooltips arrow reverses side for LTR/RTL
* Fix for routing issue where just the hash is changed in the URL bar relating to compare two mode

see #24425. props adamsilverstein, ocean90.

git-svn-id: https://develop.svn.wordpress.org/trunk@24595 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-08 21:37:03 +00:00
bumpbot
e16dca6fc9 Compress scripts/styles: 3.6-beta4-24592.
git-svn-id: https://develop.svn.wordpress.org/trunk@24592 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-08 18:58:16 +00:00
Dominik Schilling (ocean90)
fbeed0e364 Revisions improvements
* Enable smooth sliding in Compare two mode

props adamsilverstein. see #24425.

git-svn-id: https://develop.svn.wordpress.org/trunk@24579 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-06 20:22:02 +00:00
Dominik Schilling (ocean90)
814c36baea Revisions improvements
* Corrected routing behavior
* Simplified CSS for tooltips
* Compare two mode for RTL
* Support for posts without titles 

props adamsilverstein, ocean90. see #24425.

git-svn-id: https://develop.svn.wordpress.org/trunk@24578 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-06 10:48:14 +00:00
Mark Jaquith
1b4aa41b4c Gracefully slide down the "{Name} is editing" notice portion of the post row, so everything isn't shifting down in an instant and throwing off people's clicks.
fixes #24553. props kadamwhite, johnbillion.

git-svn-id: https://develop.svn.wordpress.org/trunk@24576 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-05 23:17:25 +00:00
Dominik Schilling (ocean90)
fcf1e26cff Revisions improvements
Revert mouse dragging code which was accidentally removed in [24565].

see #24425.

git-svn-id: https://develop.svn.wordpress.org/trunk@24575 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-05 22:54:17 +00:00
Mark Jaquith
e87e8f608a Revisions improvements
* Consolidated router code
* Corrected routing behavior
* Tooltip model
* Removed mouse dragging code

props adamsilverstein, ocean90. see #24425.

git-svn-id: https://develop.svn.wordpress.org/trunk@24565 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-05 17:44:47 +00:00
bumpbot
2fd98a828c Compress scripts/styles: 3.6-beta4-24560.
git-svn-id: https://develop.svn.wordpress.org/trunk@24561 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-05 15:42:57 +00:00
Mark Jaquith
d8781a4f32 Keep the theme update thickbox from being obscured by the toolbar.
props ParadisePorridge, SergeyBiryukov. fixes #23984.

git-svn-id: https://develop.svn.wordpress.org/trunk@24558 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-05 15:15:58 +00:00
Mark Jaquith
ffa73b8fc5 Debounce the Revisions UI URL updates as you scrub, for a massive speedup and a reduction in URL history detritus.
see #24425

git-svn-id: https://develop.svn.wordpress.org/trunk@24556 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-04 08:30:36 +00:00
Dominik Schilling (ocean90)
3690db14f7 Revisions UI update:
* Restore Compare two mode
* Restore tooltips
* RTL support
* First pass for URL routing and history

props adamsilverstein, see #24425.

git-svn-id: https://develop.svn.wordpress.org/trunk@24549 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-03 20:27:19 +00:00
bumpbot
5e24625852 Compress scripts/styles: 3.6-beta4-24534.
git-svn-id: https://develop.svn.wordpress.org/trunk@24534 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-01 16:11:01 +00:00
Andrew Ozz
1819e0f2c2 Nonce refresh:
- Update the heartbeat nonce when refreshing nonces on the Edit Post screen.
- After a user logs in from the auth-check dialog, speed up heatrbeat to check/refresh nonces on the Edit Post screen.
- Speeding up heartbeat: bring back the setting how long it should last (how many ticks).
- Add 'heartbeat-nonces-expired' jQuery event when nonces have expired and the user is logged in.
See #23295, see #23216.

git-svn-id: https://develop.svn.wordpress.org/trunk@24528 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-29 01:31:44 +00:00
bumpbot
d1d4859b11 Compress scripts/styles: 3.6-beta4-24523.
git-svn-id: https://develop.svn.wordpress.org/trunk@24523 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-27 18:25:01 +00:00
Mark Jaquith
ac0d0d1dee Cleanup of the revisions screen, both on the PHP API side, and the JS.
* Much simpler PHP API
* Cleaner and more Backbone-y JS API
* Consequently, does batch queries; this now scales up to hundreds of revisions

Currently missing, but much easier considering the cleaned up base:

* Compare two mode
* RTL

props koopersmith, nacin, adamsilverstein, ocean90. see #24425

git-svn-id: https://develop.svn.wordpress.org/trunk@24520 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-26 21:06:50 +00:00
bumpbot
4130788d81 Compress scripts/styles: 3.6-beta3-24416.
git-svn-id: https://develop.svn.wordpress.org/trunk@24416 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-06 14:58:54 +00:00
Mark Jaquith
31892c0226 Restore post format previewing.
props azaozz. fixes #24483

git-svn-id: https://develop.svn.wordpress.org/trunk@24414 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-06 14:39:08 +00:00
bumpbot
2a6b867ba1 Compress scripts/styles: 3.6-beta3-24407.
git-svn-id: https://develop.svn.wordpress.org/trunk@24407 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-05 00:59:01 +00:00
Andrew Ozz
22f855d84e Heartbeat: rename some vars/args to make them more intuitive, don't set user_id on every request, see #23216
git-svn-id: https://develop.svn.wordpress.org/trunk@24406 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-05 00:13:40 +00:00
Mark Jaquith
e0a0e46abd First pass at removing Post Format UI.
see #24452. fixes #24455.

git-svn-id: https://develop.svn.wordpress.org/trunk@24388 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-30 21:33:46 +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
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
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 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
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
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
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
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
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)
e1a2affe21 Revisions UI: Reduce the min width of a tick. props adamsilverstein. see #23901.
git-svn-id: https://develop.svn.wordpress.org/trunk@24254 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-14 17:35:26 +00:00
Dominik Schilling (ocean90)
19fd80736a Revisions JS: Fix inline docs. props a.hoereth. see #23901.
git-svn-id: https://develop.svn.wordpress.org/trunk@24253 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-14 17:30:18 +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
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
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
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
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
bumpbot
223966a366 Compress scripts/styles: 3.6-beta2-24176.
git-svn-id: https://develop.svn.wordpress.org/trunk@24176 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-04 22:58:57 +00:00
Dominik Schilling (ocean90)
40cf994e77 Revisions UI: Just another update - Now with improved tick marks and tooltips.
props adamsilverstein. see #23935.

git-svn-id: https://develop.svn.wordpress.org/trunk@24174 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-03 23:17:06 +00:00
bumpbot
a7157e4cf0 Compress scripts/styles: 3.6-beta2-24163.
git-svn-id: https://develop.svn.wordpress.org/trunk@24163 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-02 22:58:59 +00:00
Dominik Schilling (ocean90)
67d2cfeb89 Revisions UI: Add translation contexts and remove unneeded lines.
props nao. fixes #23917.

git-svn-id: https://develop.svn.wordpress.org/trunk@24157 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-02 10:12:19 +00:00
bumpbot
3d5f6d2929 Compress scripts/styles: 3.6-beta1-24142.
git-svn-id: https://develop.svn.wordpress.org/trunk@24142 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-29 20:48:11 +00:00
Sergey Biryukov
c90caa9593 Avoid a JS error when switching post format if Visual editor is disabled. fixes #24218.
git-svn-id: https://develop.svn.wordpress.org/trunk@24141 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-29 20:44:15 +00:00
bumpbot
f4c72e828e Compress scripts/styles: 3.6-beta1-24138.
git-svn-id: https://develop.svn.wordpress.org/trunk@24138 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-29 17:46:49 +00:00
Andrew Nacin
8c818a1d51 Delete minified file. Its parent was removed in [23681].
git-svn-id: https://develop.svn.wordpress.org/trunk@24137 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-29 17:21:12 +00:00
Dominik Schilling (ocean90)
800d88397a 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: https://develop.svn.wordpress.org/trunk@24119 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-28 10:56:57 +00:00
Dominik Schilling (ocean90)
47144d8c5d Optimize jQuery selector for checkbox synchronization. props SergeyBiryukov. see #24136.
git-svn-id: https://develop.svn.wordpress.org/trunk@24116 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-27 12:19:45 +00:00
Helen Hou-Sandi
64ed933919 Better responsive CSS for post format switcher. Remove some JS debug cruft. props wonderboymusic. see #24046.
git-svn-id: https://develop.svn.wordpress.org/trunk@24114 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-26 23:47:21 +00:00
bumpbot
b9c80d86ac Compress scripts/styles: 3.6-beta1-24100.
git-svn-id: https://develop.svn.wordpress.org/trunk@24100 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-26 12:58:41 +00:00
Mark Jaquith
438f4085f1 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: https://develop.svn.wordpress.org/trunk@24098 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-26 12:22:55 +00:00
bumpbot
7ef190d486 Compress scripts/styles: 3.6-beta1-24095.
git-svn-id: https://develop.svn.wordpress.org/trunk@24095 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-25 08:58:43 +00:00
Mark Jaquith
3bde819dbe Screen option for Post Format UI.
props nacin. see #23930.

git-svn-id: https://develop.svn.wordpress.org/trunk@24092 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-25 07:28:33 +00:00
bumpbot
629c86ddb2 Compress scripts/styles: 3.6-beta1-24090.
git-svn-id: https://develop.svn.wordpress.org/trunk@24090 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-25 06:58:41 +00:00
Mark Jaquith
77731b116b Clean up gallery-mode toggling in post-formats.js and make sure it is set on first load.
see #24062

git-svn-id: https://develop.svn.wordpress.org/trunk@24088 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-25 05:58:55 +00:00
Mark Jaquith
bab5ddd458 Force gallery state for gallery post format.
props lessbloat, wonderboymusic. fixes #24062.

git-svn-id: https://develop.svn.wordpress.org/trunk@24087 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-25 05:43:14 +00:00
bumpbot
89872e2a71 Compress scripts/styles: 3.6-beta1-24086.
git-svn-id: https://develop.svn.wordpress.org/trunk@24086 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-25 05:05:54 +00:00
Mark Jaquith
4071f758b3 Fix some issues related to status/aside editor height changing.
props wonderboymusic. fixes #23992.

git-svn-id: https://develop.svn.wordpress.org/trunk@24084 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-25 04:06:06 +00:00
Mark Jaquith
c10958235f Make the content area smaller for Aside/Status posts.
props wonderboymusic. fixes #23992.

git-svn-id: https://develop.svn.wordpress.org/trunk@24077 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-25 02:07:05 +00:00
bumpbot
6eb2bc047a Compress scripts/styles: 3.6-beta1-24067.
git-svn-id: https://develop.svn.wordpress.org/trunk@24067 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-22 22:58:34 +00:00
Mark Jaquith
065010983e 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: https://develop.svn.wordpress.org/trunk@24066 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-22 22:11:42 +00:00
bumpbot
9c59e3a187 Compress scripts/styles: 3.6-beta1-24060.
git-svn-id: https://develop.svn.wordpress.org/trunk@24061 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-22 20:58:40 +00:00
Andrew Nacin
ccfda3dcb1 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: https://develop.svn.wordpress.org/trunk@24059 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-22 20:52:43 +00:00
Andrew Nacin
3fc35855e9 Ensure that the resulting post time is localized after the date is changed. props SergeyBiryukov. fixes #24072.
git-svn-id: https://develop.svn.wordpress.org/trunk@24046 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-22 19:04:02 +00:00
bumpbot
06b0176541 Compress scripts/styles: 3.6-beta1-24044.
git-svn-id: https://develop.svn.wordpress.org/trunk@24044 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-22 04:58:37 +00:00
Andrew Ozz
008336ee9c Post locks:
- Show 'Saving revision...' while autosaving after a post has been taken over. Change to 'Your latest changes were saved as a revision.' when autosave completes.
- Make sure a user exists before using $user->display_name.
- Add 'post_lock_text' action for extending the message text.

git-svn-id: https://develop.svn.wordpress.org/trunk@24042 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-22 03:08:51 +00:00
bumpbot
db96892205 Compress scripts/styles: 3.6-beta1-24041.
git-svn-id: https://develop.svn.wordpress.org/trunk@24041 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-19 22:58:38 +00:00
Dominik Schilling (ocean90)
990c7c1b81 Revisions JS: Fix typo. props westi . fixes #24136.
git-svn-id: https://develop.svn.wordpress.org/trunk@24040 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-19 22:02:24 +00:00
Dominik Schilling (ocean90)
24901103a9 Post Formats: Change post screen icon on selection. props markjaquith. fixes #24140.
git-svn-id: https://develop.svn.wordpress.org/trunk@24039 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-19 22:00:10 +00:00
bumpbot
c1d8b36e6e Compress scripts/styles: 3.6-beta1-24023.
git-svn-id: https://develop.svn.wordpress.org/trunk@24023 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-17 22:58:38 +00:00
bumpbot
2a7889aafd Compress scripts/styles: 3.6-beta1-24021.
git-svn-id: https://develop.svn.wordpress.org/trunk@24022 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-17 20:58:42 +00:00
Mark Jaquith
177556309d Standardize post format postmeta keys around the ones already used by the Crowd Favorite plugin.
props wonderboymusic. fixes #24010.

git-svn-id: https://develop.svn.wordpress.org/trunk@24021 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-17 20:57:44 +00:00
Dominik Schilling (ocean90)
814a49b51b Revisions UI: Disable previous and next buttons when you're on the first, and last node. Put revision ticks above the slider range. props lessbloat for initial patch. see #23899.
git-svn-id: https://develop.svn.wordpress.org/trunk@24020 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-17 20:12:25 +00:00
Dominik Schilling (ocean90)
d8bf6c44b3 Revisions: Clean up JavaScript variable names, see #23901.
git-svn-id: https://develop.svn.wordpress.org/trunk@24019 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-17 19:34:21 +00:00
bumpbot
46eb88eec5 Compress scripts/styles: 3.6-beta1-24008.
git-svn-id: https://develop.svn.wordpress.org/trunk@24008 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-17 06:58:39 +00:00
Mark Jaquith
2a482cf617 A little cleanup of post-formats.js
git-svn-id: https://develop.svn.wordpress.org/trunk@24007 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-17 05:22:14 +00:00
Mark Jaquith
793f27f07e New Post Format UI chooser treatment in response to testing.
* Bigger icons
* Format description under each
* UI hides after choice
* Saving without choosing implies "Standard"
* Helpful text, with "Change format" link

see #24046. props lessbloat, wonderboymusic.

git-svn-id: https://develop.svn.wordpress.org/trunk@24006 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-17 04:08:46 +00:00
bumpbot
5863223d73 Compress scripts/styles: 3.6-beta1-23990.
git-svn-id: https://develop.svn.wordpress.org/trunk@23990 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-14 16:58:35 +00:00
Mark Jaquith
d87dd076d4 Constrain large videos from rendering bigger than $content_width on both frontend and backend.
props wonderboymusic. fixes #23955.

git-svn-id: https://develop.svn.wordpress.org/trunk@23989 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-14 16:43:26 +00:00
bumpbot
807bdbd44b Compress scripts/styles: 3.6-beta1-23983.
git-svn-id: https://develop.svn.wordpress.org/trunk@23983 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-13 00:58:37 +00:00
Andrew Ozz
7effedba90 Post locks: make sure we never overwrite a draft when it's locked, clean up wp_ajax_autosave() and make wp-refresh-post-lock a bit more robust, see #23697
git-svn-id: https://develop.svn.wordpress.org/trunk@23981 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-13 00:41:15 +00:00
bumpbot
0e4de5bb97 Compress scripts/styles: 3.6-beta1-23970.
git-svn-id: https://develop.svn.wordpress.org/trunk@23970 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-11 22:58:39 +00:00
Mark Jaquith
79c4e52ffa Enforce video dimensions.
props wonderboymusic. see #23831.

git-svn-id: https://develop.svn.wordpress.org/trunk@23969 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-11 22:34:05 +00:00
bumpbot
9e833974f6 Compress scripts/styles: 3.6-beta1-23917.
git-svn-id: https://develop.svn.wordpress.org/trunk@23917 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-05 00:58:45 +00:00
Sergey Biryukov
4200e2702f Use correct class. see #23933.
git-svn-id: https://develop.svn.wordpress.org/trunk@23915 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-05 00:20:19 +00:00
bumpbot
d658c85491 Compress scripts/styles: 3.6-beta1-23913.
git-svn-id: https://develop.svn.wordpress.org/trunk@23913 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-04 22:58:47 +00:00
bumpbot
17b8f04592 Compress scripts/styles: 3.6-beta1-23909.
git-svn-id: https://develop.svn.wordpress.org/trunk@23910 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-04 20:58:48 +00:00