Commit Graph

29598 Commits

Author SHA1 Message Date
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
Sergey Biryukov b2a468c1fc After [31941], use the decoupled strings from `wp-admin/network/themes.php` in `wp-admin/network/site-themes.php` as well.
fixes #28502.

git-svn-id: https://develop.svn.wordpress.org/trunk@32029 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-05 14:57: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
Sergey Biryukov 0e236b6e72 `wp_install_maybe_enable_pretty_permalinks()` should have a consistent `@return` value.
props DrewAPicture.
fixes #6481. see #31888.

git-svn-id: https://develop.svn.wordpress.org/trunk@32027 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-05 14:48:23 +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
Drew Jaynes 08a897b58c Clarify the DocBlock summary and parameter description for `wp_edit_attachments_query_vars()`.
See [31037]. See #31888.


git-svn-id: https://develop.svn.wordpress.org/trunk@32019 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-04 21:51:36 +00:00
Drew Jaynes c7fee4fab0 Add proper descriptions for the `@global` and `@param` tags in the `wp_media_attach_action()` DocBlock.
See [31619]. See #31888.


git-svn-id: https://develop.svn.wordpress.org/trunk@32018 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-04 21:34:15 +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
Drew Jaynes 8d8ea0c529 Clarify the DocBlock description for `wp_print_request_filesystem_credentials_modal()`.
See [31811]. See #31888.


git-svn-id: https://develop.svn.wordpress.org/trunk@32016 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-04 21:12:10 +00:00
Drew Jaynes 2a44016ef8 Clarify 4.2.0 changelog entry, add global description to the DocBlock for `WP_Users_List_Table->single_row()`.
See #31888.


git-svn-id: https://develop.svn.wordpress.org/trunk@32015 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-04 21:08:57 +00:00
Drew Jaynes 3e36e59646 Add missing `@since` versions from a variety of methods in `WP_Press_This`.
See [31693]. See #31888.


git-svn-id: https://develop.svn.wordpress.org/trunk@32014 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-04 19:45:48 +00:00
Drew Jaynes 4d751d4e98 Add missing DocBlocks for the `_limit_array()`, `_limit_string()`, `_limit_url()`, `_limit_img()`, `_limit_embed()`, and `_process_meta_entry()` utility methods in `WP_Press_This`.
See [31609]. See #31888.


git-svn-id: https://develop.svn.wordpress.org/trunk@32013 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-04 18:22:30 +00:00
Dominik Schilling (ocean90) 9be177ec95 Customize Widgets: Improve sync logic for select[multiple] inputs.
The current logic doesn't account for the special case of `select[multiple]` inputs which lack a single value to synchronize: The value to synchronize is an array of zero or more values.
This change replaces `_getInputStatePropertyName()` with `_getInputState()`, which returns the state for an input depending on its type, and `_setInputState()`, which updates an input's state based on its type.

props westonruter.
fixes #31885.

git-svn-id: https://develop.svn.wordpress.org/trunk@32012 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-04 16:33:24 +00:00
Drew Jaynes 58ee5beced Fix filter doc vernacular for the `quick_edit_show_taxonomy` filter.
See [31308]. See #31888.


git-svn-id: https://develop.svn.wordpress.org/trunk@32011 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-04 16:07:48 +00:00
Drew Jaynes d0d60543ae Fix syntax for the `$to_display` parameter description in the DocBlock for `WP_Posts_List_Table->_page_rows()`.
See [31730]. See #31888.


git-svn-id: https://develop.svn.wordpress.org/trunk@32010 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-04 16:03:20 +00:00
Drew Jaynes 472b335948 Add a return description to the DocBlock for `WP_Posts_List_Table->is_base_request()`.
See [31828]. See #31888.


git-svn-id: https://develop.svn.wordpress.org/trunk@32009 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-04 16:00:08 +00:00
Dominik Schilling (ocean90) d5c14c102b Customizer: Fix spinners after [31996].
props westonruter.
fixes #31884.

