Andrew Nacin
a8cefa836d
Graceful failures for TinyMCE views of video/audio playlists.
...
props gcorne.
fixes #27821 .
Built from https://develop.svn.wordpress.org/trunk@28144
git-svn-id: http://core.svn.wordpress.org/trunk@27975 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-16 00:23:15 +00:00
Andrew Nacin
dbca0c5e15
Widgets: Remove create_function() from the customizer class.
...
props westonruter.
fixes #27805 .
Built from https://develop.svn.wordpress.org/trunk@28143
git-svn-id: http://core.svn.wordpress.org/trunk@27974 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-16 00:11:35 +00:00
Andrew Nacin
efe36dbd5f
Add missing string translation in widgets.
...
see #27453 , #27112 .
Built from https://develop.svn.wordpress.org/trunk@28140
git-svn-id: http://core.svn.wordpress.org/trunk@27971 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-16 00:01:14 +00:00
Andrew Nacin
e8020e91fd
Cast wp_count_attachments() before iterating it to avoid a notice when items exist without a mime type.
...
props bobbingwide.
fixes #27802 .
Built from https://develop.svn.wordpress.org/trunk@28139
git-svn-id: http://core.svn.wordpress.org/trunk@27970 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-16 00:00:15 +00:00
Andrew Nacin
28760a7d53
3.9-RC2
...
Built from https://develop.svn.wordpress.org/trunk@28135
git-svn-id: http://core.svn.wordpress.org/trunk@27966 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-15 08:59:14 +00:00
Andrew Nacin
fa3900168e
Allow the API to add text to auto update emails.
...
fixes #27812 .
Built from https://develop.svn.wordpress.org/trunk@28134
git-svn-id: http://core.svn.wordpress.org/trunk@27965 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-15 08:52:15 +00:00
Drew Jaynes
e8be2a7e1e
Inline documentation for three remaining hooks in wp-includes/general-template.php.
...
Documents the `login_form_top`, `login_form_middle`, and `login_form_bottom` and filters.
That's 184/184 hook docs files complete. Boom!
Props kpdesign, DrewAPicture.
Fixes #27719 .
Built from https://develop.svn.wordpress.org/trunk@28131
git-svn-id: http://core.svn.wordpress.org/trunk@27962 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-15 04:42:16 +00:00
Drew Jaynes
577fe1960a
Inline documentation for hooks in wp-includes/general-template.php.
...
Props jesin, kpdesign.
See #27719 .
Built from https://develop.svn.wordpress.org/trunk@28130
git-svn-id: http://core.svn.wordpress.org/trunk@27961 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-15 04:01:15 +00:00
Andrew Nacin
3b50cf7ec2
Add a TTL to core update checks to allow us to narrow the 12-hour update window.
...
props dd32.
fixes #27772 .
Built from https://develop.svn.wordpress.org/trunk@28129
git-svn-id: http://core.svn.wordpress.org/trunk@27960 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-15 02:23:16 +00:00
Drew Jaynes
da896b7cf3
Inline documentation for hooks in wp-includes/media.php.
...
Props scottlee for the initial patch. Props kpdesign, DrewAPicture.
Fixes #27718 .
Built from https://develop.svn.wordpress.org/trunk@28128
git-svn-id: http://core.svn.wordpress.org/trunk@27959 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-15 01:36:14 +00:00
Andrew Nacin
d1e72b8e20
Image Details modal: Remember the last state of the advanced toggle.
...
props gcorne.
fixes #27366 .
Built from https://develop.svn.wordpress.org/trunk@28125
git-svn-id: http://core.svn.wordpress.org/trunk@27956 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-14 23:56:16 +00:00
Andrew Nacin
6b579e0d59
Customizer: Properly handle widget settings when activating a previewed theme.
...
props westonruter, ocean90, gcorne.
fixes #27767 .
Built from https://develop.svn.wordpress.org/trunk@28124
git-svn-id: http://core.svn.wordpress.org/trunk@27955 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-14 22:46:16 +00:00
Drew Jaynes
fe6761ccf3
Inline documentation for hooks in wp-includes/class-wp-customize-widgets.php
...
Fixes #27531 .
Built from https://develop.svn.wordpress.org/trunk@28117
git-svn-id: http://core.svn.wordpress.org/trunk@27948 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-14 18:41:17 +00:00
Andrew Ozz
3de93ccba3
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
Built from https://develop.svn.wordpress.org/trunk@28116
git-svn-id: http://core.svn.wordpress.org/trunk@27947 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-14 08:15:16 +00:00
Andrew Nacin
5ab50ba7d5
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 .
Built from https://develop.svn.wordpress.org/trunk@28112
git-svn-id: http://core.svn.wordpress.org/trunk@27943 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-14 03:23:15 +00:00
Drew Jaynes
9c2a27129c
Inline documentation for hooks in wp-includes/link-template.php.
...
Props johnbillion, DrewAPicture.
Fixes #27716 .
Built from https://develop.svn.wordpress.org/trunk@28111
git-svn-id: http://core.svn.wordpress.org/trunk@27942 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-14 02:13:16 +00:00
Drew Jaynes
ca7ef18e55
Inline documentation for hooks in wp-includes/functions.php.
...
Props jesin, GaryJ.
Fixes #27715 .
Built from https://develop.svn.wordpress.org/trunk@28109
git-svn-id: http://core.svn.wordpress.org/trunk@27940 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-14 00:20:14 +00:00
Andrew Nacin
bfe44f07a3
Plupload: Restore 3.8 handles and filenames to avoid breaking plugins.
...
fixes #27763 .
Built from https://develop.svn.wordpress.org/trunk@28108
git-svn-id: http://core.svn.wordpress.org/trunk@27939 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-14 00:07:16 +00:00
Andrew Nacin
55b0cd935e
Fix feature pointer RTL placement.
...
props SergeyBiryukov, ocean90.
fixes #27778 .
Built from https://develop.svn.wordpress.org/trunk@28107
git-svn-id: http://core.svn.wordpress.org/trunk@27938 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-14 00:00:14 +00:00
Drew Jaynes
2d79af0e0a
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 .
Built from https://develop.svn.wordpress.org/trunk@28106
git-svn-id: http://core.svn.wordpress.org/trunk@27937 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-13 23:06:14 +00:00
Andrew Nacin
24e51a625d
Customizer: Fix header image cropping when working with huge images. Affected Firefox in particular.
...
props ehg.
fixes #27790 .
Built from https://develop.svn.wordpress.org/trunk@28101
git-svn-id: http://core.svn.wordpress.org/trunk@27932 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-13 18:20:14 +00:00
Andrew Nacin
33515194a0
Customizer: Account for a sidebar with no container to which classes can be added.
...
props ocean90.
fixes #27780 .
Built from https://develop.svn.wordpress.org/trunk@28100
git-svn-id: http://core.svn.wordpress.org/trunk@27931 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-13 16:41:15 +00:00
Andrew Nacin
ad850a34a4
Add context to string added in [28097].
...
props azaozz.
fixes #27785 .
Built from https://develop.svn.wordpress.org/trunk@28099
git-svn-id: http://core.svn.wordpress.org/trunk@27930 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-13 16:35:14 +00:00
Andrew Nacin
23d78b1777
Add missing 'Address' string for TinyMCE.
...
props pavelevap, ocean90.
fixes #27785 .
Built from https://develop.svn.wordpress.org/trunk@28097
git-svn-id: http://core.svn.wordpress.org/trunk@27928 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-13 16:21:15 +00:00
Andrew Nacin
41d2a7f82b
RTL for login screen.
...
props yoavf.
fixes #27784 .
Built from https://develop.svn.wordpress.org/trunk@28096
git-svn-id: http://core.svn.wordpress.org/trunk@27927 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-13 16:06:14 +00:00
Andrew Ozz
0df02eb8ea
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
Built from https://develop.svn.wordpress.org/trunk@28095
git-svn-id: http://core.svn.wordpress.org/trunk@27926 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-13 04:02:15 +00:00
Andrew Ozz
dc52e17417
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
Built from https://develop.svn.wordpress.org/trunk@28094
git-svn-id: http://core.svn.wordpress.org/trunk@27925 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-13 00:23:15 +00:00
Andrew Nacin
5ca6bdf7c2
Add an explanation for 'Paste from Word' in the 'Paste from Text' dialog.
...
fixes #27777 . see #27160 .
Built from https://develop.svn.wordpress.org/trunk@28091
git-svn-id: http://core.svn.wordpress.org/trunk@27922 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-12 20:48:28 +00:00
Andrew Ozz
1a538353fc
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
Built from https://develop.svn.wordpress.org/trunk@28089
git-svn-id: http://core.svn.wordpress.org/trunk@27920 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-12 20:01:14 +00:00
Andrew Nacin
91971b28a7
User Query: Don't blindly re-append new meta queries for capabilities.
...
fixes #21119 .
Built from https://develop.svn.wordpress.org/trunk@28087
git-svn-id: http://core.svn.wordpress.org/trunk@27918 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-12 19:04:15 +00:00
Andrew Nacin
d50e4bc08c
Custom Headers: Allow for longer strings.
...
props ehg.
see #27755 .
Built from https://develop.svn.wordpress.org/trunk@28086
git-svn-id: http://core.svn.wordpress.org/trunk@27917 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-12 18:40:14 +00:00
Andrew Ozz
191dd168c1
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
Built from https://develop.svn.wordpress.org/trunk@28084
git-svn-id: http://core.svn.wordpress.org/trunk@27915 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-12 00:46:14 +00:00
Drew Jaynes
5e51ea9940
Priority fixes for various existing hook documentation.
...
Props kpdesign.
See #26869
Built from https://develop.svn.wordpress.org/trunk@28083
git-svn-id: http://core.svn.wordpress.org/trunk@27914 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-12 00:01:15 +00:00
Andrew Nacin
eb54438f17
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 .
Built from https://develop.svn.wordpress.org/trunk@28082
git-svn-id: http://core.svn.wordpress.org/trunk@27913 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-11 23:25:16 +00:00
Andrew Ozz
68cbde29ca
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
...
Built from https://develop.svn.wordpress.org/trunk@28081
git-svn-id: http://core.svn.wordpress.org/trunk@27912 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-11 22:16:14 +00:00
Andrew Nacin
115b91faff
Editor: Ensure the link dialog does not display when styles are missing.
...
props mattheu.
fixes #27605 .
Built from https://develop.svn.wordpress.org/trunk@28071
git-svn-id: http://core.svn.wordpress.org/trunk@27902 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-11 03:09:15 +00:00
Scott Taylor
382577bbb7
Bump MediaElement.js to 2.14.2
. Release Notes: 743f446523
.
...
Fixes #27582 .
Built from https://develop.svn.wordpress.org/trunk@28068
git-svn-id: http://core.svn.wordpress.org/trunk@27899 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-10 21:32:14 +00:00
Andrew Ozz
c631d144f1
Update TinyMCE to the current development version, 4.0.21.1. Fixes #27744
...
Built from https://develop.svn.wordpress.org/trunk@28066
git-svn-id: http://core.svn.wordpress.org/trunk@27898 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-10 21:09:16 +00:00
Andrew Nacin
58ca03f8ea
XML-RPC: Fix bracing of conditionals around doc blocks.
...
props redsweater, DrewAPicture.
fixes #27506 .
Built from https://develop.svn.wordpress.org/trunk@28065
git-svn-id: http://core.svn.wordpress.org/trunk@27897 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-10 21:04:14 +00:00
Andrew Ozz
a3c725f5b4
TinyMCE Views in IE8 and 7: change deselect event only for old IE, props gcorne, fixes #27546
...
Built from https://develop.svn.wordpress.org/trunk@28063
git-svn-id: http://core.svn.wordpress.org/trunk@27895 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-09 15:29:17 +00:00
Andrew Ozz
cc694bac21
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
Built from https://develop.svn.wordpress.org/trunk@28062
git-svn-id: http://core.svn.wordpress.org/trunk@27894 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-09 00:58:15 +00:00
Andrew Ozz
5ca1024284
TinyMCE: make sure vertical resizing and menubar show/hide are set to default for each instance, fixes #27724
...
Built from https://develop.svn.wordpress.org/trunk@28059
git-svn-id: http://core.svn.wordpress.org/trunk@27891 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-08 18:58:14 +00:00
Andrew Nacin
3c78339cb7
3.9-RC1
...
Built from https://develop.svn.wordpress.org/trunk@28058
git-svn-id: http://core.svn.wordpress.org/trunk@27890 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-08 18:19:15 +00:00
Andrew Nacin
7f001bfe24
Harden HMAC verification. props duck_.
...
Built from https://develop.svn.wordpress.org/trunk@28053
git-svn-id: http://core.svn.wordpress.org/trunk@27883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-08 18:06:16 +00:00
Andrew Nacin
e8da400c69
Don't show featured images for image attachments. Remove abstractions for now.
...
fixes #27673 .
Built from https://develop.svn.wordpress.org/trunk@28051
git-svn-id: http://core.svn.wordpress.org/trunk@27881 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-08 17:40:28 +00:00
Andrew Nacin
4d6fcfdba1
Escape playlist data in templates.
...
props wonderboymusic.
fixes #27710 .
Built from https://develop.svn.wordpress.org/trunk@28050
git-svn-id: http://core.svn.wordpress.org/trunk@27880 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-08 17:40:14 +00:00
Scott Taylor
2c963a82f7
Restore GalleryAdd()
and GalleryEdit()
in media-views.js
to ensure back-compat.
...
See [27362].
Built from https://develop.svn.wordpress.org/trunk@28048
git-svn-id: http://core.svn.wordpress.org/trunk@27878 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-08 15:54:14 +00:00
Dominik Schilling
ad278c17e0
Move toolbar
declaration after the :visible
check, like it was before [28019].
...
props kovshenin.
fixes #24859 .
Built from https://develop.svn.wordpress.org/trunk@28046
git-svn-id: http://core.svn.wordpress.org/trunk@27876 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-08 11:21:15 +00:00
Andrew Ozz
fd0ae7e406
Precommit cleanup for theme.js, editor.css amd wpdialogs/plugin.js, See #27055 , #26907 , #16284
...
Built from https://develop.svn.wordpress.org/trunk@28045
git-svn-id: http://core.svn.wordpress.org/trunk@27875 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-08 08:29:14 +00:00
Dominik Schilling
3f3a1380d2
Widget Customizer: Fix widget filtering.
...
props westonruter.
fixes #27451 .
Built from https://develop.svn.wordpress.org/trunk@28044
git-svn-id: http://core.svn.wordpress.org/trunk@27874 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-08 08:12:15 +00:00
Andrew Ozz
268092761d
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
Built from https://develop.svn.wordpress.org/trunk@28043
git-svn-id: http://core.svn.wordpress.org/trunk@27873 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-08 07:49:14 +00:00
Drew Jaynes
a55d734f60
Clarify documentation for hooks in sanitize_post_field()
.
...
* `edit_post_{$field}` pairs with `edit_{$field}`
* `pre_post_{$field}` pairs with `pre_{$field}`
* `post_{$field}` pairs with `{$field}`
As the above pairs' docs are unnecessarily duplicative, the second sets of docs have been removed. Also, the "duplicates" are purposely not marked as such in this case as the hook names differ. Also remove `@deprecated` tags mistakenly left in in [28041].
See #25376 .
Built from https://develop.svn.wordpress.org/trunk@28042
git-svn-id: http://core.svn.wordpress.org/trunk@27872 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-08 07:41:14 +00:00
Drew Jaynes
07ee43d6d0
Part I of inline documenation for hooks in wp-includes/post.php.
...
Adds docs for the following hooks:
* `get_attached_file`
* `update_attached_file`
* `_wp_relative_upload_path`
* `post_type_labels_{$post_type}`
* `edit_{$field}`
* `{$field_no_prefix}_edit_pre`
* `edit_post_{$field}`
* `pre_{$field}`
* `{$field_no_prefix}_save_pre`
* `pre_post_{$field}`
* `{$field}_pre`
* `$field`
* `post_{$field}`
* `wp_count_posts`
* `wp_count_attachments`
* `post_mime_types`
* `wp_insert_post_empty_content`
See #25376 .
Built from https://develop.svn.wordpress.org/trunk@28041
git-svn-id: http://core.svn.wordpress.org/trunk@27871 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-08 06:49:14 +00:00
Andrew Nacin
3ff5c2c954
Media Templates: More escaping rather than interpolation. see #21785 .
...
Built from https://develop.svn.wordpress.org/trunk@28039
git-svn-id: http://core.svn.wordpress.org/trunk@27869 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-08 05:28:15 +00:00
Andrew Nacin
819da2ac6d
Nuke the TinyMCE help dialog as it is duplicated by help tabs. This leaves just Keyboard Shortcuts.
...
fixes #27100 .
Built from https://develop.svn.wordpress.org/trunk@28032
git-svn-id: http://core.svn.wordpress.org/trunk@27862 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-08 02:32:14 +00:00
Andrew Nacin
c870767d98
Header Images: Add suggested dimensions to the media workflow.
...
This updates [28030] to the latest patch.
props gcorne.
see #21785 .
Built from https://develop.svn.wordpress.org/trunk@28031
git-svn-id: http://core.svn.wordpress.org/trunk@27861 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-08 01:57:16 +00:00
Andrew Nacin
6b41f728d4
Header Images: Add suggested dimensions to the media workflow.
...
props ehg, gcorne.
see #21785 .
Built from https://develop.svn.wordpress.org/trunk@28030
git-svn-id: http://core.svn.wordpress.org/trunk@27860 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-08 01:55:15 +00:00
Andrew Nacin
64936ec9b5
TinyMCE help: Break up strings changed in [28027] for ease of changing later.
...
Restores a not inaccurate paragraph to reduce churn.
see #27100 .
Built from https://develop.svn.wordpress.org/trunk@28028
git-svn-id: http://core.svn.wordpress.org/trunk@27858 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-08 01:19:15 +00:00
Andrew Ozz
06acbdcd5a
TinyMCE help modal:
...
- Don't load the old tiny_mce_popup.js.
- Add the shortcut for <code> and the second shortcut for link to the shortcuts listing.
- Update some of the text.
See #27100
Built from https://develop.svn.wordpress.org/trunk@28027
git-svn-id: http://core.svn.wordpress.org/trunk@27857 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-07 23:53:15 +00:00
Drew Jaynes
697bef3383
Improve hook docs for the wp_enqueue_editor
hook, added in 3.9.
...
See #16284 , #27700 .
Built from https://develop.svn.wordpress.org/trunk@28026
git-svn-id: http://core.svn.wordpress.org/trunk@27856 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-07 23:09:15 +00:00
Andrew Ozz
5ce9ab1293
Fix typo and add more text to the error shown when 'wpdialogs' is not enqueued. Add 'wp_enqueue_editor' action fired when scripts and styles for the editor are being enqueued, fixes #16284
...
Built from https://develop.svn.wordpress.org/trunk@28024
git-svn-id: http://core.svn.wordpress.org/trunk@27854 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-07 22:55:15 +00:00
Scott Taylor
42a66ea424
Make playlist tracks keyboard-accessible.
...
Fixes #27644 .
Built from https://develop.svn.wordpress.org/trunk@28023
git-svn-id: http://core.svn.wordpress.org/trunk@27853 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-07 22:28:16 +00:00
Andrew Nacin
1860b6a007
Rename USE_EXT_MYSQL to WP_USE_EXT_MYSQL. see #21663 .
...
Built from https://develop.svn.wordpress.org/trunk@28022
git-svn-id: http://core.svn.wordpress.org/trunk@27852 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-07 22:27:15 +00:00
Andrew Nacin
68298460d4
Clean up deprecated format_to_post() docs. see #27700 .
...
Built from https://develop.svn.wordpress.org/trunk@28021
git-svn-id: http://core.svn.wordpress.org/trunk@27851 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-07 22:23:14 +00:00
Drew Jaynes
4f818f51a9
More formatting for functions deprecated in 3.9.
...
Props kpdesign.
Fixes #27700 .
Built from https://develop.svn.wordpress.org/trunk@28020
git-svn-id: http://core.svn.wordpress.org/trunk@27850 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-07 22:17:15 +00:00
Helen Hou-Sandí
df49618d0e
Only show the media library loading spinner if we're scrolled toward the bottom. Prevents the spinner from flashing a second time when first loading the library due to a second query firing after initial load.
...
props kovshenin. fixes #24859 .
Built from https://develop.svn.wordpress.org/trunk@28019
git-svn-id: http://core.svn.wordpress.org/trunk@27849 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-07 22:15:15 +00:00
Drew Jaynes
960a45a9cb
Even deprecated functions can use a little PHPDoc formatting, time to time.
...
See #27700 .
Built from https://develop.svn.wordpress.org/trunk@28018
git-svn-id: http://core.svn.wordpress.org/trunk@27848 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-07 22:12:16 +00:00
Drew Jaynes
b5ecc00b32
PHPDoc fixes for functionality in wp-includes/wp-db.php added in 3.9.
...
See #27700 .
Built from https://develop.svn.wordpress.org/trunk@28016
git-svn-id: http://core.svn.wordpress.org/trunk@27846 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-07 22:02:15 +00:00
Drew Jaynes
5c3c97ead6
PHPDoc fixes for wp_validate_logged_in_cookie()
, introduced in 3.9.
...
See #27700 .
Built from https://develop.svn.wordpress.org/trunk@28015
git-svn-id: http://core.svn.wordpress.org/trunk@27845 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-07 21:43:15 +00:00
Drew Jaynes
f52aefd02b
Fix PHPDoc formatting for WP_Rewrite::add_endpoint()
.
...
See #27700 .
Built from https://develop.svn.wordpress.org/trunk@28014
git-svn-id: http://core.svn.wordpress.org/trunk@27844 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-07 21:39:15 +00:00
Andrew Ozz
df7b16dda1
TinyMCE: show an error in the console when a plugin attempts to use the 'wpdialogs' plugin but wpdialog.js is not enqueued, fixes #16284
...
Built from https://develop.svn.wordpress.org/trunk@28012
git-svn-id: http://core.svn.wordpress.org/trunk@27842 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-07 21:35:15 +00:00
Drew Jaynes
320b3751a3
Add a missing @since 3.9.0
to the PHPDoc for wp_register_plugin_realpath()
.
...
See #16953 , #27700 .
Built from https://develop.svn.wordpress.org/trunk@28011
git-svn-id: http://core.svn.wordpress.org/trunk@27841 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-07 21:34:14 +00:00
Drew Jaynes
4ed628a7c6
Improve inline documentation for functionality in wp-includes/plugin.php added in 3.9.
...
See #14994 , #27700 .
Built from https://develop.svn.wordpress.org/trunk@28010
git-svn-id: http://core.svn.wordpress.org/trunk@27840 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-07 21:30:14 +00:00
Andrew Nacin
827b92a9bd
Formally deprecate wpmu_current_site().
...
props jeremyfelt.
fixes #27702 .
Built from https://develop.svn.wordpress.org/trunk@28009
git-svn-id: http://core.svn.wordpress.org/trunk@27839 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-07 21:28:16 +00:00
Andrew Nacin
b00e343a25
Gallery Views: Avoid JS errors when image attachments lack metadata.
...
props gcorne.
fixes #27691 .
Built from https://develop.svn.wordpress.org/trunk@28008
git-svn-id: http://core.svn.wordpress.org/trunk@27838 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-07 21:25:16 +00:00
Drew Jaynes
684145ca81
Inline documentation fixes related to the determine_current_user
filter
...
See #26706 , #27700 .
Built from https://develop.svn.wordpress.org/trunk@28007
git-svn-id: http://core.svn.wordpress.org/trunk@27837 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-07 21:18:15 +00:00
Drew Jaynes
a4f4744a3b
Inline documentation improvements in wp-includes/ms-load.php for 3.9 functionality.
...
Clarifies some mixed type parameters, spacing and comment style, and language fixes.
See #27700 .
Built from https://develop.svn.wordpress.org/trunk@28006
git-svn-id: http://core.svn.wordpress.org/trunk@27836 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-07 20:59:15 +00:00
Drew Jaynes
eebf49c180
General PHPDoc improvements in wp-includes/media.php for 3.9 functionality.
...
See #27700 .
Built from https://develop.svn.wordpress.org/trunk@28004
git-svn-id: http://core.svn.wordpress.org/trunk@27834 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-07 20:38:15 +00:00
Drew Jaynes
c2e0a4bf46
Space vs tab in function descriptions for wp_underscore_audio_template()
and wp_underscore_video_template()
.
...
See #27700 .
Built from https://develop.svn.wordpress.org/trunk@28003
git-svn-id: http://core.svn.wordpress.org/trunk@27833 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-07 20:29:14 +00:00
Andrew Nacin
10b8c92b1e
wpdb: Don't pass a second argument to mysqli_fetch_field().
...
props pento.
fixes #27693 .
Built from https://develop.svn.wordpress.org/trunk@28002
git-svn-id: http://core.svn.wordpress.org/trunk@27832 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-07 20:22:28 +00:00
Drew Jaynes
d568e9029d
Improve PHPDoc formatting for get_the_permalink()
.
...
See #27700 .
Built from https://develop.svn.wordpress.org/trunk@28001
git-svn-id: http://core.svn.wordpress.org/trunk@27831 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-07 20:22:15 +00:00
Drew Jaynes
35fb93858a
Use suggested language conventions in the hook docs description for the theme_page_templates
filter.
...
See #27700 .
Built from https://develop.svn.wordpress.org/trunk@28000
git-svn-id: http://core.svn.wordpress.org/trunk@27830 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-07 20:18:14 +00:00
Andrew Nacin
0b5729216d
Don't try to resolve symlinks for single-file plugins. plugins_url() should not be used in this context anyway.
...
props rmccue.
fixes #16953 .
Built from https://develop.svn.wordpress.org/trunk@27999
git-svn-id: http://core.svn.wordpress.org/trunk@27829 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-07 20:15:15 +00:00
Dominik Schilling
771fcb128a
Update Dashicons.
...
New icons: `.dashicons-external`, `.dashicons-editor-contract` and `.dashicons-universal-access-alt`.
Updated icons: `.dashicons-code`, `.dashicons-universal-access`, `.dashicons-arrow-x-alt` and `.dashicons-arrow-x-alt2`.
Restores also `.dashicons-post-trash` as an alias for `.dashicons-trash`, which is the new one.
props melchoyce, empireoflight.
see #26936 .
Built from https://develop.svn.wordpress.org/trunk@27989
git-svn-id: http://core.svn.wordpress.org/trunk@27819 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-07 17:52:16 +00:00
Scott Taylor
5a67d92611
Browsers other than Firefox need a timeout when parsing audio and video shortcodes into MCE views.
...
See [27655].
Built from https://develop.svn.wordpress.org/trunk@27987
git-svn-id: http://core.svn.wordpress.org/trunk@27817 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-07 15:12:15 +00:00
Dominik Schilling
fabc65b787
Widget Customizer: Move WidgetCustomizer
to wp.customize.Widgets
. First pass.
...
see #27690 .
Built from https://develop.svn.wordpress.org/trunk@27985
git-svn-id: http://core.svn.wordpress.org/trunk@27815 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-07 09:04:14 +00:00
Dominik Schilling
de2f2f449b
Remove trailing whitespace from [27982].
...
Built from https://develop.svn.wordpress.org/trunk@27984
git-svn-id: http://core.svn.wordpress.org/trunk@27814 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-07 09:03:14 +00:00
Andrew Ozz
a6299d337c
TinyMCE: couple more small css tweaks for the menubar and tabs in native modals, see #27279
...
Built from https://develop.svn.wordpress.org/trunk@27983
git-svn-id: http://core.svn.wordpress.org/trunk@27813 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-07 07:11:15 +00:00
Andrew Ozz
1747c112d1
Add a note that wpView is "experimental", see #26959
...
Built from https://develop.svn.wordpress.org/trunk@27982
git-svn-id: http://core.svn.wordpress.org/trunk@27812 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-07 06:59:16 +00:00
Andrew Ozz
2f2e5635cb
Heartbeat: no longer "experimental", see #25272
...
Built from https://develop.svn.wordpress.org/trunk@27981
git-svn-id: http://core.svn.wordpress.org/trunk@27811 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-07 06:33:16 +00:00
Scott Taylor
10b80870ee
Only set the poster
attribute automatically for videos when the image does not match the default mime-type icon. wp_prepare_attachment_for_js()
is used in multiple contexts. This context requires disambiguation.
...
See [27659].
Built from https://develop.svn.wordpress.org/trunk@27980
git-svn-id: http://core.svn.wordpress.org/trunk@27810 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-07 06:20:16 +00:00
Scott Taylor
2c88f6e941
[27640] supported a caption for audio and video shortcodes as part of a UX iteration for the related MCE views. These captions have since be excluded, so the extra code should be removed (it was there for this sole reason).
...
See #27320 .
Built from https://develop.svn.wordpress.org/trunk@27979
git-svn-id: http://core.svn.wordpress.org/trunk@27809 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-07 06:13:18 +00:00
Andrew Ozz
956301ece7
TinyMCE:
...
- Tighten up button styles, add :hover for .mce-active buttons.
- Pad only the first toolbar row and remove the padding in both toolbars if the editor doesn't have a DFW mode.
Part props avryl, see #27279
Built from https://develop.svn.wordpress.org/trunk@27978
git-svn-id: http://core.svn.wordpress.org/trunk@27808 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-07 01:10:15 +00:00
Scott Taylor
7689cc4a74
When dynamically instantiating MediaElementPlayer
instances in JS, preload="metadata"
is extremely wonky. preload="none"
lets the file play right away.
...
This has already been addressed for audio|video shortcodes, but also needs to be the case for playlists. When loading a playlist from a DOM cache or via AJAX, and when the sources match those already pre-loaded, the browser will sometimes donkey-punch the HTTP request for the first cached track selected.
Set `preload="none"` for the empty `<audio|video>` tag for playlists.
See commits related to #26779 .
Built from https://develop.svn.wordpress.org/trunk@27974
git-svn-id: http://core.svn.wordpress.org/trunk@27804 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-06 21:33:15 +00:00
Dominik Schilling
29b1f9a0de
Widget Customizer: Remove leading/trailing whitespace to prevent jQuery migrate warning.
...
props gcorne.
fixes #27689 .
Built from https://develop.svn.wordpress.org/trunk@27973
git-svn-id: http://core.svn.wordpress.org/trunk@27803 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-06 20:40:15 +00:00
Dominik Schilling
f8d4a00b6a
Update TinyMCE help for pasting content.
...
props chiragswadia.
see #27100 .
Built from https://develop.svn.wordpress.org/trunk@27972
git-svn-id: http://core.svn.wordpress.org/trunk@27802 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-06 19:46:15 +00:00
Dominik Schilling
ed8132dedd
Header images: Revert unnecessary tabindex="0"
from [27947].
...
see #21785 .
Built from https://develop.svn.wordpress.org/trunk@27971
git-svn-id: http://core.svn.wordpress.org/trunk@27801 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-06 19:36:15 +00:00
Dominik Schilling
5f1c818477
Header images: Improve accessibility of Randomize buttons.
...
props ehg.
see #27598 , #21785 .
Built from https://develop.svn.wordpress.org/trunk@27970
git-svn-id: http://core.svn.wordpress.org/trunk@27800 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-06 19:28:16 +00:00
Dominik Schilling
90e62bf6ac
Widget Customizer: Minor code cleanup.
...
* Remove type hinting from `WP_Customize_Widgets`
* Rename `inject_preview_css` to `print_preview_css`
* Remove stray `@todo`
fixes #27534 .
Built from https://develop.svn.wordpress.org/trunk@27968
git-svn-id: http://core.svn.wordpress.org/trunk@27798 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-06 18:54:14 +00:00
Dominik Schilling
1ce1882a8a
Fix whitespace around $GLOBALS['_wp_deprecated_widgets_callbacks']
.
...
Built from https://develop.svn.wordpress.org/trunk@27967
git-svn-id: http://core.svn.wordpress.org/trunk@27797 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-06 18:50:14 +00:00