Andrew Nacin
7194aa3b9c
IE RTL fixes for .screen-reader-text. props lessbloat. see #22467 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22721 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-20 18:26:32 +00:00
Andrew Nacin
16d68f6dba
RTL media-views fixes. props ocean90. fixes #22453 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22720 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-20 18:22:19 +00:00
Andrew Nacin
a5a14e4e7e
No-JS fixes.
...
* Hide QuickPress.
* Hide the gap between the title and content editor.
* Hide 'select all' checkboxes in list tables.
* Hide a non-functioning link in the custom fields metabox.
* Hide non-functioning buttons in the featured image box (same as in 3.4).
* RTL and miscellany.
props TobiasBg, lessbloat, ocean90. fixes #22456 .
git-svn-id: https://develop.svn.wordpress.org/trunk@22719 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-20 18:20:14 +00:00
Andrew Nacin
628778d7c1
Account for taxonomies tied to specific kinds of attachments when setting up post types for a taxonomy query.
...
props jondavidjohn. see #21290 .
git-svn-id: https://develop.svn.wordpress.org/trunk@22718 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-20 17:33:21 +00:00
bumpbot
2e6be2d063
Compress scripts/styles: 3.5-beta3-22717.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22717 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-20 14:58:32 +00:00
Daryl Koopersmith
1e83e0eaae
Media: Maintain event bindings in the main embed view. see #21390 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22716 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-20 14:44:23 +00:00
Daryl Koopersmith
fb3d44da9b
Media: Remove default gallery shortcode attributes when generating shortcode output. see #21390 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22715 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-20 14:38:20 +00:00
Daryl Koopersmith
f3199b6005
Media: Correctly fetch the default post ID when editing a gallery. see #21390 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22714 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-20 14:33:48 +00:00
Daryl Koopersmith
69f9e2a1bf
Media: Allow all galleries to be sortable. fixes #22488 , see #21390 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22713 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-20 14:04:59 +00:00
Daryl Koopersmith
76c67989a7
Media: Add filters to the media library. fixes #22514 , see #21390 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22712 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-20 13:49:35 +00:00
bumpbot
995c548174
Compress scripts/styles: 3.5-beta3-22711.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22711 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-20 12:58:29 +00:00
Daryl Koopersmith
30e1926f4b
Media: Refresh the attachment display settings when the active attachment finishes uploading. fixes #22452 , see #21390 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22710 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-20 11:57:08 +00:00
Daryl Koopersmith
e707481dcf
Media Uploader: Change an uploaded attachment's 'updating' key with the rest of the returned attributes to allow events bound to 'change:updating' to access the new properties. see #21390 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22709 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-20 11:52:08 +00:00
Daryl Koopersmith
3f362417c7
Media: Remove dead dropdown code from button view. see #21390 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22708 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-20 11:29:00 +00:00
Daryl Koopersmith
10d46dd112
Buttons: Remove unused button arrows and dropdowns. see #21598 , #21390 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22707 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-20 11:26:26 +00:00
Daryl Koopersmith
ce06a037dd
Media: Attachment checkboxes now function as such. fixes #22462 , see #21390 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22706 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-20 11:10:04 +00:00
bumpbot
21598abfd3
Compress scripts/styles: 3.5-beta3-22705.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22705 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-20 04:58:34 +00:00
Daryl Koopersmith
aae8a0bdd1
Buttons: Ensure correct disabled submit button state in iOS. props johnbillion, fixes #22490 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22704 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-20 03:20:17 +00:00
Daryl Koopersmith
4a696709f8
Media: Allow textareas to be vertically resized. see #21390 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22703 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-20 02:59:31 +00:00
Andrew Nacin
1f5e71fd3a
Add media_view_settings and media_view_strings hooks. fixes #21092 for 3.5. see #21390 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22702 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-20 02:58:33 +00:00
bumpbot
5881079072
Compress scripts/styles: 3.5-beta3-22701.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22701 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-20 02:58:28 +00:00
Daryl Koopersmith
bd9129fa9a
Media: Whoops. Remove error_log. see [22699], #21390 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22700 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-20 02:40:31 +00:00
Daryl Koopersmith
81bb685bc0
Media: Improve media buttons on the front end.
...
* Use a less specific selector (the body, actually) to delegate opening the media dialog.
* Allow the editor ID to be the empty string so the `media_buttons` action can be called without arguments.
see #22284 , #21390 .
git-svn-id: https://develop.svn.wordpress.org/trunk@22699 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-20 02:35:30 +00:00
Andrew Nacin
c753f3bd74
Fix HiDPI pointer arrows used in the feature pointers. props lessbloat. fixes #22510 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22698 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-20 02:09:37 +00:00
Andrew Nacin
82c724246a
Color Picker keyboard accessibility. So awesome. props lessbloat, mattwiebe. see #22475 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22697 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-20 02:02:07 +00:00
Andrew Nacin
092d919033
Welcome panel IE fixes. props SergeyBiryukov, see #19687 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22696 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-20 01:56:45 +00:00
Andrew Nacin
349b312b54
Custom Header: Remove Farbtastic-era "Reset Text Color" button. Show default color when JS is disabled. props DrewAPicture. fixes #22461 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22695 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-20 01:53:59 +00:00
Daryl Koopersmith
86b1e35bcf
Media: Prevent undefined errors when media scripts are enqueued outside of wp_enqueue_media(). fixes #22495 , see #21390 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22694 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-20 01:48:37 +00:00
bumpbot
8ff00bcf38
Compress scripts/styles: 3.5-beta3-22693.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22693 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-20 00:58:32 +00:00
Daryl Koopersmith
49ac6ba800
Media: Detect when views are added to the DOM and fire a ready event. see #21390 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22692 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-20 00:53:02 +00:00
bumpbot
aa2109949a
Compress scripts/styles: 3.5-beta3-22691.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22691 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-19 22:58:31 +00:00
Daryl Koopersmith
c14200e07b
Media: Add render tracking to views. see #21390 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22690 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-19 22:48:11 +00:00
Andrew Nacin
3f57bfeb9d
Use correct variable. see #17860 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22689 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-19 21:43:47 +00:00
Lance Willett
7aa32f4ed8
Twenty Twelve: add RTL overrides for IE7 and IE8, props DrewAPicture. Closes #22044 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22688 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-19 21:41:04 +00:00
Andrew Nacin
a164ab840b
As wp_dropdown_roles() only prints editable roles, ensure that the
...
"selected" role passed into it on the user-edit screen is editable.
props johnjamesjacoby. see #22361 .
git-svn-id: https://develop.svn.wordpress.org/trunk@22687 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-19 19:23:54 +00:00
Andrew Nacin
6a9c6e8543
Less insane multiple role handling in the users list table.
...
If the user has more than one role, opt to show the first role that is
'editable', if present. Otherwise, fall back to the remaining roles.
In the future, we should show a comma-separated list of all roles,
editable or otherwise, and this list should be filterable, either by user,
or by the roles which can appear. Probably both.
In multisite, only hide users that have no capabilities (in case they
possess a leftover, empty wp_xx_capabilities key from the MU days),
not users that have no role, as they may have a cap but no role.
see #22361 . fixes #17860 .
git-svn-id: https://develop.svn.wordpress.org/trunk@22686 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-19 19:16:31 +00:00
bumpbot
9d6e6d3e3f
Compress scripts/styles: 3.5-beta3-22685.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22685 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-19 12:58:31 +00:00
Daryl Koopersmith
15b3c31767
Media: Add silent options to the views; improve documentation. see #21390 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22684 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-19 12:11:16 +00:00
bumpbot
b311202274
Compress scripts/styles: 3.5-beta3-22683.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22683 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-19 10:58:31 +00:00
Daryl Koopersmith
aa6b7069e6
Media: Add a method to fetch the first subview. see #21390 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22682 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-19 10:41:24 +00:00
Daryl Koopersmith
17af1e2366
Media: Add documentation to media.Views. see #21390 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22681 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-19 10:40:49 +00:00
Andrew Nacin
1a979e637a
IE sanity for the welcome panel. props lessbloat, JustinSainton. fixes #19687 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22680 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-19 09:53:31 +00:00
Andrew Nacin
f5fb08658f
Remove errant return. props SergeyBiryukov. see #22186 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22679 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-19 09:48:34 +00:00
bumpbot
bf46cc71b5
Compress scripts/styles: 3.5-beta3-22678.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22678 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-19 08:58:31 +00:00
Andrew Nacin
870d1d05db
Revert [22675]. wp_mime_type_icon() is more accurate when given a post ID, rather than a mime type. The "speed" mostly comes down to the ordering of cache hits, rather than any performance issues like #22503 . see #21390 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22677 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-19 08:44:37 +00:00
Andrew Nacin
52cc02a9be
This should be a cache add, not a cache set. see #22503 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22676 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-19 08:39:52 +00:00
Andrew Nacin
68a3e80d4d
wp_mime_type_icon() is faster when given a mime type, rather than a post ID. see #21390 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22675 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-19 08:39:14 +00:00
Andrew Nacin
4cba7e30e0
Call wp_cache_set() with a group and then an expiration in wp_mime_type_icon(). fixes #22503 . see #22186 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22674 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-19 08:31:43 +00:00
Andrew Nacin
f4b9859903
Move code from image_attachment_fields_to_edit() to get_attachment_fields_to_edit(). The level of abstraction is unnecessary, and it makes it more difficult to call only the filter in the new media modal. Also, that function is sloooow. see #22186 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22673 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-19 08:10:38 +00:00
Daryl Koopersmith
ae2f322e25
Media: Insert each attachment into the editor individually.
...
This allows the `wpeditimage` plugin to correctly identify `caption` shortcodes.
fixes #22459 , see #21390 .
git-svn-id: https://develop.svn.wordpress.org/trunk@22672 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-19 07:30:53 +00:00