Commit Graph

30588 Commits

Author SHA1 Message Date
Drew Jaynes
42b2d22710 Fix syntax and add missing @access tags to a variety of methods added to WP_Customize_Nav_Menus_Panel in 4.3.
See [32855]. See #32891.


git-svn-id: https://develop.svn.wordpress.org/trunk@33219 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 20:43:51 +00:00
Drew Jaynes
b42a56b8c7 Fix syntax and add missing @access tags to various methods in WP_Customize_Nav_Menus, added in 4.3.
See [32806]. See #32891.


git-svn-id: https://develop.svn.wordpress.org/trunk@33218 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 20:38:13 +00:00
Drew Jaynes
06608b167b Fix parameter descriptions for two methods added to WP_Customize_Manager in 4.3.
See [32658]. See #32891.


git-svn-id: https://develop.svn.wordpress.org/trunk@33217 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 20:31:50 +00:00
Drew Jaynes
19629bda41 Fix missing or inconsistent parameter descriptions for constructors in WP_Customize_Control, WP_Customize_Color_Control, WP_Customize_Media_Control, WP_Customize_Image_Control, WP_Customize_Background_Image_Control, WP_Customize_Site_Icon_Control, WP_Customizer_Header_Image_Control, and WP_Customize_Nav_Menu_Item_Control.
See #32891. See #32246.


git-svn-id: https://develop.svn.wordpress.org/trunk@33216 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 20:24:29 +00:00
DrewAPicture
a4086a6432 Fix inline documentation syntax, and/or add missing @access tags for a variety of Customizer subclasses and methods added in 4.3.
See #32891.


git-svn-id: https://develop.svn.wordpress.org/trunk@33215 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 20:16:02 +00:00
Drew Jaynes
af2e4e158b Fix summaries for for WP_User->__call() and wp_roles(), both added in 4.3.
See [32731], [32548]. See #32891.


git-svn-id: https://develop.svn.wordpress.org/trunk@33214 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 20:00:46 +00:00
Drew Jaynes
7b677473f7 Fix the summary and parameter description for wp_admin_bar_customize_menu() added in 4.3.
See [33130]. See #32891.


git-svn-id: https://develop.svn.wordpress.org/trunk@33213 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 19:57:14 +00:00
Drew Jaynes
b7bc240602 Fix summaries and add missing @global descriptions to the upgrade_430_fix_comments() and split_all_shared_terms() functions added in 4.3.
See [33020], [32643]. See #32891.


git-svn-id: https://develop.svn.wordpress.org/trunk@33212 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 19:55:37 +00:00
Drew Jaynes
e7fe7ee764 Add a description for the dynamic portion of the nav_menu_items_{$post_type_name}_recent filter added in 4.3.
See [32833]. See #32891.


git-svn-id: https://develop.svn.wordpress.org/trunk@33211 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 19:50:41 +00:00
Drew Jaynes
760563a3c5 Fix the summary for the WP_Users_List_Table->get_default_primary_column_name() method added in 4.3.
See [32644]. See #32891.


git-svn-id: https://develop.svn.wordpress.org/trunk@33210 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 19:48:01 +00:00
Drew Jaynes
0aecc0ce8b Fix inline documentation syntax in the WP_Upgrader->clear_destination() method added in 4.3.
See [32854]. See #32891.


git-svn-id: https://develop.svn.wordpress.org/trunk@33209 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 19:45:45 +00:00
Konstantin Obenland
62da20af9e Passwords: Add trailing periods in new strings.
Props akibjorklund.
See #32589.



git-svn-id: https://develop.svn.wordpress.org/trunk@33208 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 18:29:58 +00:00
Drew Jaynes
794b64438d Fix summaries for two methods added to WP_Terms_List_Table in 4.3.
See [32644]. See #32891.


git-svn-id: https://develop.svn.wordpress.org/trunk@33207 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 18:21:24 +00:00
Konstantin Obenland
71ffa6195e Passwords: Improve display of show/hide toggle for touch and small-screen devices.
See #32589.



git-svn-id: https://develop.svn.wordpress.org/trunk@33206 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 18:20:21 +00:00
Drew Jaynes
5df16d63ac Re-add parameter names to the add() DocBlock in wptextpattern accidentally replaced only with descriptions in [33200].
Props iseulde.
See #32891.


git-svn-id: https://develop.svn.wordpress.org/trunk@33205 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 18:08:48 +00:00
Drew Jaynes
c68c1ade16 Add missing summaries, @access tags, and some parameter descriptions for methods added to WP_Links_List_Table in 4.3.
See [32753]. See #32891.


git-svn-id: https://develop.svn.wordpress.org/trunk@33204 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 18:02:38 +00:00
Drew Jaynes
9f10dd65fb Add a true return description to the test() method added to wpEmoji in 4.3.
See [32335]. See #32891.


