Commit Graph

27225 Commits

Author SHA1 Message Date
Dominik Schilling (ocean90) 1264558022 Media Grid improvements:
* Remove fixed elements.
* Adjusts toolbar and search, fixes #28833.
* Add link to Add New button, fixes #28825.
* Add "Edit Metadata" tab to all items, "Edit Image" only for images
* Make strings translatable.
* First pass for help tab.

see #28850.

git-svn-id: https://develop.svn.wordpress.org/trunk@29136 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-13 16:15:36 +00:00
Dominik Schilling (ocean90) cf0e666184 Customizer: Make panel title translatable too.
props michalzuber.
see #27406.

git-svn-id: https://develop.svn.wordpress.org/trunk@29135 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-13 15:12:00 +00:00
Sergey Biryukov 092e51042c Use assertEqualSets() instead of direct array comparison.
see #28434.

git-svn-id: https://develop.svn.wordpress.org/trunk@29134 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-13 11:27:07 +00:00
Dominik Schilling (ocean90) 33db0d4ff2 Lists View Switcher: Replace blank image with screen reader text.
props davidakennedy.
fixes #28871.

git-svn-id: https://develop.svn.wordpress.org/trunk@29133 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-13 11:04:21 +00:00
Dominik Schilling (ocean90) d5eca1c19f Customizer: Make screen reader text translatable.
see #27406.

git-svn-id: https://develop.svn.wordpress.org/trunk@29132 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-13 10:53:45 +00:00
Dominik Schilling (ocean90) 39fe2b445c Media Grid: Remove CSS transition from inline uploader.
props ericlewis.
fixes #28840.
see #28851.

git-svn-id: https://develop.svn.wordpress.org/trunk@29131 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-13 10:43:32 +00:00
Dominik Schilling (ocean90) d198c0bdd5 Remove unused variable in `wp_dashboard_plugins_output()`. Unused since [26144].
props michalzuber.
see #28872.

git-svn-id: https://develop.svn.wordpress.org/trunk@29130 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-13 10:30:53 +00:00
Drew Jaynes (DrewAPicture) 6fb887a1e6 Add indentation for the hash notation missed in [29128].
See #28841.


git-svn-id: https://develop.svn.wordpress.org/trunk@29129 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-13 04:17:10 +00:00
Drew Jaynes (DrewAPicture) 810aeb40d4 Convert default arguments documentation for `get_terms()` into a hash notation.
See #28841.


git-svn-id: https://develop.svn.wordpress.org/trunk@29128 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-13 04:14:39 +00:00
Andrew Ozz 9cc9f95cd2 TinyMCE wpView: better handling of the Enter key, props avryl, see #28595
git-svn-id: https://develop.svn.wordpress.org/trunk@29127 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-13 00:33:58 +00:00
Andrew Ozz c46233940f TinyMCE wpView: fix selecting views on click, part props avryl, see #28595
git-svn-id: https://develop.svn.wordpress.org/trunk@29126 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-12 22:50:19 +00:00
Dominik Schilling (ocean90) 1285d1450b Improvements to the plugin information modal:
* Whitespace/braces cleanup for [29040].
* Reduce width of modal to 792px, which is the default banner size.
* Reduce banner height when screen height is smaller than 500px.
* Remove inline CSS.
* Re-use tab var in JS.
* Encode ampersands in links.

props avryl, michalzuber, ocean90.
see #27440.


git-svn-id: https://develop.svn.wordpress.org/trunk@29125 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-12 22:07:16 +00:00
Dominik Schilling (ocean90) c7f2a54dc8 Themes: Don't set background color for the filter icon.
fixes #28860.


git-svn-id: https://develop.svn.wordpress.org/trunk@29124 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-12 19:48:24 +00:00
Sergey Biryukov c52f02cc3f Use correct ID for plugin search input label.
Make the search button name and ID consistent with the ones in WP_List_Table::search_box().

props joedolson.
fixes #28856.

git-svn-id: https://develop.svn.wordpress.org/trunk@29123 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-12 17:44:51 +00:00
Dominik Schilling (ocean90) 7580577e82 Don't use box shadow focus styling for widget arrows, see #28267.
fixes #28834.
props nvwd.

git-svn-id: https://develop.svn.wordpress.org/trunk@29122 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-12 15:46:27 +00:00
Dominik Schilling (ocean90) 911da56fe8 Improve styling of progress bar on wp-admin/media-new.php.
props Ipstenu for initial patch.
fixes #28838.

git-svn-id: https://develop.svn.wordpress.org/trunk@29121 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-12 14:51:30 +00:00
Scott Taylor d97b10eecf Wouldn't it be incredible if you could run Unit Tests without all of your uploads being indiscriminately blown away and your upload folder permissions being destroyed?
The Future Is Now.

