Andrew Nacin
aeef0e992a
Translate a string added in 3.7.1 but never translated previously.
...
props SergeyBiryukov.
fixes #27819 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28145 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-16 00:37:59 +00:00
Andrew Nacin
6ac55e5a83
Widgets: Remove create_function() from the customizer class.
...
props westonruter.
fixes #27805 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28143 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-16 00:10:09 +00:00
Andrew Ozz
48f7c5fce3
TinyMCE: fix icons in IE7, fixes #27829
...
git-svn-id: https://develop.svn.wordpress.org/trunk@28142 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-16 00:09:10 +00:00
Andrew Nacin
68776bd079
Theme Installer: Fixes for browsers without pushState.
...
props gcorne.
see #27055 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28141 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-16 00:03:57 +00:00
Dion Hulse
60f6968d80
Background Updates: Avoid a PHP warning during theme update checks when there are multiple theme directories registered. Fixes #27815
...
git-svn-id: https://develop.svn.wordpress.org/trunk@28137 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-15 10:56:56 +00:00
Andrew Nacin
42747be0b2
Fix entities on about page. see #27713 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@28136 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-15 09:21:55 +00:00
Andrew Nacin
0437f710a5
Allow the API to add text to auto update emails.
...
fixes #27812 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28134 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-15 08:51:23 +00:00
Andrew Nacin
62a005f254
Fix typo on about page.
...
props helen.
see #27713 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28133 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-15 08:25:10 +00:00
Andrew Nacin
fce82f9676
Final about page text.
...
props siobhan, kerikae, DH-Shredder, nacin.
see #27713 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28132 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-15 07:52:32 +00:00
Andrew Nacin
606bf33d10
About page design, first pass.
...
props melchoyce, ryelle.
see #27713 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28127 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-15 01:30:36 +00:00
Andrew Nacin
7ed14feff1
Theme Installer: Revert to proxying through PHP for WordPress.org API requests.
...
This is to ensure we have valid installation nonces, though we've run into this as a problem previously (see #27639 , #27581 , #27055 ).
A tad slower, but we gained speed in 3.9 by simplifying the request made to the API.
props ocean90.
fixes #27798 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28126 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-15 01:15:43 +00:00
Andrew Nacin
a8efcb993f
Customizer: Properly handle widget settings when activating a previewed theme.
...
props westonruter, ocean90, gcorne.
fixes #27767 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28124 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-14 22:45:40 +00:00
Andrew Nacin
b807ab4a34
Theme installer: Improve route handling and make ?theme= work.
...
props matveb.
fixes #27708 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28123 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-14 22:05:20 +00:00
Andrew Nacin
7960418895
Color scheme support for widget choosers.
...
props ocean90.
fixes #27793 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28122 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-14 20:21:14 +00:00
Andrew Ozz
cd356b6404
DFW:
...
- Add background color and remove the top border from the status bar (at the bottom).
- Fix spinner to always be next to the Save button.
- Remove width: auto; from .mce-fixed-width.
Fixes #27709
git-svn-id: https://develop.svn.wordpress.org/trunk@28116 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-14 08:14:01 +00:00
Andrew Nacin
32721b8347
Avoid stomping of bulk postdata inside the bulk_edit_posts() loop.
...
Reverts [27990] which did not fix it for authors and comment/ping status.
props dd32, DrewAPicture.
fixes #27792 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28113 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-14 07:47:10 +00:00
Andrew Ozz
bff230b422
Plupload: restore the settings in media_upload_form(), see #27763
...
git-svn-id: https://develop.svn.wordpress.org/trunk@28110 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-14 00:40:45 +00:00
Andrew Nacin
c43b8b063d
Fix feature pointer RTL placement.
...
props SergeyBiryukov, ocean90.
fixes #27778 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28107 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-13 23:59:01 +00:00
Andrew Nacin
e7524d0ba7
Theme install: Set a timeout and error message for API responses.
...
props ocean90.
fixes #27708 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28105 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-13 19:01:21 +00:00
Andrew Nacin
4c254d8a97
Themes screen: Fix RTL layout issue in Firefox.
...
props SergeyBiryukov.
fixes #27779 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28104 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-13 18:25:19 +00:00
Andrew Nacin
e22e40001d
Don't auto-resize Quick Draft textarea in IE < 9. Avoids IE8 crash.
...
props morganestes.
fixes #27761 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28103 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-13 18:24:25 +00:00
Andrew Nacin
a343c6020a
Custom header: Fix image ordering.
...
props ehg.
see #21785 . fixes #27791 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28102 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-13 18:21:27 +00:00
Andrew Nacin
ffba43a0d9
Fix feature pointer border when using a color scheme.
...
props ryelle.
see #27778 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28098 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-13 16:32:39 +00:00
Andrew Nacin
985727f256
RTL for login screen.
...
props yoavf.
fixes #27784 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28096 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-13 16:05:16 +00:00
Andrew Nacin
7a25da5240
The widgets pointer requires the edit_theme_options capability.
...
(It's hypothetically possible to have only switch_themes.)
see #27777 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28093 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-12 20:52:35 +00:00
Andrew Nacin
a9b0b8cd13
Translate another About string and use _e(). see #27713 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@28092 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-12 20:51:56 +00:00
Andrew Nacin
863116a5d2
Add a feature pointer for widgets in the customizer in 3.9. Remove older pointers from 3.3 and 3.4.
...
see #27777 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28090 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-12 20:47:12 +00:00
Andrew Nacin
a1d4430fe0
About page: Translate all Under the Hood strings.
...
see #27713 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28088 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-12 19:38:49 +00:00
Andrew Nacin
9defa138a4
Custom Headers: Allow for longer strings.
...
props ehg.
see #27755 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28086 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-12 18:39:46 +00:00
Andrew Nacin
6c0420348e
Update $_old_files for 3.9. see #27775 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@28085 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-12 18:26:25 +00:00
Drew Jaynes (DrewAPicture)
b5612f8b80
Priority fixes for various existing hook documentation.
...
Props kpdesign.
See #26869
git-svn-id: https://develop.svn.wordpress.org/trunk@28083 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-12 00:00:32 +00:00
Andrew Ozz
33e687ca57
Add the new modlas styling to the importer details Thickbox on Tools -> Import. Props ocean90, fixes #26952
...
git-svn-id: https://develop.svn.wordpress.org/trunk@28080 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-11 21:49:18 +00:00
Andrew Ozz
2bde9b5b56
Fix color of disabled buttons in non-default color schemes, props ryelle, fixes #27759
...
git-svn-id: https://develop.svn.wordpress.org/trunk@28079 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-11 21:34:14 +00:00
Andrew Nacin
2d9949bf91
Account for new cropping settings in the image editor.
...
props Otto42, SergeyBiryukov.
fixes #19393 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28072 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-11 03:09:35 +00:00
Andrew Ozz
d3b4c2359a
Fix typo in var definition in [28069], see #27750
...
git-svn-id: https://develop.svn.wordpress.org/trunk@28070 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-10 22:13:11 +00:00
Andrew Ozz
416b8e348f
Fix tabbing out of the title field on Media -> Edit Media screen, fixes #27750
...
git-svn-id: https://develop.svn.wordpress.org/trunk@28069 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-10 22:09:50 +00:00
Andrew Ozz
b253355d2c
Fix TinyMCE Views in IE8 and 7:
...
- Add fallback background images for dashicons.
- Fix hiding the clipboard while still allowing the contents to be selected.
- Work around lack of border-box in gallery styles.
(Includes precommit cleanup for theme.js)
Props gcorne, fixes 27546
git-svn-id: https://develop.svn.wordpress.org/trunk@28062 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-09 00:57:46 +00:00
Andrew Nacin
bef5bdc86a
3.9 about page text, rough cut.
...
props markjaquith, nacin.
see #27713 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28052 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-08 17:46:48 +00:00
Andrew Nacin
402bb6208b
Don't show featured images for image attachments. Remove abstractions for now.
...
fixes #27673 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28051 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-08 17:39:58 +00:00
Andrew Nacin
9fab4162f6
Theme installer keyboard fixes. Updates [28033] and [28036].
...
props matveb.
see #27521 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28049 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-08 16:23:26 +00:00
Dominik Schilling (ocean90)
b48bc8e7d3
Theme Installer: Prevent default events for "Upload Theme" and "Browse" buttons.
...
see #27055 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28047 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-08 12:34:10 +00:00
Andrew Ozz
0e44baa89e
Precommit cleanup for theme.js, editor.css amd wpdialogs/plugin.js, See #27055 , #26907 , #16284
...
git-svn-id: https://develop.svn.wordpress.org/trunk@28045 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-08 08:28:57 +00:00
Dominik Schilling (ocean90)
ff78684898
Widget Customizer: Fix widget filtering.
...
props westonruter.
fixes #27451 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28044 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-08 08:11:33 +00:00
Andrew Ozz
61d17c2163
DFW:
...
- Move the word count and "Just Write" to a fixed bar at the bottom.
- Fix responsive mode to 480px. Narrower screens will have a scroll bar.
- Hide the Help button on screens < 480px, move the Save button to the right, make it bigger to match the others, and other responsive mode fixes.
Fixes #26907 , see #27709
git-svn-id: https://develop.svn.wordpress.org/trunk@28043 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-08 07:48:55 +00:00
Drew Jaynes (DrewAPicture)
93b19f682e
Inline documentation for hooks in wp-admin/includes/class-wp-upgrader-skins.php.
...
Fixes #27711 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28040 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-08 06:25:56 +00:00
Andrew Nacin
24c0c60802
Theme Installer: Show 'Preview' button for installed themes.
...
props adamsilverstein.
see #27055 , see #27708 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28038 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-08 04:37:37 +00:00
Andrew Nacin
d5c3a966be
Theme Installer: Combine 'Layout' and 'Columns' filters so 'Features' can span two columns.
...
see #27055 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28037 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-08 04:30:01 +00:00
Andrew Nacin
62b57b3b1f
Theme Installer: Left/right arrow keys in the overlay.
...
props adamsilverstein.
see #27521 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28036 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-08 04:12:44 +00:00
nacin
1478afb236
Theme Installer: Use 'browse' instead of 'sort' for routes.
...
see #27055 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28035 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-08 04:12:02 +00:00
Andrew Nacin
0cff2558aa
Widget Customizer: Fix incorrect replacement in [27995].
...
props westonruter.
fixes #27690 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28034 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-08 04:02:07 +00:00
Andrew Nacin
b47c6d0746
Theme Installer: Disable prev/next buttons on first/last themes, add Esc handling, use IDs.
...
props adamsilverstein, DH-Shredder.
fixes #27521 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28033 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-08 03:57:01 +00:00
Andrew Nacin
9875f51f1f
Header Images: Add suggested dimensions to the media workflow.
...
This updates [28030] to the latest patch.
props gcorne.
see #21785 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28031 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-08 01:56:42 +00:00
Andrew Nacin
d29a5cee5f
Header Images: Add suggested dimensions to the media workflow.
...
props ehg, gcorne.
see #21785 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28030 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-08 01:54:44 +00:00
Andrew Nacin
1fa68e490b
Expose toolbar keyboard shortcut in Help documentation for TinyMCE.
...
props joedolson, jorbin.
fixes #27024 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28029 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-08 01:38:42 +00:00
Andrew Nacin
bcc41afd37
Theme Installer: Handle currently installed themes, add search route, let prev/next refresh collections.
...
props matveb.
see #27055 . fixes #27695 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28025 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 23:03:05 +00:00
Dominik Schilling (ocean90)
c80074d551
Widget Customizer: Update icons to new Dashicons, part 2.
...
props Michael Arestad.
fixes #27400 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28013 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 21:36:52 +00:00
Dominik Schilling (ocean90)
6b007e8345
Widget Customizer: Update icons to new Dashicons.
...
props melchoyce.
see #27400 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28005 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 20:49:40 +00:00
Drew Jaynes (DrewAPicture)
4d4921a9ac
Use the correct parameter variables in the hook docs for wp_upgrade
.
...
See #27700 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27998 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 20:13:00 +00:00
Drew Jaynes (DrewAPicture)
3b7d881f3c
Align parameters in the hook docs for the attachment_thumbnail_args
filter.
...
See #27700 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27997 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 20:10:01 +00:00
Drew Jaynes (DrewAPicture)
95294a170e
Add missing parameter descriptions to the PHPDocs for WP_Upgrader_Skin::decrement_update_count()
and Bulk_Upgrader_Skin::decrement_update_count()
.
...
See #27700 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27996 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 20:01:35 +00:00
Dominik Schilling (ocean90)
6e3b6066e5
Widget Customizer: Cleanup wp.customize.Widgets.SidebarControl
.
...
see #27690 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27995 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 19:59:49 +00:00
Andrew Nacin
06152cbe6f
Avoid stomping of bulk postdata inside the bulk_edit_posts() loop.
...
props kovshenin.
see [27964], see #27452 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27990 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 17:58:37 +00:00
Dominik Schilling (ocean90)
ce4961c9f7
Widget Customizer: Cleanup wp.customize.Widgets.WidgetControl
.
...
see #27690 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27988 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 16:31:52 +00:00
Dominik Schilling (ocean90)
18d485fb32
Widget Customizer: Make the available widgets panel a Backbone view.
...
see #27690 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27986 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 14:09:53 +00:00
Dominik Schilling (ocean90)
da677f34aa
Widget Customizer: Move WidgetCustomizer
to wp.customize.Widgets
. First pass.
...
see #27690 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27985 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 09:03:18 +00:00
Andrew Nacin
3fbe1ba7b7
Apply checks in [27964] to wp_write_post(), which is unused and due for dismantling and deprecation.
...
see #27452 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27975 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-06 22:07:02 +00:00
Dominik Schilling (ocean90)
2f0a34dbb8
Header images: Improve accessibility of Randomize buttons.
...
props ehg.
see #27598 , #21785 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27970 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-06 19:27:40 +00:00
Dominik Schilling (ocean90)
ab8f7f7afd
Widgets: Trigger jQuery events for widget updates.
...
* `widget-added` when a widget is added to a sidebar
* `widget-updated` when a widget is updated
A jQuery object of the widget is passed along to the event handler. Same events are used in the Widget Customizer, see [27909].
fixes #19675 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27969 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-06 19:05:03 +00:00
Drew Jaynes (DrewAPicture)
789305948e
Inline documentation for remaining hooks in wp-admin/includes/upgrade.php.
...
Props jackreichert, vancoder.
Fixes #27646 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27965 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-05 22:29:41 +00:00
Andrew Nacin
14d96748c7
Better checks for contributors when saving posts.
...
props dd32, kovshenin, plocha.
see #27452 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27964 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-05 21:18:44 +00:00
Andrew Nacin
12f66b9859
Theme Installer: Separate API from an event handler to avoid issues where a false return value stops the event.
...
see #27055 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27963 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-05 20:45:37 +00:00
Andrew Nacin
e40de50197
Theme Installer: Don't encode description entities/HTML.
...
props johnbillion.
fixes #27641 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27962 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-05 20:29:44 +00:00
Andrew Nacin
ba9e3d2bc3
Theme Installer: Use JSONP for api.wordpress.org requests.
...
fixes #27639 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27961 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-05 20:27:56 +00:00
Andrew Nacin
5863d7874d
Theme Installer: Better responsive styles for feature filters.
...
props matveb.
fixes #27661 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27959 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-05 20:03:41 +00:00
Andrew Nacin
c4d09e4736
Theme Installer: Fix displaying of errors.
...
props SergeyBiryukov.
fixes #27640 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27958 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-05 19:25:20 +00:00
Andrew Nacin
84c4332b3e
RTL: Fix taxonomy quick edit list alignment.
...
props SergeyBiryukov.
fixes #27629 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27956 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-05 18:13:11 +00:00
Dominik Schilling (ocean90)
8c28ef2b7c
Fix typo in hook description for async_upload_{$type}
.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27955 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-05 14:11:38 +00:00
Dominik Schilling (ocean90)
fc34a6e63e
Customizer: Add height: auto;
for select[multiple]
.
...
fixes #27662 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27954 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-05 13:11:39 +00:00
Andrew Ozz
30cdc10180
When autosaving a new post for the first time after a title was typed, cancel the autosave if the user is submitting the form. (Includes a precommit fix for customize-controls.css.) Props Nessworthy, davidmarichal, fixes #27657
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27951 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-05 01:28:35 +00:00
Andrew Nacin
6ec7a5a52b
Header images: Accessibility and style improvements. Headers no longer jump around when chosen.
...
props mcsf, ehg.
see #21785 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27947 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-04 15:48:34 +00:00
Andrew Nacin
96e15acb2e
Header images: Handle cropping failures.
...
props ehg.
see #21785 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27946 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-04 15:47:43 +00:00
Andrew Ozz
48269a7c29
TinyMCE: add image backgrounds for more and nextpage tags (also jshint fix for theme.js). Fixes #27106
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27944 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-04 05:22:47 +00:00
Andrew Ozz
ec18e88dee
TinyMCE: better calculation for editor height when switching Text to Visual and back. Add stopping of editor resizing when the mouse leaves the browser window. See #27279
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27941 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-04 01:30:11 +00:00
Andrew Nacin
e8ad1fbf6c
Theme Installer: Center spinner, remove plural string.
...
fixes #27581 . see #27055 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27940 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-04 00:45:13 +00:00
Sergey Biryukov
96563b4143
Clarify tooltips on Edit Image screen.
...
props siobhan.
fixes #27651 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27939 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-04 00:02:22 +00:00
Sergey Biryukov
a97e9018c4
Fix typo in verify_file_md5() description. see [25541].
...
props siobhan.
see #27651 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27938 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-04 00:02:12 +00:00
Andrew Nacin
b29ccb5656
Theme Installer: Fix sorting, counts, keyboard navigation; add prev/next to previews.
...
props matveb.
see #27055 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27937 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-03 23:52:45 +00:00
Andrew Nacin
e73e290712
Themes: Hide 'Add New' with no JS. see #27055 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27936 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-03 23:05:01 +00:00
Dominik Schilling (ocean90)
d817c574a3
Fix styling for plugin update details Thickbox.
...
see #26952 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27932 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-03 14:07:42 +00:00
Sergey Biryukov
ed139644be
Use multiplication sign instead of a colon for selection size when editing an image.
...
props siobhan.
fixes #27652 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27931 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-03 09:45:44 +00:00
Andrew Ozz
26391af850
Edit Image modal:
...
- Fix issue with adding a link to an image that didn't have one previously.
- Adjust the look-and-feel of the advance options toggle so that it becomes a section heading that can be open/closed.
- Add a Custom Size option to the size drop-down that reveals fields for soft-resizing the image inserted into the post.
Props gcorne, and props sdasse for the design help, see #27366
git-svn-id: https://develop.svn.wordpress.org/trunk@27918 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-03 03:20:40 +00:00
Andrew Nacin
66f20812b9
Remove old links_recently_updated_* DB options that never had a UI.
...
fixes #27649 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27916 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-03 03:09:59 +00:00
Dominik Schilling (ocean90)
63a83c88f8
Widget Customizer: Restore deferral of previewer-loading
class removal until preview is synced.
...
props westonruter.
fixes #27635 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27913 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-02 19:24:18 +00:00
Dominik Schilling (ocean90)
41c2ce306a
Widget Customizer: Don't use opacity for the update spinner.
...
`opacity` isn't supported in IE8 and makes the spinner always visible.
see #27485 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27912 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-02 19:19:53 +00:00
Dominik Schilling (ocean90)
9f3976baf2
Widget Customizer: Improve support for dynamically-created inputs.
...
* Re-work how and when widget forms get updated.
* Replace ad hoc hooks system with jQuery events,
* Add `widget-updated`/`widget-synced` events for widget soft/hard updates.
* Enter into a non-live form update mode, where the Apply button is restored when a sanitized form does not have the same fields as currently in the form, and so the fields cannot be easily updated to their sanitized values without doing a complete form replacement. Also restores live update mode if sanitized fields are aligned with the existing fields again.
Note: jQuery events are *not* final yet, see #19675 .
props westonruter.
see #27491 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27909 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-02 18:20:00 +00:00
Dominik Schilling (ocean90)
b5780fa7b8
Widget Customizer: Improve plugin compatibility.
...
Some plugins are using custom scripts and styles for there widgets. These are available on the Widgets screens, but not in the Customizer yet.
Scripts and styles can be enqueued via:
* `admin_enqueue_scripts`
* `admin_print_scripts` and `admin_print_scripts-widgets.php`
* `admin_print_styles` and `admin_print_styles-widgets.php`
* `admin_print_footer_scripts` and `admin_footer-widgets.php`
All this hooks are now called in the Customizer too.
Previously we have add the `#widgets-right` ID to a container div via jQuery. Remember: `#widgets-right` exists on the Widgets screen and is used by many plugins to do event delegation from that element.
But since our script files are loaded in the footer, the JavaScript way is a bit late for some plugins.
We have decided to add a `div#widgets-right` container element to customizer. "Less hacky hack."
props westonruter, ocean90. Thanks dpe415 for testing.
fixes #27619 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27907 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-02 17:03:14 +00:00
Dion Hulse
48025fabd5
Background Updates: Record Plugin & Theme update statistics like we for for Core updates, Pass Plugin/Theme update objects into the Background updater for consistency with Core & Translations. See #27633
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27905 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-02 13:04:30 +00:00
Andrew Ozz
7b272d3a26
Drag and drop files on the editor to upload: add new argument to wp_editor() to enable, fixes #27465
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27901 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-02 02:41:24 +00:00
Andrew Ozz
5977c4332e
TinyMCE: update to 4.0.21, see #24067
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27897 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-01 22:46:00 +00:00
Andrew Nacin
5b4287b991
Theme Installer fixes:
...
* Better more filters section. props sonjanyc for some mockups.
* Better handling of no results.
* Use # for hrefs.
props matveb.
see #27055 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27896 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-01 22:19:51 +00:00
Dominik Schilling (ocean90)
3046451bf7
Cleanup [27892].
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27893 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-01 15:29:34 +00:00
Dominik Schilling (ocean90)
11f6751d51
Widget Customizer: Use postMessage to highlight widgets in preview or sections/controls in Customizer.
...
fixes #27622 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27892 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-01 15:25:56 +00:00
Dominik Schilling (ocean90)
bb7c7e06c0
Widget Customizer: Remove WidgetCustomizer.showFirstSidebarIfRequested().
...
It's currently unused and needs another iteration.
see #27290 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27891 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-01 12:37:43 +00:00
Dominik Schilling (ocean90)
ab5b649243
Revert [27654] for strings.
...
props westonruter.
fixes #27485 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27890 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-01 11:07:59 +00:00
Drew Jaynes (DrewAPicture)
33acf29a46
Clarify PHPDoc return description for media_handle_upload()
.
...
Props jdgrimes.
Fixes #27519 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27880 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-31 22:32:47 +00:00
Scott Taylor
d8d26a4f79
Cleanup up the display, escaping, and handling of ID3 data for media. Rename wp_get_relevant_id3_keys()
to wp_get_attachment_id3_keys()
.
...
Props nacin.
See #27574 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27869 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-31 05:15:39 +00:00
Andrew Nacin
70beef6c31
Use correct formatting function. see [27864], see #27574 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27866 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-30 22:11:58 +00:00
Andrew Nacin
877ffc087f
Cleanups for audio/video metadata, see [27862].
...
see #27574 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27864 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-30 21:07:04 +00:00
Scott Taylor
2846655164
In wp_generate_attachment_metadata()
, when an audio or video files contains upload-able image bits in its ID3 tags, only upload it if the image has not already been uploaded. Determine this by checking for a _cover_hash
value in post meta that matches the md5
representation of the bits.
...
This prevents uploading an album of 10 songs and subsequently uploading 10 copies of the same album cover.
Props GregLone for the new filter/filter docs: `'attachment_thumbnail_args'`.
Fixes #27573 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27863 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-30 20:53:21 +00:00
Scott Taylor
149f36ed35
Metadata for audio and video files:
...
* Make attachment metadata for audio files editable by providing a metabox on the Edit Media page
* Standardize on using the attachment title everywhere
* Label the Caption and Description fields for audio and video appropriately
* Make the playlist Underscore templates more straightforward
See #27574 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27862 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-30 19:27:31 +00:00
Andrew Ozz
d6e6560980
Editor:
...
- Use standard button styles for the Quicktags buttons.
- Better style for the TinyMCE buttons (hover/focus/active/disabled).
- Move the fullscreen (DFW) button to the right.
- Better style for the Visual/Text buttons in DFW.
Props avryl, see #27279
git-svn-id: https://develop.svn.wordpress.org/trunk@27857 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-29 23:57:13 +00:00
Dominik Schilling (ocean90)
d9a2370aab
Customizer: Style "Cheatin’ uh?" message like wp_die().
...
props jackreichert.
fixes #27490
git-svn-id: https://develop.svn.wordpress.org/trunk@27856 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-29 23:18:54 +00:00
Dominik Schilling (ocean90)
64f5807b32
Adjust colors in wp_die() and install.css.
...
Missed in [26788] and [26837], see #25858 .
fixes #27589 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27855 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-29 23:05:12 +00:00
Helen Hou-Sandi
edee5feaab
Restore some CSS rules that are necessary for non-default schemes. see #18380 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27852 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-29 17:47:08 +00:00
Andrew Nacin
5f98beb862
Custom Headers: Simplify and consolidate the querying of custom headers for the customizer.
...
props mcsf.
see #21785 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27849 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-29 10:52:17 +00:00
Andrew Nacin
3b11bb9e36
Theme Installer: Avoid race condition during pagination.
...
props matveb.
see #27055 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27845 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-29 09:08:16 +00:00
Andrew Nacin
aff33c3bca
Theme Installer: Remove unused variables and undesired commas.
...
see #27055 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27843 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-29 08:52:30 +00:00
Andrew Nacin
1c3f9e542b
Restyle the image editor so it looks way less hideous.
...
props avryl.
see #27544 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27842 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-29 08:50:57 +00:00
Andrew Nacin
18c8198487
Add a value to the password checkbox when creating a new user so the toggle is remembered.
...
props chriseverson, SergeyBiryukov.
fixes #27006 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27838 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-29 06:22:46 +00:00
Andrew Nacin
d167615ebf
Restore the original z-index of the sticky admin menu, as first set in [26442].
...
The inline comment is now correct again. This z-index was changed in [26701], but those circumstances no longer apply after [27532].
props mordauk.
see #26442 , #26952 .
fixes #26567 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27833 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-29 03:29:43 +00:00
Helen Hou-Sandi
5a41c8a06c
Correct cascade issues and remove some unused CSS for the admin menu. see #18380 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27832 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-29 02:46:04 +00:00
Andrew Nacin
363c2b4810
Theme Installer: Caching and paginating of API requests.
...
props matveb.
see #27055 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27830 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-28 21:48:52 +00:00
Dominik Schilling (ocean90)
12ba5b0ff9
Widget Customizer: Remove some specific styles for Widget Visibility from Jetpack.
...
This hasn't worked well and is now fixed upstream.
props westonruter.
see #27112 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27824 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-28 20:43:29 +00:00
Drew Jaynes (DrewAPicture)
a2d810d024
The sidebar_admin_setup
hook should only be documented once in wp-admin/widgets.php. All others are duplicates.
...
See #25374 , #25501 , #27531 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27823 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-28 19:46:26 +00:00
Andrew Nacin
5857c18dd8
Install: Allow an installation to go through with a custom user table with the username 'admin'.
...
This could be better, but this solves the regression caused by [25115].
fixes #27093 , see #24078 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27822 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-28 18:59:52 +00:00
Dominik Schilling (ocean90)
814b798b0d
Widget Customizer: Simplify nonces.
...
see #27534 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27819 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-28 15:34:17 +00:00
Dominik Schilling (ocean90)
2d4b606e14
Widget Customizer: Convert static WP_Customize_Widgets class into instantiated class and merge Options_Transaction into WP_Customize_Widgets.
...
see #27504 .
props westonruter.
git-svn-id: https://develop.svn.wordpress.org/trunk@27816 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-28 14:06:10 +00:00
Dominik Schilling (ocean90)
cc102fe0ff
Widget Customizer: Set hightlight color to blue. Same color as in [27741].
...
fixes #27358 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27814 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-28 13:32:53 +00:00
Andrew Ozz
e50f30640e
Make DFW usable on touch devices: change the toolbar to two rows and keep it and borders visible. See #26907
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27806 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-28 04:39:04 +00:00
Helen Hou-Sandi
90d45acbf7
Bring keyboard accessibility to the theme install screen and theme action buttons. props jorbin. see #27521 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27804 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-28 03:15:30 +00:00
Andrew Nacin
98ac075d8b
Always decode special characters for email subjects.
...
props tlovett1, jeremyfelt.
fixes #25346 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27801 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-28 02:43:04 +00:00
Dominik Schilling (ocean90)
4d57b96fb2
Widget Customizer: Improve behavior of bigger widgets.
...
* Support widgets which are higher than browsers viewport.
* Use widgets width as max-width.
* Don't animate the width of wide widgets to make them visible, instead fade them in/out.
* Fix Chrome flickerings while updating wide widgets.
props adamsilverstein, westonruter, ocean90.
see #27348 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27798 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-27 23:12:25 +00:00
Dominik Schilling (ocean90)
615e820420
Add some missing CSS prefixes. props grunt autoprefixer:core
.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27790 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-27 19:16:35 +00:00
Andrew Nacin
0098d5ab65
Color scheme support for the new theme installer UI.
...
props ryelle.
fixes #27522 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27784 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-27 17:55:34 +00:00
Andrew Nacin
ccf21196cb
Remove unused JS variables after [27770]. see #27013 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27783 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-27 17:31:00 +00:00
Andrew Nacin
ab787f2f57
Proper IDs for the custom fields box.
...
props SergeyBiryukov.
fixes #14376 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27776 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-27 06:55:51 +00:00
nacin
06603dc6cc
Fix flyout menus on most mobile devices.
...
props ocean90.
fixes #26482 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27775 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-27 06:29:03 +00:00
Andrew Nacin
bc0bb40e5b
Comments: Update border color and help text.
...
props bcworkz.
fixes #26967 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27774 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-27 05:07:04 +00:00
Helen Hou-Sandi
a4588b42a0
Make sure inputs in Press This have a type so they are styled appropriately. see #18380 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27772 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-27 02:38:48 +00:00
Andrew Ozz
1c0d6827f5
Remove containment of scrolling inside the editor for now. See #27013
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27770 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-27 02:34:25 +00:00
Andrew Nacin
50d900aa5f
Fix docs for hooks in deactivate_plugins() and activate_plugin(). see #27189 , #27188 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27769 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-27 02:01:29 +00:00
Helen Hou-Sandi
efec2a916c
Better, more consistent styling for plugin details Thickbox and TinyMCE help.
...
props avryl. fixes #26952 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27765 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-27 00:07:05 +00:00
Scott Taylor
3acb8fcdf6
The bulk editor and post format meta box should use the same checks for available post formats.
...
Props eightface.
Fixes #27187 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27762 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-27 00:05:14 +00:00
Andrew Nacin
28663b08e8
Remove select and input from wpautop()'s HTML blocks list.
...
props rachelbaker, DH-Shredder.
fixes #22230 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27761 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-27 00:00:17 +00:00
Andrew Nacin
814de88f7a
Themes screen: Use a normal error for WP_Theme errors.
...
see #27235 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@27760 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-26 23:36:42 +00:00
Scott Taylor
4b21dcc825
Fix double avatars and JS errors when spamming/trashing comments.
...
Props avryl, SergeyBiryukov.
Fixes #27329 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27759 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-26 23:13:43 +00:00
Dominik Schilling (ocean90)
c6c9eae522
Customizer: Improve accessibility.
...
Prevent the form only from saving when enter is pressed on a select element or an input, which hasn't the button type.
props westonruter, ocean90.
fixes #26633 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27757 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-26 22:55:46 +00:00
Helen Hou-Sandi
3adce93956
Ensure active tabs have a background color to avoid any awkward bleed-through in case of overlap. props TobiasBg. fixes #27116 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27749 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-26 20:56:10 +00:00
Andrew Nacin
aeda501de1
Merge some theme update strings.
...
props pavelevap, yoavf.
fixes #25083 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27748 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-26 20:07:10 +00:00
Andrew Nacin
78b05bc236
Avoid JS errors before the commentReply script loads. Let's make this unobtrusive soon.
...
props aubreypwd.
fixes #24741 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27747 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-26 18:52:31 +00:00
Andrew Nacin
ed0b146180
Themes screens: Bump to 20 items per page so it fills a high resolution display. see #26968 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27744 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-26 17:45:28 +00:00
Andrew Nacin
cce32aa627
Fix LTR field handling:
...
* Restore .ltr class lost in the conversion to RTL as a build process.
* Make email and url inputs always LTR.
* Set an email field on user-edit to be LTR.
props MikeHansenMe, yoavf for initial patches.
fixes #26824 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27743 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-26 17:11:47 +00:00
Helen Hou-Sandi
5af1c7497d
Better focus styles for form elements in the admin. These are purposefully not keyed to admin color schemes, as different colors could communicate a state like an error as opposed to focus. props celloexpressions. fixes #27173 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27741 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-26 16:05:34 +00:00
Andrew Nacin
d712de8d2f
Don't clip post titles in the dashboard activity widget as it hides direct links to comments.
...
props SergeyBiryukov.
fixes #27474 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27740 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-26 15:04:54 +00:00
Andrew Nacin
c4b15e91bf
Upgrader skins: Strip tags before displaying error data.
...
fixes #25394 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27737 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-26 14:38:39 +00:00
Andrew Nacin
3843983ffa
Ensure proper slashing of the password on install.
...
This isn't the ideal fix, but it makes things work for now.
props nofearinc.
fixes #26573 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27736 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-26 14:30:26 +00:00
Andrew Ozz
f2c1fcbb65
Autosave: don't create the temporary permalink if the title field had focus (the user was typing a title) at the time of the last autosave. Fixes #27503
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27728 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-25 22:21:24 +00:00
Andrew Nacin
101863ea1d
Network Admin: Case-insensitive comparisons for the network-site comparison in the bootstrap.
...
props jeremyfelt.
fixes #17168 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27725 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-25 21:06:26 +00:00
Andrew Nacin
80fcbd5cf7
Use dashicons in header images in the customizer.
...
props mcsf.
see #21785 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27722 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-25 19:50:19 +00:00
Scott Taylor
815adc833a
Popular tags' edit links should respect the current post type. Adds unit test.
...
Props mordauk, fahmiadib.
Fixes #25566 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27720 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-25 18:39:26 +00:00
Andrew Nacin
b2ad4105e3
Network Admin: Fix pagination on site-themes and site-users.
...
props kawauso, jeremyfelt.
fixes #17545 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27715 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-25 16:56:45 +00:00
Andrew Nacin
fbe0b3e5ac
Don't allow the image editor thumbnail to be dragged. see #21811 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27712 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-25 16:20:50 +00:00
Andrew Nacin
0fccb7b64d
Restore the update message in the dashboard, removed in 3.8.
...
props obenland.
fixes #26664 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27711 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-25 14:35:23 +00:00
Andrew Nacin
3e28e2fae8
Multisite: Don't set the $super_admins global in grant_super_admin(), revoke_super_admin().
...
Adds tests and docs.
props jdgrimes.
see #27205 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27706 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-25 12:13:40 +00:00
Dominik Schilling (ocean90)
2e1f98d2a0
Widget Customizer: Improve widget highlighting.
...
* Prefix box-shadow in inject_preview_css()
* Remove border-radius in inject_preview_css()
* Prevent hidden box-shadows in Customizer
see #27358 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27702 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-25 11:47:27 +00:00
Dominik Schilling (ocean90)
e54fff3bb1
Widget Customizer: Fix shift+click issue in Firefox to open a widget.
...
props westonruter.
see #27358 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27701 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-25 11:22:13 +00:00
Drew Jaynes (DrewAPicture)
7fbfe22546
Fix typo from [27695]. See #26924 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27696 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-25 08:06:38 +00:00
Drew Jaynes (DrewAPicture)
0e7a34444d
Correct misleading verbiage in 'print' hook docs.
...
Standardizes 'print' hook docs on the concept that hooks are fired when scripts and styles are printed.
Props ericlewis for the initial patch.
Fixes #26924 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27695 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-25 08:04:44 +00:00
Scott Taylor
98921c5ca0
Let us pass jshint:core
.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27693 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-24 23:01:15 +00:00
Scott Taylor
9cd40edebf
In wp_create_post_autosave()
, intersect the $new_autosave
's keys with the keys from _wp_post_revision_fields()
to ensure that all expected fields are present.
...
Props kovshenin.
Fixes #25416 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27690 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-24 20:31:51 +00:00
Andrew Nacin
9b56f72fb1
Ensure Thickbox loading spinner is properly sized for HiDPI displays.
...
props paulwilde.
see #26952 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27678 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-24 03:45:08 +00:00
Andrew Nacin
401aa27073
Plugin Installer: Disable 'Latest Version Installed' buttons.
...
props paulwilde.
see #26952 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27677 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-24 03:40:28 +00:00
Andrew Nacin
48391a7444
Use correct variable. see [27373].
...
props TobiasBg.
fixes #14424 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27675 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-24 03:24:33 +00:00
Drew Jaynes (DrewAPicture)
0be6f6072a
Inline documentation for hooks in wp-admin/includes/taxonomy.php.
...
Props kpdesign for the initial patch.
Fixes #27433 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27674 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-24 03:13:06 +00:00
Drew Jaynes (DrewAPicture)
7062f3c75a
Inline documentation for wp-admin/includes/class-wp-upgrader.php.
...
Props kpdesign for some minor cleanup.
Fixes #27436 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27673 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-24 02:59:36 +00:00
Drew Jaynes (DrewAPicture)
af0f9a5e00
Inline documentation for hooks in wp-admin/includes/file.php.
...
Fixes #27429 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27672 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-24 02:44:17 +00:00
Drew Jaynes (DrewAPicture)
99c2775c0f
Remove some debug cruft accidentally committed in [27670].
...
See #27430 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27671 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-24 02:37:05 +00:00
Drew Jaynes (DrewAPicture)
ac9e81e0f0
Inline documentation for hooks in wp-admin/includes/menu.php.
...
Also fixes syntax for a few unrelated multi-line comments in the file.
Props kpdesign for some minor cleanup.
Fixes #27430 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27670 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-24 02:34:14 +00:00
Drew Jaynes (DrewAPicture)
4d7ca61c09
Inline documentation for hooks in wp-admin/includes/dashboard.php.
...
Props mauryaratan. Props kpdesign for some minor cleanup.
Fixes #25752 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27669 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-24 02:20:33 +00:00
Drew Jaynes (DrewAPicture)
c7080c0a6b
Inline documentation for hooks in wp-admin/includes/post.php.
...
Also moves the primary PHPDoc for the `edit_posts_per_page` hook to wp-admin/includes/post.php.
Props kpdesign for some cleanup.
Fixes #27431 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27667 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-24 01:48:40 +00:00
Andrew Ozz
263d9c7f33
Plupload: switch to urlstream upload method when the 'flash' runtime is used in non IE browsers. This ensures cookies are sent but limits the maximum file size that flash can handle.
...
By default only IE9 and older use flash so this change is mostly for completeness. It would affect only the (extremely rare) cases where a plugin disables the html5 runtime.
git-svn-id: https://develop.svn.wordpress.org/trunk@27662 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-23 23:44:20 +00:00
Andrew Ozz
00cb862f5e
TinyMCE:
...
- Fix PressThis styling when the popup is resized.
- Don't force loading of the media JS.
- Add the 'image' plugin as fallback when no media button(s).
- Add back the link icon tooltip/menu item string for translation.
See #24067 , see #24409
git-svn-id: https://develop.svn.wordpress.org/trunk@27660 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-23 07:09:23 +00:00
Scott Taylor
0697544056
Turn on thumbnail support for attachment:audio
and attachment:video
. Change conditionals to check for theme OR post type support when determining whether to turn on the Featured Image UI pieces in the admin.
...
Fixes #27460 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27657 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-23 02:34:39 +00:00
Andrew Ozz
7dbbebeb43
Move the styling of drag/drop on the editor uploading to media-views.css, see #27465
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27656 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-23 01:41:21 +00:00
Dominik Schilling (ocean90)
7ad1e0f1bb
Widget Customizer: Use Underscores indexOf
for IE8 compatibility.
...
props adamsilverstein.
see #27485 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27654 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-22 21:21:36 +00:00
Dominik Schilling (ocean90)
2a1899e319
Widget Customizer: Fix 'WidgetCustomizerPreview' is undefined error in IE8/9.
...
* Move `WidgetCustomizerPreview` to `wp.customize.WidgetCustomizerPreview`
* Move `WidgetCustomizerPreview_exports` to export_preview_data()
* Use `_wpWidgetCustomizerPreviewSettings` to transfer settings to `wp.customize.WidgetCustomizerPreview`
see #27485 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27653 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-22 21:03:18 +00:00
Dominik Schilling (ocean90)
429a018b9c
Widget Customizer: Improve error handling. First pass.
...
* Replace Widget_Customizer_Exception with WP_Error
* Call Previewer.cheatin() to show the cheating message if a user can't change widgets
* Call Previewer.login() to show the login form if a user is logged out
* Show a generic error message on failures
see #27419 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27652 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-22 20:54:17 +00:00
Dominik Schilling (ocean90)
686896998d
Widget Customizer: Improve widget search.
...
* Removes jQuery.liveFilter dependency
* Filters widget collection directly
* Widget's name, ID and description will be searched
fixes #27451 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27650 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-21 21:12:32 +00:00
Dominik Schilling (ocean90)
f0abc9b7e0
Themes: Improve RegExp pattern for search.
...
* The replacement of spaces is now done globally.
* The search term is now escaped for RegExp meta characters.
props westonruter for the hint.
fixes #27479 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27649 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-21 21:03:59 +00:00
Andrew Nacin
ff5c4e186b
Add context to 'Browse' (themes). see #27055 , #27453 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27646 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-21 00:19:38 +00:00
Andrew Ozz
4b760ff840
Editing image file: properly refresh the view after restoring the original image or rescaling the image. Props gcorne, see #21811
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27644 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-20 23:24:43 +00:00
Scott Taylor
39197965e4
Fixes for jshint
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27643 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-20 22:26:53 +00:00
Andrew Nacin
3217fa545b
Theme installer:
...
* Restore the feature filter.
* Improve responsiveness.
* Router updates, fixes.
* Make "Upload Theme" button more consistent with the admin.
* Avoid theme-count causing filters to jump.
props matveb.
see #27055 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27636 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-20 04:19:55 +00:00
Helen Hou-Sandi
352e5c61cd
Avoid an undefined function due to /wp-admin/includes/dashboard.php
being included too late. props obenland. fixes #27457 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27630 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-20 01:30:49 +00:00
Dominik Schilling (ocean90)
9e92a95ec5
Remove "Show" prefix from filter dropdowns, see #26743 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27626 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-19 22:12:13 +00:00
Andrew Nacin
8c3ac32372
More translation cleanups.
...
Affects widgets (see #27112 ), custom headers (see #21785 ), theme installer (see #27055 , reverts [27614]), and some media stuff. Untranslates some complicated strings that need additional study.
see #27453 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27620 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-19 08:17:08 +00:00
Andrew Nacin
bd71f66240
Use an ellipsis instead of ...
...
see #27453 , #27055 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27614 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-19 05:54:57 +00:00
Andrew Nacin
b2da716c11
Skipping placeholders in a string will only catch translators off guard.
...
see #27453 , #27132 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27613 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-19 05:53:01 +00:00
Andrew Nacin
d3a873840e
Remove two new strings from post_preview().
...
see #25272 , #27453 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27612 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-19 05:48:28 +00:00
nacin
877e12ee33
Improve the autosave error message on nonce failure.
...
see #27453 , #25272 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27611 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-19 05:46:02 +00:00