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
8e6a1f479b
Customizer: Fix header image cropping when working with huge images. Affected Firefox in particular.
...
props ehg.
fixes #27790 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28101 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-13 18:19:55 +00:00
Andrew Nacin
e164ec2461
Customizer: Account for a sidebar with no container to which classes can be added.
...
props ocean90.
fixes #27780 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28100 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-13 16:40:07 +00:00
Andrew Nacin
f7d4569c8d
Add context to string added in [28097].
...
props azaozz.
fixes #27785 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28099 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-13 16:34:13 +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
42f6f43c35
Add missing 'Address' string for TinyMCE.
...
props pavelevap, ocean90.
fixes #27785 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28097 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-13 16:20:54 +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 Ozz
07885ba6c9
Add hooks to the wpeditimage tinymce plugin and to the image details portion of the media modal.
...
- Add wp.media.events which is intended to be a global media event bus.
- Add a post-render event to the ImageDetails view that third-party code can leverage to add subviews.
- Performance improvement for the initialization of the PostImage model.
- A bit more markup to the image details template to make it easier to add a view to the advanced options.
Props gcorne, fixes #27698
git-svn-id: https://develop.svn.wordpress.org/trunk@28095 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-13 04:01:53 +00:00
Andrew Ozz
3396375d47
RTL for TinyMCE:
...
- Add _dir: 'rtl' to the TinyMCE translation object.
- Fix editor.css for RTL.
- Fix the Edit and Delete buttons position for wpview and images.
- For _mce_set_direction(), update documentation and fix adding the 'ltr' button.
Fixes #27773
git-svn-id: https://develop.svn.wordpress.org/trunk@28094 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-13 00:22:56 +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
36f7e292d2
Add an explanation for 'Paste from Word' in the 'Paste from Text' dialog.
...
fixes #27777 . see #27160 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28091 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-12 20:47:59 +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 Ozz
027f0872bd
Update the TinyMCE paste plugin to the latest development version. It includes a fix for pasting from Word: removes inline comments and change tracking.
...
Changeset: f8cffdf342
Fixes #27771
git-svn-id: https://develop.svn.wordpress.org/trunk@28089 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-12 20:00:52 +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
aa08fb55ce
User Query: Don't blindly re-append new meta queries for capabilities.
...
fixes #21119 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28087 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-12 19:03:56 +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
Andrew Ozz
17a90fff8b
TinyMCE wpViews:
...
- Prevent undo steps from being added when the body of a wpview changes.
- Add unbind() to handle cleanup on DOM rebuilding in TinyMCE.
- Ensure that MediaElement's cleanup routine is run on every player in all instances of the editor.
- Initialize the players after some delay to ensure CSS is loaded.
Props gcorne and wonderboymusic, fixes #27389
git-svn-id: https://develop.svn.wordpress.org/trunk@28084 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-12 00:45:48 +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 Nacin
8f0329b452
Translate custom header customize control strings. Remove `final` added before beta to see what breakage we might cause by refactoring this class.
...
see #21785 . fixes #27738 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28082 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-11 23:24:32 +00:00
Andrew Ozz
8aacd10a8c
Don't include the non-minified tinymce.js in /build. Load it when running from /src, else load wp-tinymce.js.gz (production) or tinymce.min.js (SCRIPT_DEBUG). Props nacin, fixes #27739
...
git-svn-id: https://develop.svn.wordpress.org/trunk@28081 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-11 22:16:01 +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 Nacin
5dd9108e48
Editor: Ensure the link dialog does not display when styles are missing.
...
props mattheu.
fixes #27605 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28071 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-11 03:08:23 +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
Scott Taylor
824830ca01
Bump MediaElement.js to `2.14.2`. Release Notes: 743f446523
.
...
Fixes #27582 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28068 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-10 21:31:24 +00:00
Andrew Nacin
5a7934a362
Fix a multisite test failure by testing an option that can be updated in multisite.
...
fixes #22936 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28067 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-10 21:09:33 +00:00
Andrew Ozz
2883034c6a
Update TinyMCE to the current development version, 4.0.21.1. Fixes #27744
...
git-svn-id: https://develop.svn.wordpress.org/trunk@28066 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-10 21:08:41 +00:00
Andrew Nacin
3e6d8864a9
XML-RPC: Fix bracing of conditionals around doc blocks.
...
props redsweater, DrewAPicture.
fixes #27506 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28065 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-10 21:03:29 +00:00
Andrew Nacin
eef7258ca6
Update license copyright year to 2014.
...
fixes #27728 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28064 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-09 23:49:05 +00:00
Andrew Ozz
c90a2a5d3b
TinyMCE Views in IE8 and 7: change deselect event only for old IE, props gcorne, fixes #27546
...
git-svn-id: https://develop.svn.wordpress.org/trunk@28063 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-09 15:28:17 +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 Ozz
0d6b3f3e3f
TinyMCE: make sure vertical resizing and menubar show/hide are set to default for each instance, fixes #27724
...
git-svn-id: https://develop.svn.wordpress.org/trunk@28059 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-08 18:57:18 +00:00
Andrew Nacin
244eca7982
3.9-RC1
...
git-svn-id: https://develop.svn.wordpress.org/trunk@28058 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-08 18:18:03 +00:00
Andrew Nacin
3234ade164
Harden HMAC verification. props duck_.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@28053 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-08 18:05:42 +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
248151298c
Escape playlist data in templates.
...
props wonderboymusic.
fixes #27710 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28050 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-08 17:39:06 +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
Scott Taylor
468c9d2ac7
Restore `GalleryAdd()` and `GalleryEdit()` in `media-views.js` to ensure back-compat.
...
See [27362].
git-svn-id: https://develop.svn.wordpress.org/trunk@28048 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-08 15:53:42 +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
Dominik Schilling (ocean90)
82ac1009c4
Move `toolbar` declaration after the `:visible` check, like it was before [28019].
...
props kovshenin.
fixes #24859 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28046 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-08 11:20:34 +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