Fixes #28847.


git-svn-id: https://develop.svn.wordpress.org/trunk@29120 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-12 07:08:15 +00:00
Scott Taylor 04b0ec782b The 2nd argument to `array_unique()` was added to PHP in 5.2.9, so don't use it. We have to use our own code to return unique terms when `fields => all` in `wp_get_object_terms()`.
See #28843 and [28583].


git-svn-id: https://develop.svn.wordpress.org/trunk@29119 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-12 03:53:34 +00:00
Scott Taylor 63cb20cc5a Repent for our original OOP sins and doc blocks as pertains to access modifiers in List Table + subclasses.
Props SergeyBiryukov.
See #28843 and [28583].


git-svn-id: https://develop.svn.wordpress.org/trunk@29118 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-12 03:26:40 +00:00
Andrew Ozz dbb367bee8 Editor scrolling: disable on mobile devices and hide the resize handle. See #28328.
git-svn-id: https://develop.svn.wordpress.org/trunk@29117 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-12 00:53:08 +00:00
Drew Jaynes (DrewAPicture) d42f6c10af Convert default arguments documentation for `wp_insert_user()` into a hash notation.
See #28841.


git-svn-id: https://develop.svn.wordpress.org/trunk@29116 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-12 00:20:14 +00:00
Drew Jaynes (DrewAPicture) 0cef622342 Convert default arguments documentation for `wp_dropdown_users()` into a hash notation.
See #28841.


git-svn-id: https://develop.svn.wordpress.org/trunk@29115 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-12 00:07:18 +00:00
John Blackbourn a3d84ae66f Update the oEmbed provider inline docs
git-svn-id: https://develop.svn.wordpress.org/trunk@29114 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-11 23:38:01 +00:00
Drew Jaynes (DrewAPicture) e347ef267d Convert default arguments documentation for `get_posts()` into a hash notation.
Props coffee2code for the initial patch.
See #28841.


git-svn-id: https://develop.svn.wordpress.org/trunk@29113 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-11 23:33:33 +00:00
Drew Jaynes (DrewAPicture) 01350ad5a7 Convert default arguments documentation for `wp_page_menu()` into a hash notation.
Props coffee2code for the initial patch/
See #28841.


git-svn-id: https://develop.svn.wordpress.org/trunk@29112 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-11 23:12:42 +00:00
Drew Jaynes (DrewAPicture) 45464b4369 Convert default arguments documentation for `get_bookmarks()` into a hash notation.
Props coffee2code for the initial patch.
See #28841.


git-svn-id: https://develop.svn.wordpress.org/trunk@29111 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-11 23:02:51 +00:00
John Blackbourn 08f7b699f5 Add support for secure wordpress.tv embeds (thanks stephdau). See #28507.
git-svn-id: https://develop.svn.wordpress.org/trunk@29110 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-11 23:00:36 +00:00
Drew Jaynes (DrewAPicture) 3509d375f1 Add indentation for the hash notation missed in [29108].
See #28841.


git-svn-id: https://develop.svn.wordpress.org/trunk@29109 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-11 22:58:08 +00:00
Drew Jaynes (DrewAPicture) 5ce6c92c26 Convert default arguments documentation for `_walk_bookmarks()` and `wp_list_bookmarks()` into hash notations.
Props coffee2code for the initial patch.
See #28841.


git-svn-id: https://develop.svn.wordpress.org/trunk@29108 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-11 22:53:09 +00:00
Drew Jaynes (DrewAPicture) 9406ccb8c6 Convert default arguments documentation for WP_Http_Cookie::__construct() into a hash notation.
Props coffee2code for the initial patch.
See #28841.


git-svn-id: https://develop.svn.wordpress.org/trunk@29107 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-11 22:49:50 +00:00
Scott Taylor 8dddb7334f Media Grid, for audio files: show Bitrate in the Edit Attachments modal a la the Edit Post screen.
See #28839.


git-svn-id: https://develop.svn.wordpress.org/trunk@29106 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-11 21:55:24 +00:00
Scott Taylor 16a70197ed In the Post/Select frames, for audio files:
* Show `artist` and `album` fields in the Attachment Details sidebar
* Sync their values on `change`

See #28839.


git-svn-id: https://develop.svn.wordpress.org/trunk@29105 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-11 21:01:08 +00:00
Scott Taylor d1f4b3a800 Media Grid, for audio files:
* Show `artist` and `album` fields in the Edit Attachment modal
* Sync their values on `change`

See #28839.


git-svn-id: https://develop.svn.wordpress.org/trunk@29104 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-11 20:54:13 +00:00
Dominik Schilling (ocean90) 0e2dafc159 Customizer: Use theme support defaults for background images.
props philipjohn.
fixes #28586.

