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
Sergey Biryukov
3095f5af6b
Use correct id attribute. props ocean90. fixes #23937 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23909 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-04 20:58:33 +00:00
Sergey Biryukov
244974e838
Fix typo in revisions JS/CSS. props mgibbs189, JustinSainton. fixes #23941 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23908 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-04 20:49:26 +00:00
bumpbot
21e5147be6
Compress scripts/styles: 3.6-alpha-23905.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23905 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-04 16:06:50 +00:00
Mark Jaquith
6bae3a6eda
A little more revisions js/php cleanup. see #23901 . props kovshenin, ocean90.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23904 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-04 16:03:21 +00:00
Mark Jaquith
25c799470e
Revisions CSS cleanup.
...
props ocean90. fixes #23933
git-svn-id: https://develop.svn.wordpress.org/trunk@23901 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-04 15:49:28 +00:00
bumpbot
12142ddb77
Compress scripts/styles: 3.6-alpha-23900.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23900 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-04 08:58:49 +00:00
Mark Jaquith
8351c2e87d
Further cleanup of revisions code. Probably not the last.
...
see #23901 . props adamsilverstein, azaozz, ocean90.
git-svn-id: https://develop.svn.wordpress.org/trunk@23898 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-04 07:53:49 +00:00
bumpbot
9ffb607ce2
Compress scripts/styles: 3.6-alpha-23875.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23875 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-29 20:58:38 +00:00
Mark Jaquith
f18cddb1e1
Make sure the first revision is seen as coming from emptiness, so it can be restored.
...
props adamsilverstein. fixes #23898 .
git-svn-id: https://develop.svn.wordpress.org/trunk@23872 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-29 20:50:09 +00:00
bumpbot
07b28e52f7
Compress scripts/styles: 3.6-alpha-23865.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23865 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-29 12:58:38 +00:00
Mark Jaquith
a7d3775328
Gallery is a no-UI post format.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23863 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-29 12:17:52 +00:00
bumpbot
7053d85f91
Compress scripts/styles: 3.6-alpha-23860.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23860 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-29 10:58:36 +00:00
Mark Jaquith
31858e2511
Simplify the accordion sibling-section-closing JS.
...
see #23890
git-svn-id: https://develop.svn.wordpress.org/trunk@23858 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-29 09:30:48 +00:00
bumpbot
38e8fd6923
Compress scripts/styles: 3.6-alpha-23857.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23857 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-29 08:58:41 +00:00
Mark Jaquith
9910c64764
Use jQuery.on() properly in accordion code. Some other cleanup.
...
see #23890 .
git-svn-id: https://develop.svn.wordpress.org/trunk@23856 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-29 08:28:58 +00:00
Mark Jaquith
677254275c
Remove duplicated code that was accidentally committed in [23417].
...
fixes #23889 . props DrewAPicture.
git-svn-id: https://develop.svn.wordpress.org/trunk@23855 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-29 07:50:40 +00:00
Mark Jaquith
6c42dea13f
Do not attempt a slide transition if the current and switched-to post
...
formats both have no UI. Do not slide if clicking on the current format.
see #19570
git-svn-id: https://develop.svn.wordpress.org/trunk@23854 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-29 07:46:24 +00:00
Mark Jaquith
cb6e2622e0
Use jQuery.on() properly. Add some slideUp()/slideDown() transitions to ease post format switches. see #19570
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23853 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-29 07:06:21 +00:00
bumpbot
50b9f427b5
Compress scripts/styles: 3.6-alpha-23852.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23852 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-29 06:58:40 +00:00
Mark Jaquith
37f14ced6b
Defer JS to document ready
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23851 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-29 06:42:54 +00:00
Mark Jaquith
b34d814578
Clean up mixed spaces/tabs in post-formats.js
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23850 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-29 06:33:55 +00:00
Mark Jaquith
fe4da10a48
Add compat code for 'image' post format.
...
see #19570 . props wonderboymusic.
git-svn-id: https://develop.svn.wordpress.org/trunk@23847 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-29 05:21:23 +00:00
bumpbot
fc753f9803
Compress scripts/styles: 3.6-alpha-23846.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23846 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-29 04:58:39 +00:00
Mark Jaquith
e7cde8715f
Post Format UI.
...
* Icons
* Selection
* Prompt text
* Special fields
* Styling
* Sparkles
This is going to need testing, polish, and love.
see #19570 . props melchoyce, helen, wonderboymusic, lessbloat, rachelbaker, aaroncampbell, DrewAPicture, ryelle.
git-svn-id: https://develop.svn.wordpress.org/trunk@23843 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-29 03:35:41 +00:00
bumpbot
9681287f64
Compress scripts/styles: 3.6-alpha-23833.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23833 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-28 02:58:39 +00:00
Mark Jaquith
240dc4b968
correct a revision/tooltip mismatch.
...
props adamsilverstein. see #23497
git-svn-id: https://develop.svn.wordpress.org/trunk@23831 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-28 01:51:12 +00:00
bumpbot
a60042072a
Compress scripts/styles: 3.6-alpha-23815.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23815 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-27 14:58:40 +00:00
Mark Jaquith
348f0f4fd5
*Very* rough runthough of revisions.js for JS style, variable names, etc.
...
Consider this the lawnmower that precedes Daryl's scissors.
see #23497
git-svn-id: https://develop.svn.wordpress.org/trunk@23813 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-27 12:59:41 +00:00
bumpbot
156cb9baab
Compress scripts/styles: 3.6-alpha-23812.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23812 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-27 12:58:43 +00:00
Mark Jaquith
51708e83c6
Move nav menus to a tabbed interface, so that users with a lot of locations can do bulk assignment.
...
props DrewAPicture, lessbloat. fixes #23770
git-svn-id: https://develop.svn.wordpress.org/trunk@23810 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-27 11:46:08 +00:00
bumpbot
ea8c0feefb
Compress scripts/styles: 3.6-alpha-23791.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23791 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-22 20:58:37 +00:00
Andrew Ozz
5c4cff0a29
Editor: fix switching Text to Visual and back if TinyMCE fails to initialise, fixes #23235
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23790 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-22 20:43:37 +00:00
bumpbot
90de4d1a69
Compress scripts/styles: 3.6-alpha-23770.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23770 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-21 16:58:38 +00:00
Peter Westwood
ae03f1a0b6
Revisions: UI Update.
...
* Refines the UI to make it clearer and easier to use
* Introduces weighted tickmarks
* Fixes comparison bugs.
See #23497 props adamsilverstein
git-svn-id: https://develop.svn.wordpress.org/trunk@23769 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-21 15:54:11 +00:00
bumpbot
23f9315857
Compress scripts/styles: 3.6-alpha-23764.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23764 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-21 02:58:40 +00:00
Andrew Ozz
9034f12b6b
Post locks: contain focus inside the dialog when tabbing, remove outline when focus is on the text, see #23697
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23763 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-21 00:57:27 +00:00
bumpbot
c6bda62923
Compress scripts/styles: 3.6-alpha-23762.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23762 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-20 06:13:30 +00:00
Sergey Biryukov
154af930ae
Use placeholders in menu strings instead of manual concatenation. fixes #14045 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23761 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-20 05:49:29 +00:00
Sergey Biryukov
d5b5f40afb
Fix object name. props GaryJ. see #14045 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23760 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-20 05:46:39 +00:00
bumpbot
6e92b305fa
Compress scripts/styles: 3.6-alpha-23754.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23754 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-19 18:58:40 +00:00
Helen Hou-Sandi
987251f582
Remove separate meta fields for image and gallery post formats. These are proving to be more confusing and labor-intensive from both a user and dev perspective than entering into the regular content editor. We will rely on good content parsing instead. See #19570 , #23347 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23753 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-19 17:18:07 +00:00
bumpbot
54dff9f493
Compress scripts/styles: 3.6-alpha-23734.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23734 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-16 20:58:37 +00:00
Andrew Ozz
66e4fa4d92
Post locks: when a dialog is shown move focus to the text, see #23697
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23733 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-16 20:46:37 +00:00
bumpbot
e4071c0d8b
Compress scripts/styles: 3.6-alpha-23731.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23731 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-16 06:58:41 +00:00
Andrew Ozz
e4b6b84d8e
Pass post format as a class to TinyMCE's body, props adamsilverstein, fixes #23198
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23730 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-16 05:57:54 +00:00
bumpbot
050124e6ce
Compress scripts/styles: 3.6-alpha-23728.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23728 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-16 04:58:37 +00:00
Mark Jaquith
19e1d8076d
Accessibility revamp for nav menus.
...
props lessbloat. fixes #14045
git-svn-id: https://develop.svn.wordpress.org/trunk@23727 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-16 04:47:19 +00:00
bumpbot
23427e8e51
Compress scripts/styles: 3.6-alpha-23726.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23726 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-15 22:58:35 +00:00
Andrew Ozz
9288856e55
Post locks: add Preview button when post is locked, fix the suggested places, see #23312
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23725 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-15 21:09:20 +00:00
bumpbot
117e132a94
Compress scripts/styles: 3.6-alpha-23708.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23708 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-15 14:58:36 +00:00
Mark Jaquith
6c5a64408a
Turn the Nav Menu meta boxes into an accordion. Less sprawling and overwhelming.
...
* Registration stays the same — they're meta boxes
* Call `do_accordion_sections()` instead of `do_meta_boxes()` and they render as an accordion
props DrewAPicture, lessbloat, jkudish. fixes #23450 . see #23449
git-svn-id: https://develop.svn.wordpress.org/trunk@23707 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-15 13:16:38 +00:00
bumpbot
5e439e799e
Compress scripts/styles: 3.6-alpha-23682.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23682 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-13 00:58:39 +00:00
Andrew Ozz
631980b5fa
Post locks on the posts list screen: new icons for the lock, props empireoflight, show avatar for the user currently editing, props dh-shredder, see #23312
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23681 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-13 00:28:07 +00:00
bumpbot
96f4a86553
Compress scripts/styles: 3.6-alpha-23662.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23662 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-12 04:58:35 +00:00
Andrew Ozz
92c30a26fb
Check post locks with heartbeat and display modal notifications when a post is locked or a user takes over editing, props dh-shredder, see #23697
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23661 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-12 03:22:30 +00:00
bumpbot
5d98f47677
Compress scripts/styles: 3.6-alpha-23646.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23646 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-07 22:58:48 +00:00
Andrew Nacin
d049a2b1ed
Remove message slide-down effect on the nav-menus.php page. props lessbloat, fixes #23714 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23640 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-07 17:03:15 +00:00
Peter Westwood
ae4522b5f1
Revisions: Updates to the new Revisions UI.
...
Various Updates including:
* i18n fixes
* Added tracking of what revision ID was restored
* async fetching of diffs so that slider works sooner even with many revisions
See #23497 props adamsilverstein, ethitter
git-svn-id: https://develop.svn.wordpress.org/trunk@23639 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-07 15:32:26 +00:00
bumpbot
cb9f18d20f
Compress scripts/styles: 3.6-alpha-23596.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23596 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-03 22:58:36 +00:00
Sergey Biryukov
d6139ccade
Remove unused function. fixes #23671 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23587 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-03 00:06:09 +00:00
Sergey Biryukov
22ec39f6e2
Fix checkbox synchronization on Edit Link screen. fixes #23670 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23586 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-02 23:58:34 +00:00
bumpbot
85550f9f94
Compress scripts/styles: 3.6-alpha-23542.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23542 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-28 22:58:40 +00:00
Andrew Nacin
bedf69f229
Imporove a selector targeting taxonomy meta boxes. props SergeyBiryukov. see #22975 .
...
Uses correct patch, reverting [23517].
git-svn-id: https://develop.svn.wordpress.org/trunk@23536 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-28 20:50:32 +00:00
bumpbot
60a88cf02c
Compress scripts/styles: 3.6-alpha-23530.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23530 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-28 19:07:34 +00:00
Andrew Nacin
57f7ae7af4
Stop using deprecated jQuery API (.browser and .live). Do manual UA sniffing where still necessary. Improve selector performance by using delegated events. props ocean90. see #22975 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23518 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-28 18:05:28 +00:00
Andrew Nacin
854f7138f9
Imporove a selector targeting taxonomy meta boxes. props SergeyBiryukoc. see #22975 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23517 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-28 18:03:18 +00:00
Peter Westwood
79d635459e
Revisions: Fix up some half renamed variables that break the view and display a mismash of split and combined views. See #23497 props adamsilverstein.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23509 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-28 16:48:33 +00:00
Peter Westwood
b1db3a3aa0
Revisions: Fix up some bugs I introduced while reviewing the mega revisions patch - when comparing two historical revisions only one half of the diff would load
...
See #23497 props adamsilverstein.
git-svn-id: https://develop.svn.wordpress.org/trunk@23508 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-28 16:10:45 +00:00
Peter Westwood
554627a0d5
Revisions: First pass an implementing a new UI/UX for reviewing the revisions of posts. See #23497 props adamsilverstein for the initial patch.
...
This implements a new revisions ui using Backbone and preserves all the old methods of "integration" so the change should be transparent to plugins using revisi
ons with CPTs.
This is the first pass and so there are a number of things still to be resolved, more details in the ticket. Feedback welcomed.
git-svn-id: https://develop.svn.wordpress.org/trunk@23506 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-28 15:14:34 +00:00
bumpbot
ffce5ab757
Compress scripts/styles: 3.6-alpha-23495.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23495 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-26 22:58:42 +00:00
Andrew Ozz
202941ad5b
Add edit-post.min.js for bumpbot's sake, see #23312
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23488 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-25 23:38:59 +00:00
Andrew Ozz
756c28bf5c
Post locks: use heartbeat to dynamically update locked posts on the Posts screen, first run, see #23312
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23487 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-25 23:17:10 +00:00
bumpbot
12a8779a74
Compress scripts/styles: 3.6-alpha-23486.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23486 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-25 22:58:42 +00:00
Andrew Ozz
c8586336d1
Post locks: don't check hidden checkboxes on bulk select/deselect, props dh-shredder, see #23312
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23485 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-25 21:24:19 +00:00
bumpbot
f18f7d7b2d
Compress scripts/styles: 3.6-alpha-23451.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23451 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-18 22:26:00 +00:00
Helen Hou-Sandi
5b3c058bd5
Edit screen UI for post formats: a first run for functionality.
...
* Adds a very basic tabbed interface for selecting a post format (requires JS).
* Extra fields, which are post meta, are shown/hidden based on the selected format.
* Introduce a helper function for retrieving formats-specific metadata: `get_post_format_meta()`.
* Image selection uses the media modal, although without filtering or from URL support at the moment.
props rachelbaker, wonderboymusic, aaroncampbell, helen. see #19570 .
git-svn-id: https://develop.svn.wordpress.org/trunk@23449 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-18 19:11:24 +00:00
bumpbot
745ed8b530
Compress scripts/styles: 3.6-alpha-23447.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23447 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-16 22:58:41 +00:00
Andrew Nacin
038439326d
Remove unused admin-categories and admin-custom-fields JavaScript files. props ocean90. fixes #23486 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23446 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-16 19:03:59 +00:00
Andrew Nacin
b17b5a64e3
Stop using jQuery.live(). props ocean90. see #22975 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23444 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-16 17:46:12 +00:00
Andrew Nacin
746187f768
Update the Iris color picker to version 1.0.3, which stops using the deprecated jQuery.browser property.
...
props mattwiebe.
fixes #23484 .
git-svn-id: https://develop.svn.wordpress.org/trunk@23443 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-16 17:44:41 +00:00
Mark Jaquith
c2945a394f
Improve the UX of the Nav Menus screen. Kill the tabs, and change to a
...
dropdown, unless you have zero or one menus (which is the most common),
in which case you jump right into editing your sole menu.
Do assignment to location using checkboxes in the main menu editing
section instead of the backwards menu => location assignment in a
random meta box.
More to come, but this gets us started.
props lessbloat, DrewAPicture, jkudish. see #23119
git-svn-id: https://develop.svn.wordpress.org/trunk@23441 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-16 04:53:59 +00:00
bumpbot
fe6bb0671d
Compress scripts/styles: 3.6-alpha-23435.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23435 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-15 22:58:45 +00:00
Mark Jaquith
bfd0b6fb37
Refactor the Customizer accordion so that it can be used in other locations.
...
fixes #23449 . props lessbloat, aaroncampbell
git-svn-id: https://develop.svn.wordpress.org/trunk@23417 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-14 22:58:04 +00:00
bumpbot
679339ffaa
Compress scripts/styles: 3.6-alpha-23400.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23400 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-08 22:58:42 +00:00
Mark Jaquith
6b335f1b6a
Allow Backround Image's "select a file" link to be activated by pressing return on the keyboard.
...
props adamsilverstein. fixes #22606
git-svn-id: https://develop.svn.wordpress.org/trunk@23399 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-08 18:51:19 +00:00
bumpbot
68360b40ab
Compress scripts/styles: 3.6-alpha-23386.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23386 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-04 14:38:03 +00:00
Helen Hou-Sandi
a38f0e16c5
Remove the long-broken and questionably useful [more]/[less] toggle for hierarchical taxonomies in Quick/Bulk Edit. Nobody seems to have noticed in the nearly 3 years it's been broken. fixes #23006
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23354 602fd350-edb4-49c9-b593-d223f7449a82
2013-01-28 22:36:15 +00:00
Sergey Biryukov
56f44ff466
Prevent an unintended visibility change from "Password protected" to "Public" when updating the post.
...
props thomasvanderbeek. fixes #23065 .
git-svn-id: https://develop.svn.wordpress.org/trunk@23338 602fd350-edb4-49c9-b593-d223f7449a82
2013-01-23 03:30:04 +00:00
Andrew Ozz
f8a254ec56
Autop: <samp> is not a block tag, props toscho, fixes #18807
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23327 602fd350-edb4-49c9-b593-d223f7449a82
2013-01-22 19:05:21 +00:00
Andrew Ozz
8cf528d255
Main editor: when setting or saving the height, look only at elements that have style="height:..." set. Reset a previously saved erroneous "ed_size" value (over 5000px) to the default height of 360px. Fixes #23042 for trunk.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23302 602fd350-edb4-49c9-b593-d223f7449a82
2013-01-16 19:10:38 +00:00
bumpbot
3ef497695d
Compress scripts/styles: 3.6-alpha-23279.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23279 602fd350-edb4-49c9-b593-d223f7449a82
2013-01-04 22:34:43 +00:00
Andrew Ozz
9de9019d41
Taxonomy postbox: fix toggling with "Choose from the most used tags" when several postboxes are shown, props SergeyBiryukov, fixes #23112 for trunk
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23278 602fd350-edb4-49c9-b593-d223f7449a82
2013-01-04 20:54:11 +00:00
bumpbot
40dad409f4
Compress scripts/styles: 3.5-RC3-23093.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23093 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-06 05:26:39 +00:00
Daryl Koopersmith
a4f2112fd3
Add a canonical location for media frames, an alias to fetch attachments, and frame caching to custom header. fixes #22775 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23092 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-06 05:06:49 +00:00
bumpbot
6b81fd778d
Compress scripts/styles: 3.5-RC3-23059.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23059 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-05 02:58:34 +00:00