git-svn-id: https://develop.svn.wordpress.org/trunk@33203 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 17:58:36 +00:00
Konstantin Obenland
804a008eb1 Site Icon: Add Android-specific app icon.
Falling back to Apple app icons is deprecated behavior and will not work
forever. 192px is the recommended size for that icon.

Props kraftbj.
Fixes #32964.



git-svn-id: https://develop.svn.wordpress.org/trunk@33202 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 17:57:19 +00:00
Drew Jaynes
b1a3776a86 Minor documentation fixes for the wp.a11y.speak() and addContainer() DocBlocks.
See [33000]. See #32891.


git-svn-id: https://develop.svn.wordpress.org/trunk@33201 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 17:57:01 +00:00
Drew Jaynes
5b766e2082 Add true descriptions to parameters for the add() method for wptextpattern, added in 4.3.
See [32703]. See #32891.


git-svn-id: https://develop.svn.wordpress.org/trunk@33200 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 17:54:42 +00:00
Drew Jaynes
5251b3406a Add missing summaries, @access tags, and some parameter descriptions for methods added to WP_MS_Sites_List_Table in 4.3.
See [32755]. See #32891.


git-svn-id: https://develop.svn.wordpress.org/trunk@33199 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 17:52:43 +00:00
Drew Jaynes
60d32793d4 Improving formatting for various pieces of inline documentation in the new WP_Site_Icon class added in 4.3.
See [32994]. See #32891.


git-svn-id: https://develop.svn.wordpress.org/trunk@33198 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 17:50:41 +00:00
Drew Jaynes
f43e6e1d38 Add missing summaries, @access tags, and some parameter descriptions to methods added to WP_Posts_List_Table in 4.3.
See [32740]. See #32891.


git-svn-id: https://develop.svn.wordpress.org/trunk@33197 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 17:48:07 +00:00
Drew Jaynes
32c3c59944 Fix the DocBlock summary for WP_Plugins_List_Table->get_primary_column_name(), added in 4.3.
See [32644]. See #32891.


git-svn-id: https://develop.svn.wordpress.org/trunk@33196 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 17:45:16 +00:00
Drew Jaynes
79422e9136 Add missing summaries and parameter descriptions to new methods added to WP_MS_Users_List_Table in 4.3.
See [32757]. See #32891.


git-svn-id: https://develop.svn.wordpress.org/trunk@33195 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 17:42:41 +00:00
Jeremy Felt
867f582b16 Handle MS Sites bulk action verification separately from individual actions.
After [33173], bulk actions would not process due to broken verification of the `bulk-sites` action. This reintroduces the proper action and treats bulk actions differently than individual site actions.

See #32963.


git-svn-id: https://develop.svn.wordpress.org/trunk@33194 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 17:23:55 +00:00
Drew Jaynes
4d1e0e26bb Add missing summaries to new methods added to WP_MS_Themes_List_Table in 4.3.
See [32756]. See #32891.


git-svn-id: https://develop.svn.wordpress.org/trunk@33193 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 16:12:58 +00:00
John Blackbourn
28ef7b69e5 Place the locale inside the md5 hash in the dashboard RSS feed widget transient key to prevent the transient timeout option name becoming longer than the allowed field size.
Props andg
Fixes #32804


git-svn-id: https://develop.svn.wordpress.org/trunk@33192 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 15:31:54 +00:00
Dominik Schilling (ocean90)
89770100d3 Customizer: Fix broken cap check in WP_Customize_Nav_Menus::ajax_search_available_items.
see #33163.

git-svn-id: https://develop.svn.wordpress.org/trunk@33191 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 14:30:21 +00:00
John Blackbourn
82787b5842 Correct a parameter name in the docs for wp_insert_category().
git-svn-id: https://develop.svn.wordpress.org/trunk@33190 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 12:58:07 +00:00
Weston Ruter
4a849e7c24 Customizer: Disambiguate a menu's auto-add pages option from preceding menu location checkboxes.
Creates a separate `nav_menu_auto_add` control type following the pattern of the `nav_menu_name` control type.

Props valendesigns.
Fixes #32820.


git-svn-id: https://develop.svn.wordpress.org/trunk@33189 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 08:39:17 +00:00
Jeremy Felt
77300bcc92 Tests: Check downsized images against dynamic rather than static filename when original is expected.
See #32971.


git-svn-id: https://develop.svn.wordpress.org/trunk@33188 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 03:33:38 +00:00
Andrew Ozz
698faf3b17 TinyMCE:
- Go back to encoding the editor content only when TinyMCE is used.
- Add check and encode `</textarea>` if present.
See #32425.

git-svn-id: https://develop.svn.wordpress.org/trunk@33187 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 03:18:47 +00:00
Jeremy Felt
9f3cf9026d Network Admin: Improved header information in Edit Site tabs.
* Use the site's name rather than URL in the Edit Site header.
* Provide "Visit" and "Dashboard" links for the site on all tabs.