git-svn-id: https://develop.svn.wordpress.org/trunk@29103 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-11 20:26:55 +00:00
Dominik Schilling (ocean90) c12d10d0b9 Add missing filter doc, see [29043].
see #27627.

git-svn-id: https://develop.svn.wordpress.org/trunk@29102 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-11 19:23:25 +00:00
Lance Willett 26faa2ab08 Twenty Fourteen: fix a display issue in screen sizes over 846 pixels where a post's featured image covers the post meta of the post above.
Props kraftbj and obenland, fixes #28649.

git-svn-id: https://develop.svn.wordpress.org/trunk@29101 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-11 19:23:22 +00:00
Lance Willett 0248087936 Twenty Fourteen: fix header display on multisite signup and activate views. Fixes #28573, props slobodanmanic.
git-svn-id: https://develop.svn.wordpress.org/trunk@29100 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-11 19:03:28 +00:00
Sergey Biryukov 8a45aefe56 Escape taxonomy name when used in attributes in post_categories_meta_box().
props pbearne.
fixes #28836.

git-svn-id: https://develop.svn.wordpress.org/trunk@29099 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-11 18:55:48 +00:00
Scott Taylor effde9e96b Media Grid: after [29085], also handle `MEDIA_TRASH`.
See #24716.


git-svn-id: https://develop.svn.wordpress.org/trunk@29098 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-11 18:49:12 +00:00
Drew Jaynes (DrewAPicture) f498128aa9 Fix syntax for inline comment line endings and a few line wraps in wp-includes/post.php inline documentation.
Fixes #25412.


git-svn-id: https://develop.svn.wordpress.org/trunk@29097 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-11 18:34:36 +00:00
Lance Willett ebbb1684bf Twenty Fourteen: more graceful handling of super-long site titles in small screens: add an ellipsis and adjust `max-width` more carefully.
Props celloexpressions, schoenwaldnils, and obenland -- fixes #28237.

git-svn-id: https://develop.svn.wordpress.org/trunk@29096 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-11 18:00:28 +00:00
Lance Willett b8340bc9bc Twenty Twelve: make small-screen menu accessible to keyboard commands and voice-driven software by using a focusable button element rather than `h3` for the toggle element. Fixes #28224, props rclations.
git-svn-id: https://develop.svn.wordpress.org/trunk@29095 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-11 17:46:11 +00:00
Drew Jaynes (DrewAPicture) 93130f6a29 General inline documentation improvements in wp-includes/post.php.
Final-run. Fixes #25412.


git-svn-id: https://develop.svn.wordpress.org/trunk@29094 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-11 11:15:49 +00:00
Drew Jaynes (DrewAPicture) 51e97631f8 General inline documentation improvements in wp-includes/post.php.
Third-run. See #25412.


git-svn-id: https://develop.svn.wordpress.org/trunk@29093 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-11 10:27:02 +00:00
Drew Jaynes (DrewAPicture) 479b541dd1 General inline documentation improvements in wp-includes/post.php.
Second-run. See #25412.


git-svn-id: https://develop.svn.wordpress.org/trunk@29092 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-11 08:15:52 +00:00
Drew Jaynes (DrewAPicture) 628141afbf Convert phpDoc for `register_post_type()` to use a hash notation for the `$args` array.
See #25412.


git-svn-id: https://develop.svn.wordpress.org/trunk@29091 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-11 07:55:38 +00:00
Drew Jaynes (DrewAPicture) c7171e832d General inline documentation improvements in wp-includes/post.php.
First-run. See #25412.


git-svn-id: https://develop.svn.wordpress.org/trunk@29090 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-11 07:00:38 +00:00
Scott Taylor d75a332871 Media Grid:
* Don't store multiple references to the Edit Attachments frame.
* Fix keyboard navigation event delegation and proxy.
* Remove redundant function calls.

See #24716.


git-svn-id: https://develop.svn.wordpress.org/trunk@29089 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-11 06:38:51 +00:00
Scott Taylor 0f50df6cbd Media Grid, in the Edit Attachment modal:
* Label the fields under the attachment a la the Edit Media page
* Move the audio and video previews above the info
* Remove the audio / video icon display. Unnecessary.
* Ensure that `width` and `max-width` are set for `.mejs-container`

See #24716.


git-svn-id: https://develop.svn.wordpress.org/trunk@29088 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-11 06:14:31 +00:00
Scott Taylor aba2e372e0 Media Grid: "Add New" should open and close, not just open.
See #24716.


git-svn-id: https://develop.svn.wordpress.org/trunk@29087 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-11 05:43:26 +00:00