Commit Graph

25863 Commits

Author SHA1 Message Date
Drew Jaynes (DrewAPicture)
c91efaa74c Inline documentation for hooks in wp-includes/general-template.php.
Props jesin, kpdesign.
See #27719.


git-svn-id: https://develop.svn.wordpress.org/trunk@28130 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-15 04:00:48 +00:00
Andrew Nacin
61cb5d3e49 Add a TTL to core update checks to allow us to narrow the 12-hour update window.
props dd32.
fixes #27772.


git-svn-id: https://develop.svn.wordpress.org/trunk@28129 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-15 02:22:07 +00:00
Drew Jaynes (DrewAPicture)
93443ecd13 Inline documentation for hooks in wp-includes/media.php.
Props scottlee for the initial patch. Props kpdesign, DrewAPicture.
Fixes #27718.


git-svn-id: https://develop.svn.wordpress.org/trunk@28128 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-15 01:35:49 +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
16490ce89c Image Details modal: Remember the last state of the advanced toggle.
props gcorne.
fixes #27366.


git-svn-id: https://develop.svn.wordpress.org/trunk@28125 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-14 23:55:04 +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
Drew Jaynes (DrewAPicture)
6a8889ea8c Inline documentation for hooks in wp-includes/class-wp-customize-widgets.php
Fixes #27531.


git-svn-id: https://develop.svn.wordpress.org/trunk@28117 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-14 18:40:29 +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 Nacin
e1c90794e5 TinyMCE: Always load translations, even in English, as we modify some strings.
Move a setting to after the translations filter, and remove unused strings.

see #24067.


git-svn-id: https://develop.svn.wordpress.org/trunk@28112 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-14 03:22:38 +00:00
Drew Jaynes (DrewAPicture)
7c57669ec2 Inline documentation for hooks in wp-includes/link-template.php.
Props johnbillion, DrewAPicture.
Fixes #27716.


git-svn-id: https://develop.svn.wordpress.org/trunk@28111 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-14 02:12:48 +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
Drew Jaynes (DrewAPicture)
11f2a0dc31 Inline documentation for hooks in wp-includes/functions.php.
Props jesin, GaryJ.
Fixes #27715.


git-svn-id: https://develop.svn.wordpress.org/trunk@28109 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-14 00:19:37 +00:00
Andrew Nacin
5b4cd4b027 Plupload: Restore 3.8 handles and filenames to avoid breaking plugins.
fixes #27763.


git-svn-id: https://develop.svn.wordpress.org/trunk@28108 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-14 00:06:03 +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
Drew Jaynes (DrewAPicture)
d2e679179b Part II of inline documentation for hooks in wp-includes/post.php.
Documents all remaining hooks following [28041] and [28042]. Also updates the hash notation style for `wp_insert_post()`.

Props nacin for several hook descriptions.

Fixes #25376.


git-svn-id: https://develop.svn.wordpress.org/trunk@28106 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-13 23:05:20 +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
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