Andrew Ozz
d9fe0232fb
TinyMCE: fix our shortcuts on Mac, use Ctrl + Opt + letter.
...
Props iseulde. See #29558 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32059 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-06 22:50:28 +00:00
Andrew Ozz
2edb7aace9
TinyMCE: update to 4.1.9+. Changes:
...
- Fixed bug where extra empty paragraphs would get deleted in WebKit/Blink due to recent Quriks fix.
- Fixed bug where the editor wouldn't work properly on IE 12 due to some required browser sniffing.
- Fixed bug where formatting shortcut keys where interfering with Mac OS X screenshot keys.
Fixes #31895 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32058 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-06 20:37:38 +00:00
Drew Jaynes
e0fe25d49d
Post-beta4 bump.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@32057 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-06 19:06:25 +00:00
Andrew Ozz
e28afd4f46
TinyMCE wpView: resize sandbox iframes on load. Fixes a problem with resizing after all images are loaded.
...
Props iseulde, mattheu. Fixes #31480 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32056 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-06 18:54:22 +00:00
Helen Hou-Sandi
2f368bf396
Insert from URL: Make sure the link text is actually used.
...
Turns out there were more pieces to renaming the field.
props iseulde.
fixes #29476 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32055 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-06 18:24:53 +00:00
Dominik Schilling (ocean90)
d8f439c335
Customizer: Refresh nonces when a session expires and the user logs in again.
...
This was broken since 4.0 and the introduction of user session tokens. The nonces are now tied to session tokens as opposed to user IDs, and thus they change with each re-login.
Custom nonces can be added through the `customize_refresh_nonces` filter. On a successful refresh request the JavaScript API will trigger a `nonce-refresh` event. See widget's update nonce as an example.
props westonruter for initial patch.
fixes #31294 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32054 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-06 15:09:21 +00:00
Helen Hou-Sandi
f64bf71719
Update more instances of default admin blues and grays.
...
props hugobaeta.
fixes #31234 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32051 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-05 21:19:54 +00:00
Drew Jaynes
868d12ef38
Remove unnecessary inline @see tags from a variety of parameter and return descriptions in wp-includes/wp-db.php.
...
See #31888 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32050 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-05 17:16:20 +00:00
Drew Jaynes
131b3d08d2
Remove unnecessary inline @see tags from the wpdb::process_field_charsets() DocBlock.
...
See [30345]. See #31888 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32049 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-05 17:14:14 +00:00
Drew Jaynes
cabc9a964a
Add a missing return description for has_header_image().
...
See [31224]. See #31888 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32048 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-05 17:10:12 +00:00
Drew Jaynes
bec2445b11
Fix a variety of inline documentation syntactical issues in wp-includes/taxonomy.php.
...
See #31888 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32047 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-05 17:07:54 +00:00
Drew Jaynes
239115a7d2
Variously inline documentation syntactical fixes in wp-includes/post-template.php.
...
See #31888 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32046 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-05 16:49:18 +00:00
Drew Jaynes
c7518c36c4
Various inline documentation syntactical fixes in wp-includes/pluggable.php for 4.2 changes.
...
See #31888 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32045 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-05 16:45:34 +00:00
Drew Jaynes
8f8a9e7350
Add a missing @access tag to the DocBlock for the WP_Meta_Query->$clauses property.
...
Also adds a missing return description for `WP_Meta_Query::get_clauses()`.
See [31312]. See #31888 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32044 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-05 16:10:53 +00:00
Drew Jaynes
2b774bf447
Remove unneeded spaces in the hook doc for the attachment_url_to_postid filter.
...
See [31867]. See #31888 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32043 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-05 16:06:02 +00:00
Drew Jaynes
f372dd828e
Various inline documentation syntax fixes in wp-includes/link-template.php.
...
See #31888 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32042 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-05 16:03:12 +00:00
Drew Jaynes
1300ff854a
Add a missing return description for wp_styles().
...
See [31194]. See #31888 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32041 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-05 15:55:28 +00:00
Drew Jaynes
5be0ba0ae8
Add a variety of missing descriptions and fix syntax for wp_scripts(), _wp_scripts_maybe_doing_it_wrong(), and wp_script_add_data().
...
See #31888 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32040 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-05 15:54:08 +00:00
Drew Jaynes
b04e2d5611
Various docs syntax fixes in wp-includes/formatting.php.
...
See #31888 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32039 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-05 15:50:53 +00:00
Drew Jaynes
e3ba57d15d
Remove an unnecessary inline @see tag and document the $wpdb global in two WP_Comment_Query methods.
...
See [31793]. See #31888 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32038 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-05 15:46:24 +00:00
Drew Jaynes
e984069608
Remove backtick-escaping around a core function in the hook docs for the comment_form_submit_field filter.
...
See [31699]. See #31888 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32037 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-05 15:38:57 +00:00
Drew Jaynes
a4d03d360a
Add missing parameter and return descriptions to WP_Customize_Widgets->filter_customize_dynamic_setting_args().
...
See [31370]. See #31888 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32036 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-05 15:35:22 +00:00
Drew Jaynes
efaab521f9
Add parameter and return descriptions for WP_Customize_Widgets->get_setting_type().
...
See [31370]. See #31888 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32035 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-05 15:19:01 +00:00
Drew Jaynes
1f3341f11a
Add missing @access tags to two DocBlocks in WP_Customize_Setting.
...
See [31707]. See #31888 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32034 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-05 15:16:32 +00:00
Drew Jaynes
ab0b6a94c8
Document the $theme property in WP_Customize_Themes_Section.
...
Also adds a missing `@access` tag to the DocBlock for `WP_Customize_Themes_Section->render()`.
See [31533]. See #31888 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32033 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-05 15:09:30 +00:00
Drew Jaynes
0b962deaaa
Fix inline documentation syntax in a variety of DocBlocks and hook docs in WP_Customize_Manager.
...
See [31370]. See #31888 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32032 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-05 15:06:40 +00:00
Drew Jaynes
34a23ca66c
Cleanup DocBlock syntax, add a missing parameter description for WP_Customize_Manager->set_post_value().
...
See [31370]. See #31888 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32031 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-05 15:02:24 +00:00
Drew Jaynes
4bc17916a4
Add inline doc syntax fixes for WP_Customize_Manager->doing_ajax().
...
Also adds a return description.
See [31370]. See #31888 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32030 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-05 14:59:35 +00:00
Drew Jaynes
88ccda8ae8
Add documentation for the $type and $theme properties in WP_Customize_Theme_Control.
...
Also add some missing `@access` tags to various DocBlocks.
See [31533]. See #31888 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32028 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-05 14:52:28 +00:00
Drew Jaynes
4d57614cef
Fix description alignment for the category_css_class filter docs.
...
See [31027]. See #31888 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32026 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-05 14:48:06 +00:00
Drew Jaynes
fd8d9c5883
Correct grammar when referring to "a user" vs "an user" in several places.
...
Props ocean90.
Fixes #31894 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32025 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-05 14:43:57 +00:00
Gary Pendergast
b0c3d0e7c2
Emoji: Remove an errant / in Twemoji URLs.
...
Props tmatsuur.
Fixes #31893 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32024 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-05 07:27:20 +00:00
Drew Jaynes
1463a2c88c
Add documentation for the $type, $mime_type, and $button_labels properties in WP_Customize_Media_Control.
...
See [31698]. See #31888 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32023 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-04 23:04:51 +00:00
Andrew Ozz
3265aad744
TinyMCE wpView:
...
- Fix editor undo levels.
- Remove views and markers in the DOM before serialization.
- Unbind views before removing them on hide.
- Empty the content in the timeout, so it doesn't render iframes twice.
Props iseulde. Fixes #31669 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32022 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-04 22:59:07 +00:00
Boone Gorges
b4420cb788
Use backticks when describing the value_field parameter, er, argument.
...
See [32020].
git-svn-id: https://develop.svn.wordpress.org/trunk@32021 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-04 22:56:04 +00:00
Drew Jaynes
bdbe9f7b1e
The value_field argument is an argument per core vernacular, not a parameter.
...
See [31006]. See #31888 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32020 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-04 22:41:28 +00:00
Andrew Ozz
e66d393d1e
wpLink: always show the URL field at the top.
...
Fixes #28206 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32017 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-04 21:17:22 +00:00
Boone Gorges
468da41811
WP_User_Query: When querying users with 'fields=all', ensure that caps and roles are filled for the current site.
...
See [15566] for a parallel fix for 'fields=all_with_meta'.
Fixes #31878 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32001 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-03 14:13:19 +00:00
Drew Jaynes
3e0278aa94
Post-beta4 bump.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@31998 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-03 13:00:53 +00:00
Drew Jaynes
123b684b84
WordPress 4.2-beta4
...
git-svn-id: https://develop.svn.wordpress.org/trunk@31997 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-03 12:51:02 +00:00
Helen Hou-Sandi
6983294161
Spinners: Toggle a class instead of show/hide.
...
Toggling spinners also now uses visibility instead of display, so that the space is always reserved and nothing moves around unexpectedly.
props cdog, MikeHansenMe, valendesigns.
fixes #22839 . see #31875 , #30725 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31996 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-03 04:51:18 +00:00
Andrew Ozz
c3d7fa68ce
Accessibility improvements for Themes screen: fix keyboard events and callbacks for the Search field, increase trigger timeout a bit, improve Esc. key handling.
...
Props joedolson, adamsilverstein, afercia, DrewAPicture. Fixes #26600 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31994 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-03 02:31:11 +00:00
Andrew Ozz
eacf52a68a
Press This:
...
- Show a spinner while saving a post.
- Do not redirect after saving a draft.
- Make the unidentified error message clearer.
Fixes #31875 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31992 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-03 01:33:30 +00:00
Aaron Jorbin
bd13a5ec12
Add beforeunload string for shiny updates.
...
See #31769 .
Props johnbillion, adamsilverstein, jorbin.
git-svn-id: https://develop.svn.wordpress.org/trunk@31989 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-02 22:35:48 +00:00
Drew Jaynes
3bf1329f40
Beta3 version bump.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@31988 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-02 21:42:49 +00:00
John Blackbourn
d92cc07d91
Correctly set the post author in wp_xmlrpc_server::mw_editPost() when the current user is not the author of the post.
...
Props redsweater, markoheijnen, DrewAPicture
Fixes #24916
git-svn-id: https://develop.svn.wordpress.org/trunk@31983 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-02 15:48:41 +00:00
Aaron Jorbin
dc502287ef
Update aria-label when doing a shiny plugin update
...
Also updates it again when the shiny plugin update is finished.
Also updates it if the shiny update fails
props mehulkaklotar, afercia
Fixes #31722
git-svn-id: https://develop.svn.wordpress.org/trunk@31982 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-02 05:30:13 +00:00
Jeremy Felt
111203b0f6
Check for an active blog before generating the my-sites.php URL.
...
If a super admin does not have an active blog assigned to their account, `$wp_admin_bar->user->active_blog` will be set as `null`. We can then fall back to `admin_url()` to generate the My Sites URL.
Props SergeyBiryukov, deconf.
Fixes #31755 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31981 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-02 05:26:22 +00:00
Sergey Biryukov
4738590d5e
Avoid duplicate classes for different terms with UTF-8 slugs in post_class() and body_class().
...
Fall back to term ID if the sanitized slug is numeric or only contains hyphens.
props SergeyBiryukov, A5hleyRich, sgrant, davideugenepratt.
fixes #30883 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31979 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-02 01:04:22 +00:00
Gary Pendergast
01cbacb308
Emoji: [31938] forgot a / in the emoji CDN URL.
...
See #31651 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31977 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-02 00:10:36 +00:00