Andrew Nacin
ad572d63a1
A calmer, less distracting style for the TinyMCE toolbar.
...
props helenyhou, lessbloat, trepmal, fadingdust.
fixes #18141 .
git-svn-id: http://core.svn.wordpress.org/trunk@22016 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-26 18:24:02 +00:00
Andrew Ozz
563c7caac5
Main editor: maintain the height when switching Visual to Text and back, save the height when resizing as user state, output the height in the textarea tag when loading, (thanks @nacin for the help), fixes #21718
...
git-svn-id: http://core.svn.wordpress.org/trunk@22007 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-26 03:30:21 +00:00
Bot (Assets)
a78e2c8d53
Compress scripts/styles: 3.5-alpha-21989.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21989 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-24 22:58:42 +00:00
Andrew Nacin
a0b9992a84
Avoid wrapping for individual .subsubsub view names, rather than the entire list of views, in case there are many. props deltafactory, fixes #21985 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-24 21:30:17 +00:00
Andrew Ozz
4655e6db0b
Fix bottom margin in postboxes, props SergeyBiryukov, fixes #21952
...
git-svn-id: http://core.svn.wordpress.org/trunk@21983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-24 21:11:45 +00:00
Andrew Ozz
1924ec4117
Add menu-vs-2x.png and 2x media-button.png, pngcrush all in wp-admin/images, props empireoflight, see #21019
...
git-svn-id: http://core.svn.wordpress.org/trunk@21980 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-24 19:44:42 +00:00
Andrew Nacin
53fcdeaf09
Remove extra bottom padding from meta boxes on the Menus screen. props SergeyBiryukov, fixes #21952 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21973 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-24 16:33:16 +00:00
Andrew Nacin
f45dcfa7bd
Use max-height rather than height for the hierarchical taxonomy admin metabox. props SergeyBiryukov, husobj. fixes #15925 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21971 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-24 16:27:17 +00:00
Bot (Assets)
ce507560c0
Compress scripts/styles: 3.5-alpha-21960.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21960 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-23 22:58:43 +00:00
Andrew Nacin
76bc5c7c21
Better alignment in the ustom fields metabox. props SergeyBiryukov, ocean90, fixes #21847 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21955 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-23 17:42:46 +00:00
Bot (Assets)
d4abbb5264
Compress scripts/styles: 3.5-alpha-21950.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21950 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-22 15:03:04 +00:00
Andrew Nacin
33af30eb7f
Use the regular post type UI for editing single media items (attachments).
...
* Attachments now go through post.php, edit_post(), the like, and have show_ui set to true.
* Taxonomies attached to the media library now appear in the admin menu (if show_ui).
* Editing, cropping, uploading, etc. is still very rough, but mostly functional.
API-wise:
* New function: get_taxonomies_for_attachments(). Like get_taxonomies(), for taxonomies specifically registered against attachments.
* Brings taxonomy support from the posts list table to the media list table. Expect them to converge soon.
* wp_insert_attachment() now handles taxonomies like wp_insert_post(). Also expect them to converge soon.
* New edit_form_after_title hook.
props helenyhou, ocean90. see #21391 .
git-svn-id: http://core.svn.wordpress.org/trunk@21948 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-21 22:52:54 +00:00
Andrew Nacin
c1b0670c2d
Updates and fixes to the new button styles. By default, buttons are now the same size as they were in 3.4. Then there is a smaller button (designed for minor elements) and a larger button (designed for things like Publish and Save Changes). Better focus styles. props lessbloat. see #21598 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21944 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-21 19:34:23 +00:00
Bot (Assets)
fabcc374fd
Compress scripts/styles: 3.5-alpha-21920.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21920 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-19 18:59:36 +00:00
Andrew Nacin
ef6148ba7e
Flexible widths for select boxes above list tables. For posts, that means bulk actions and date/category filters. Opens up more room (can prevent wrapping) and allows for longer localized strings. props SergeyBiryukov, fixes #21752 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21916 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-19 15:44:01 +00:00
Bot (Assets)
8892592379
Compress scripts/styles: 3.5-alpha-21895.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21895 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-18 18:59:37 +00:00
Andrew Nacin
cfdab676fa
Replace QuickPress labels with gray prompt texts. Stylish, but also done for localization purposes (string lengths). props ocean90. fixes #21754 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21894 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-18 18:45:44 +00:00
Bot (Assets)
4a8bb5e3f8
Compress scripts/styles: 3.5-alpha-21879. TinyMCE updated.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21879 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-17 00:59:40 +00:00
Andrew Nacin
290d479e79
Rename div#footer to div#wpfooter in the admin. Namespace one of our major elements and avoid clashing with widgets with the id of 'footer'. props andrewryno, koopersmith. see #14466 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21878 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-16 23:03:35 +00:00
Andrew Nacin
c3181600ea
Fix Press This bookmarklet focus and active styles. props SergeyBiryukov, fixes #21850 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21832 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-13 17:04:08 +00:00
Daryl Koopersmith
67894a3407
New button styles.
...
Using the new buttons:
* Button classes are now stackable.
* All buttons should use a base class of "button".
* Buttons default to the gray style (formerly "button-secondary"). Buttons can add a style by adding additional classes. To make a primary button, add the "button-primary" class.
* Buttons can be rendered in various sizes. In addition to the default size, you can add "button-large", "button-small", or "button-tiny".
For backwards compatibility reasons, "button-primary" and "button-secondary" both work as standalone classes.
get_submit_button() has been adjusted to handle shorthand button classes (i.e. button classes can be passed without the "button-" prefix).
props lessbloat, helenyhou, trepmal, nacin. see #21598 .
git-svn-id: http://core.svn.wordpress.org/trunk@21789 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-08 04:58:34 +00:00
Andrew Nacin
aa543734b8
Fix adding and updating from the Custom Fields meta box. Broken in [21205]. props SergeyBiryukov. see #21829 for trunk.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21781 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-07 15:49:20 +00:00
Daryl Koopersmith
12c21bf931
First pass at integrating featured images with the new media workflow.
...
Updates the featured image when the publish/update button is clicked (rather than instantly). Uses the existing post_thumbnail_meta_box() function. Does not remove the old featured image meta box JS, ajax handler, or CSS.
see #21776 , #21390 .
git-svn-id: http://core.svn.wordpress.org/trunk@21770 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-06 08:49:35 +00:00
Bot (Assets)
59d7efa87b
Compress scripts/styles: 3.5-alpha-21673.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21673 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-30 18:59:30 +00:00
Andrew Ozz
a2580a80d1
Fix min row height in .widefat, see #21324
...
git-svn-id: http://core.svn.wordpress.org/trunk@21671 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-30 18:47:22 +00:00
Bot (Assets)
e0835b5fc4
Compress scripts/styles: 3.5-alpha-21663.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21663 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-30 04:09:57 +00:00
Andrew Ozz
3980c183a1
More visible :focus style for form elements, props lessbloat, see #21324
...
git-svn-id: http://core.svn.wordpress.org/trunk@21641 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-28 05:48:58 +00:00
Andrew Ozz
b2e4e665be
Fix admin menu glitch with pending count bubbles, props SergeyBiryukov, fixes #20502
...
git-svn-id: http://core.svn.wordpress.org/trunk@21631 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-27 22:39:01 +00:00
Andrew Nacin
2710bcade1
Switch to .min for compressed JS and CSS files.
...
* This moves our "development" versions from .dev.js to .js (same for css).
* The compressed version then moves from .js to .min.js (same for css).
By switching to the standard .min convention, it sets expectations for developers,
and works nicely with existing tools such as ack.
fixes #21633 .
git-svn-id: http://core.svn.wordpress.org/trunk@21592 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-23 00:04:18 +00:00
Bot (Assets)
975b727abd
Compress scripts/styles: 3.5-alpha-21589.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21589 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-22 20:58:31 +00:00
Andrew Ozz
4fee15a9b4
Better styling of theme filter, props SergeyBiryukov, fixes #21637
...
git-svn-id: http://core.svn.wordpress.org/trunk@21588 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-22 19:16:31 +00:00
Bot (Assets)
245cb4acba
Compress scripts/styles: 3.5-alpha-21587.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21587 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-22 18:58:32 +00:00
Andrew Ozz
9f02c68a00
Don't hide the label for the Title on the Edit Post screen, use 'screen-reader-text' instead, props SergeyBiryukov, fixes #21458
...
git-svn-id: http://core.svn.wordpress.org/trunk@21584 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-22 17:40:17 +00:00
Bot (Assets)
4f587a0515
Compress scripts/styles: 3.5-alpha-21583.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21583 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-22 16:58:25 +00:00
Andrew Ozz
a9229369ce
Remove erroneous vertical-align: center values, props helenyhou, fixes #20586
...
git-svn-id: http://core.svn.wordpress.org/trunk@21582 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-22 15:23:10 +00:00
Bot (Assets)
4ce88d3d0f
Compress scripts/styles: 3.5-alpha-21580. TinyMCE updated.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21580 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-22 02:58:28 +00:00
Andrew Ozz
b35d8b150d
Remove text-shadow on hover from update and comments bubbles in the admin menu, props markjaquith, fixes #21449
...
git-svn-id: http://core.svn.wordpress.org/trunk@21578 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-22 02:25:28 +00:00
Bot (Assets)
9bd7b4811b
Compress scripts/styles: 3.5-alpha-21575.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21575 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-21 22:58:27 +00:00
Andrew Ozz
0b92d7c941
Improve the layout and accessibility of the admin menu: simplify the HTML structure, move the submenus off the viewport (still visible for screen readers) instead of hiding them with display: none, make it possible to unfold the menu on small/narrow screens, see #21349
...
git-svn-id: http://core.svn.wordpress.org/trunk@21574 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-21 22:46:30 +00:00
Bot (Assets)
4313374dad
Compress scripts/styles: 3.5-alpha-21548.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21548 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-19 18:58:22 +00:00
Mark Jaquith
9739261969
Fix the display of widgets in wp-admin when their descriptions wrap to two lines. props mattdanner. fixes #15180
...
git-svn-id: http://core.svn.wordpress.org/trunk@21547 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-19 18:16:52 +00:00
Bot (Assets)
95e5cafc63
Compress scripts/styles: 3.5-alpha-21535.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21535 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-16 16:58:26 +00:00
Andrew Ozz
5dcccb312f
Fix typo in [21529], props toscho. Simplify the :focus styles for the Screen Options and Help toggles, see #21324
...
git-svn-id: http://core.svn.wordpress.org/trunk@21534 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-16 15:45:31 +00:00
Bot (Assets)
b104249ef2
Compress scripts/styles: 3.5-alpha-21530.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21530 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-15 18:58:27 +00:00
Andrew Ozz
8bc0381f7f
Add :focus style to all links, use JS to blur() them on click so the style is only visible when tabbing, props lessbloat, see #21324
...
git-svn-id: http://core.svn.wordpress.org/trunk@21529 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-15 18:40:11 +00:00
Bot (Assets)
29621a23ad
Compress scripts/styles: 3.5-alpha-21514.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21514 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-14 20:58:23 +00:00
Andrew Ozz
96156ac36c
Stop Chrome from applying outline to DIVs that have tabindex="-1", see #21324
...
git-svn-id: http://core.svn.wordpress.org/trunk@21510 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-14 19:37:27 +00:00
Ryan Boren
77fdb14c2c
Fix display issues in the custom header screen when height is not specified. Use get_header_image() instead of header_image() so that esc_url() can do its job. Props JarretC, SergeyBiryukov, georgestephanis. fixes #21130 #21433
...
git-svn-id: http://core.svn.wordpress.org/trunk@21508 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-14 19:24:36 +00:00
Bot (Assets)
a84e9aebfd
Compress scripts/styles: 3.5-alpha-21505.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21505 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-14 18:58:20 +00:00
Ryan Boren
15dd7f70b0
Remove post type from post nonces. Fixes attachment deletion when EMPTY_TRASH_DAYS is 0. Props c3mdigital, kurtpayne, SergeyBiryukov. fixes #21194
...
git-svn-id: http://core.svn.wordpress.org/trunk@21504 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-14 18:39:15 +00:00