git-svn-id: https://develop.svn.wordpress.org/trunk@32008 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-04 15:41:45 +00:00
Drew Jaynes f937bdc6ce Fix typos in the function summaries for `wp_ajax_press_this_save_post()` and `wp_ajax_press_this_add_category()`.
See [31534]. See #31888.


git-svn-id: https://develop.svn.wordpress.org/trunk@32007 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-04 14:37:16 +00:00
Drew Jaynes 5394bd31a0 Add an `@see` mention for `Plugin_Upgrader`, plus spacing to the `wp_ajax_update_plugin()` delcaration.
See #31888.


git-svn-id: https://develop.svn.wordpress.org/trunk@32006 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-04 14:18:52 +00:00
Drew Jaynes 3e5eeaf6f0 Add a more descriptive function summary for `options_discussion_add_js()`.
See [31095]. See #31888.


git-svn-id: https://develop.svn.wordpress.org/trunk@32005 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-04 14:15:49 +00:00
Dominik Schilling (ocean90) b152b46c0e Customizer Theme Switcher: Remove "Add New" reference from customize-controls.js.
see #31837.

git-svn-id: https://develop.svn.wordpress.org/trunk@32004 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-04 14:13:14 +00:00
Drew Jaynes f76ed758b8 Fix Docblock syntax for the `taxonomy_parent_dropdown_args` filter.
See [30998]. See #31888


git-svn-id: https://develop.svn.wordpress.org/trunk@32003 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-04 14:12:04 +00:00
Boone Gorges ddb33c9aed After [31114] and [31323], 'View Post' generated in `get_sample_permalink_html()` should go to pretty permalink.
`get_permalink()` will return a non-pretty permalink for future posts, which
breaks some user workflows that expect View Post to lead to a page with the
pretty permalink.

Fixes #30910.

git-svn-id: https://develop.svn.wordpress.org/trunk@32002 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-04 01:26:08 +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
Boone Gorges 86f074ffde Unit tests verifying the filling of the 'roles' and 'caps' user properties during `WP_User_Query`.
See #31878.

git-svn-id: https://develop.svn.wordpress.org/trunk@32000 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-03 14:13:11 +00:00
Sergey Biryukov 667899569f Remove hidden `user_id` input from `wp_comment_reply()`.
Since [31172], it caused the comment's `user_id` field to be unexpectedly changed to the user who edits the comment.

See [31776] for Edit Comment screen.

props dllh.
fixes #30307.

git-svn-id: https://develop.svn.wordpress.org/trunk@31999 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-03 13:27:32 +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 ca908b2056 Themes screen: remove extra debounce when searching.
Props evansolomon. Fixes #31812.

git-svn-id: https://develop.svn.wordpress.org/trunk@31995 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-03 02:36:36 +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 04fbf4cd60 Accessibility improvements for Options general screen: add missing labels and aria attributes.
Props DrewAPicture, afercia. Fixes #31144.

git-svn-id: https://develop.svn.wordpress.org/trunk@31993 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-03 01:54:47 +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
John Blackbourn a0bd96bafb Introduce a string representing bulk plugin update success, ready for string freeze. Not used yet.
See #31770.


git-svn-id: https://develop.svn.wordpress.org/trunk@31991 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-03 00:17:20 +00:00
Dion Hulse 248c73b1cf Plugins Browser: Replace the download count with the number of Active installs of the plugin.
Fixes #31865


git-svn-id: https://develop.svn.wordpress.org/trunk@31990 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-02 23:48:26 +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
Andrew Ozz 4527b2cbb4 Press This: prevent pasting of HTML in the title H2. Insert the clipboard text instead.
Fixes #31768.

git-svn-id: https://develop.svn.wordpress.org/trunk@31987 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-02 21:10:28 +00:00
Sergey Biryukov 08e6f5306e Remove unnecessary `echo()`, add translator comment.
props ramiy.
fixes #31873.

git-svn-id: https://develop.svn.wordpress.org/trunk@31986 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-02 19:00:08 +00:00
Dominik Schilling (ocean90) 2563a4f802 Customizer: Update selector, missed in [31984].
see #28784.

git-svn-id: https://develop.svn.wordpress.org/trunk@31985 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-02 17:17:19 +00:00