Props @Fab1en, @jeremyfelt.
Fixes #32525.


git-svn-id: https://develop.svn.wordpress.org/trunk@33186 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 00:26:21 +00:00
Jeremy Felt
e223663d3d Add explicit testing for pre_get_space_used() filter.
See #30202.


git-svn-id: https://develop.svn.wordpress.org/trunk@33185 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 00:13:25 +00:00
Jeremy Felt
6df1337645 Exclude individual site directories when calculating space used for the main site.
* Add an `$exclude` parameter to `recurse_dirsize()`.
* Use this parameter in `get_dirsize()` to exclude `/sites` when on the main site.
* Add tests for main site and switched site.

Props @earnjam, @jeremyfelt.
Fixes #30202.


git-svn-id: https://develop.svn.wordpress.org/trunk@33184 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 00:06:39 +00:00
John Blackbourn
9889311217 Append the current locale to dashboard RSS widget cache keys so they refresh accordingly when the locale is changed.
Fixes #32804
Props andg


git-svn-id: https://develop.svn.wordpress.org/trunk@33183 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-12 22:06:56 +00:00
Aaron Jorbin
b43acd115c Add Unit Tests for get_objects_in_term()
Props rodrigosprimo.
Fixes #32946.



git-svn-id: https://develop.svn.wordpress.org/trunk@33182 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-12 20:12:19 +00:00
Konstantin Obenland
a9ca47a7be Site Icon: Unit tests for WP_Site_Icon and its API.
Props obenland, jorbin.
See #16434.



git-svn-id: https://develop.svn.wordpress.org/trunk@33181 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-12 20:06:10 +00:00
Konstantin Obenland
3ead3aa25f Site Icon: Improve a11y in Settings.
Props afercia.
Fixes #32970.



git-svn-id: https://develop.svn.wordpress.org/trunk@33180 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-12 19:42:24 +00:00
Drew Jaynes
47502713ec Add missing summaries and @access tags to methods added to WP_Media_List_Table in 4.3.
See [32754]. See #32891.


git-svn-id: https://develop.svn.wordpress.org/trunk@33179 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-12 18:33:59 +00:00
Drew Jaynes
9429edbd60 Fix the summaries for a few methods and hooks added to WP_List_Table in 4.3.
See [32644]. See #32891.


git-svn-id: https://develop.svn.wordpress.org/trunk@33178 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-12 18:31:09 +00:00
Drew Jaynes
484cc0db21 Fix the summary and add a missing variable in the hook docs for the edit_comment_misc_actions filter.
See [32929]. See #32891.


git-svn-id: https://develop.svn.wordpress.org/trunk@33177 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-12 18:28:28 +00:00
Drew Jaynes
c2cd7bfc2f Fix filter doc vernacular for the new wp_ajax_cropped_attachment_id hook added in 4.3.
See #32891.


git-svn-id: https://develop.svn.wordpress.org/trunk@33176 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-12 18:25:17 +00:00
Aaron Jorbin
c6e3b84c48 Add dbDelta insert test
Test to make sure that dbDelta properly inserts a value into the DB.

Props tryon, jtsternberg, ebinnion, JPry, avnarun, kevkoeh, salcode.
Fixes #29020.



git-svn-id: https://develop.svn.wordpress.org/trunk@33175 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-12 17:28:15 +00:00
Dominik Schilling (ocean90)
9824007fc3 Nav menus: Add an ID attribute to the menu select box to link it with the label.
see #31816.
fixes #32699.

git-svn-id: https://develop.svn.wordpress.org/trunk@33174 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-12 12:07:15 +00:00
Jeremy Felt
ca0aa3f19a Add better handling for actions and messaging in MS Sites List Table row actions
* Simplify URLs used for row actions to remove messaging and site domain/path.
* Use confirmation messaging from a managed list of actions when handling the request.
* Find the site address from the site ID rather than using information passed in the URL.

Fixes #32963.


git-svn-id: https://develop.svn.wordpress.org/trunk@33173 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-12 02:35:11 +00:00
Jeremy Felt
02b67f6dcc Restrict search inputs in network dashboard's Right Now to max width of 100%.
This prevents the fields from bleeding outside of the widget area on smaller mobile devices.

See #32846.


git-svn-id: https://develop.svn.wordpress.org/trunk@33172 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-11 23:16:55 +00:00
Jeremy Felt
a9da66e853 Restrict textarea fields in network setup to a max width of 100%.
This avoids the content overrunning the screen on mobile devices.

See #32846.


git-svn-id: https://develop.svn.wordpress.org/trunk@33171 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-11 22:52:01 +00:00
Andrew Ozz
b780b94487 TinyMCE, shortcuts help popup: do not use translatable strings for the keys.
See #31441.

git-svn-id: https://develop.svn.wordpress.org/trunk@33170 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-11 22:36:58 +00:00