Commit Graph

27185 Commits

Author SHA1 Message Date
Andrew Ozz 27cd1b4f92 Editor scrolling: set max-width: 100% for the text editor clone instead of always resizing it. See #29246.
git-svn-id: https://develop.svn.wordpress.org/trunk@29524 602fd350-edb4-49c9-b593-d223f7449a82
2014-08-18 01:12:31 +00:00
Andrew Ozz dcba23a58e Editor scrolling:
- Properly handle change of sidebar height when opening, closing or hiding postboxes.
- Add a flag when to start pinning. Set it to few pixels more than the initial editor height.
See #28328

git-svn-id: https://develop.svn.wordpress.org/trunk@29523 602fd350-edb4-49c9-b593-d223f7449a82
2014-08-18 00:34:45 +00:00
Andrew Ozz 53488d1404 Editor scrolling: always resize the text editor clone so it doesn't "push" the parent's width over 100%, fixes #29246.
git-svn-id: https://develop.svn.wordpress.org/trunk@29522 602fd350-edb4-49c9-b593-d223f7449a82
2014-08-17 21:32:10 +00:00
Andrew Ozz ed01241d4b TinyMCE: fix the edit image and wpview buttons on touch screen PCs, fixes #29235.
git-svn-id: https://develop.svn.wordpress.org/trunk@29521 602fd350-edb4-49c9-b593-d223f7449a82
2014-08-17 20:10:16 +00:00
Dominik Schilling (ocean90) 712b9d0897 Dashicons: Update to the latest dashicons files.
New icons:
* .dashicons-calendar-alt (f508)
* .dashicons-carrot (f511)
* .dashicons-grid-view (f509)
* .dashicons-index-card (f510)

props liljimmi, melchoyce, empireoflight.
see #27844.

git-svn-id: https://develop.svn.wordpress.org/trunk@29520 602fd350-edb4-49c9-b593-d223f7449a82
2014-08-17 15:00:40 +00:00
Dominik Schilling (ocean90) a6da7fd8f2 Restore focus styles for checkboxes and radio buttons. Broken since [29465].
fixes #28262.

git-svn-id: https://develop.svn.wordpress.org/trunk@29519 602fd350-edb4-49c9-b593-d223f7449a82
2014-08-17 14:18:05 +00:00
Dominik Schilling (ocean90) 7de002f960 Admin Menu: Auto fold the menu at 960px.
This gives us some more room at the post edit screen.

props vinod dalvi for initial patch.
fixes #28592.

git-svn-id: https://develop.svn.wordpress.org/trunk@29518 602fd350-edb4-49c9-b593-d223f7449a82
2014-08-17 14:14:09 +00:00
Dominik Schilling (ocean90) a1aa297d82 Media Grid: Improve position of fixed toolbar at small-screen sizes.
see #28842.

git-svn-id: https://develop.svn.wordpress.org/trunk@29517 602fd350-edb4-49c9-b593-d223f7449a82
2014-08-17 14:02:16 +00:00
John Blackbourn 6dfb2d6ec5 Avoid a PHP notice if you manually navigate to `/wp-admin/install.php?step=2`. See #28577.
git-svn-id: https://develop.svn.wordpress.org/trunk@29516 602fd350-edb4-49c9-b593-d223f7449a82
2014-08-17 13:59:10 +00:00
Dominik Schilling (ocean90) 1ba2f5c853 Fix expected value in `Tests_Media::test_video_shortcode_body()`.
Since [29457] the `.wp-video` wrapper for a video has a height set.

fixes #29110.

git-svn-id: https://develop.svn.wordpress.org/trunk@29515 602fd350-edb4-49c9-b593-d223f7449a82
2014-08-17 11:48:03 +00:00
Dominik Schilling (ocean90) 663164eeca Add a label to site language setting.
see #15677.

git-svn-id: https://develop.svn.wordpress.org/trunk@29514 602fd350-edb4-49c9-b593-d223f7449a82
2014-08-17 09:44:18 +00:00
azaozz 652e929bff TinyMCE wpView: add small delay before inserting wpview sandbox iframes into the DOM. Fixes a problem in Firefox that may prevent rendering them. Fixes #29241.
git-svn-id: https://develop.svn.wordpress.org/trunk@29513 602fd350-edb4-49c9-b593-d223f7449a82
2014-08-17 03:42:03 +00:00
Dominik Schilling (ocean90) 3211b09ed4 Use correct form name for translation updates.
props netweb.
fixes #28198.

git-svn-id: https://develop.svn.wordpress.org/trunk@29512 602fd350-edb4-49c9-b593-d223f7449a82
2014-08-16 10:00:00 +00:00
Sergey Biryukov de313ebf30 * Add span to the list of allowed tags in plugin sections in plugin details modal.
* Don't strip class attribute from div/span tags in plugin sections.

props tellyworth.
see #28884.

git-svn-id: https://develop.svn.wordpress.org/trunk@29511 602fd350-edb4-49c9-b593-d223f7449a82
2014-08-16 03:06:26 +00:00
Dominik Schilling (ocean90) e22782e068 Plugin details: Use translation functions.
props jesin.
fixes #29220.

git-svn-id: https://develop.svn.wordpress.org/trunk@29510 602fd350-edb4-49c9-b593-d223f7449a82
2014-08-15 20:50:51 +00:00
Dominik Schilling (ocean90) c4f784ba8e Correct the documentation for the customize_save_* action.
props celloexpressions.
see #29165.

git-svn-id: https://develop.svn.wordpress.org/trunk@29509 602fd350-edb4-49c9-b593-d223f7449a82
2014-08-15 19:48:16 +00:00
Dominik Schilling (ocean90) 4ec10e82c2 Customizer: Increase default priority for a section to 160.
props celloexpressions.
fixes #29172.

git-svn-id: https://develop.svn.wordpress.org/trunk@29508 602fd350-edb4-49c9-b593-d223f7449a82
2014-08-15 19:35:52 +00:00
Scott Taylor c26ea8e3e5 Media Grid: `$.when` expects a splat. Disambiguation: change `cache` to `refresh` as the arg name for `_requery()`.
See [29490], #29145.


git-svn-id: https://develop.svn.wordpress.org/trunk@29507 602fd350-edb4-49c9-b593-d223f7449a82
2014-08-15 18:59:25 +00:00
Dominik Schilling (ocean90) 8314367632 Plugin details: Escape the donate link.
see #27440.

git-svn-id: https://develop.svn.wordpress.org/trunk@29506 602fd350-edb4-49c9-b593-d223f7449a82
2014-08-15 17:16:16 +00:00
Dominik Schilling (ocean90) 482a3a7c8a Temporarily switch to a pinned version of grunt-cssjanus. This in turn temporarily pins cssjanus to a patched fork.
fixes #29038.

git-svn-id: https://develop.svn.wordpress.org/trunk@29505 602fd350-edb4-49c9-b593-d223f7449a82
2014-08-15 16:30:21 +00:00
Helen Hou-Sandi 8c900d184d Restore some rules for media sidebar settings. HTML5 input type selection is intense. fixes #29218.
git-svn-id: https://develop.svn.wordpress.org/trunk@29504 602fd350-edb4-49c9-b593-d223f7449a82
2014-08-15 16:01:29 +00:00
Sergey Biryukov 262929004d Avoid undefined index notices in WP_UnitTestCase::_restore_hooks().
props kevinlangleyjr.
fixes #29123.

git-svn-id: https://develop.svn.wordpress.org/trunk@29503 602fd350-edb4-49c9-b593-d223f7449a82
2014-08-15 15:40:48 +00:00
Helen Hou-Sandi b6f0d0c208 Use consistent margin and padding on #wpcontent and #wpfooter. props jesin, TJNowell, sumobi. fixes #28675.
git-svn-id: https://develop.svn.wordpress.org/trunk@29502 602fd350-edb4-49c9-b593-d223f7449a82
2014-08-15 15:33:24 +00:00
Dominik Schilling (ocean90) 63ec249db9 Allow WebKit browsers to break strings in `<code>` tags.
This prevents an overflow for example on Permalink Settings.

fixes #28161.

git-svn-id: https://develop.svn.wordpress.org/trunk@29501 602fd350-edb4-49c9-b593-d223f7449a82
2014-08-15 13:18:52 +00:00
Dominik Schilling (ocean90) 9a331801d5 Media: Apply attachment opacity only in grid mode.
see #28842.

git-svn-id: https://develop.svn.wordpress.org/trunk@29500 602fd350-edb4-49c9-b593-d223f7449a82
2014-08-15 10:02:59 +00:00
Dominik Schilling (ocean90) 2bac022b4c Autoprefixer for [29496].
see #28844.

git-svn-id: https://develop.svn.wordpress.org/trunk@29499 602fd350-edb4-49c9-b593-d223f7449a82
2014-08-15 09:41:00 +00:00
Dominik Schilling (ocean90) ae4830351c Plugin install: Remove columns and screen options.
fixes #28803.

git-svn-id: https://develop.svn.wordpress.org/trunk@29498 602fd350-edb4-49c9-b593-d223f7449a82
2014-08-15 09:37:01 +00:00
Helen Hou-Sandi fb2a4afeb2 4.0-beta4
git-svn-id: https://develop.svn.wordpress.org/trunk@29497 602fd350-edb4-49c9-b593-d223f7449a82
2014-08-15 04:46:27 +00:00
Helen Hou-Sandi ce45b90525 Small screen responsive for attachment details modal. see #28844.
git-svn-id: https://develop.svn.wordpress.org/trunk@29496 602fd350-edb4-49c9-b593-d223f7449a82
2014-08-15 04:09:58 +00:00
Helen Hou-Sandi ee20b5a45f Editor scrolling:
* Reduce the starting height of the editor to better match the height at which the top toolbar unpins.
* Pin the side metaboxes so they do not get lost when the editor content is long.
* Turn magic numbers into variables.

props stephdau, azaozz. see #28328.



git-svn-id: https://develop.svn.wordpress.org/trunk@29495 602fd350-edb4-49c9-b593-d223f7449a82
2014-08-15 03:16:07 +00:00
Andrew Ozz 22eca56a81 Some pre-commit cleanup of media-grid.js and media-views.js
git-svn-id: https://develop.svn.wordpress.org/trunk@29494 602fd350-edb4-49c9-b593-d223f7449a82
2014-08-15 01:12:32 +00:00
Sergey Biryukov 97eb710697 Media Grid: Use an existing string for posts without a title.
see #24716.

git-svn-id: https://develop.svn.wordpress.org/trunk@29493 602fd350-edb4-49c9-b593-d223f7449a82
2014-08-14 21:40:11 +00:00
Scott Taylor d0441a6b42 Media Grid, support `MEDIA_TRASH`: add AYS to bulk actions.
See #29145.


git-svn-id: https://develop.svn.wordpress.org/trunk@29492 602fd350-edb4-49c9-b593-d223f7449a82
2014-08-14 19:07:06 +00:00
Scott Taylor 7308949ea3 Media Grid, support `MEDIA_TRASH`:
* Only use the special `trashAttachment` logic when in `edit-metadata` mode.
* Don't support the `trash` filter in the Add Media modal for now.
* Properly toggle trash/untrash logic in the Attachment Details sidebar

See #29145.


git-svn-id: https://develop.svn.wordpress.org/trunk@29491 602fd350-edb4-49c9-b593-d223f7449a82
2014-08-14 18:50:04 +00:00
Scott Taylor 8661fcf0d9 Media Grid, support `MEDIA_TRASH`:
* Add a setting to `_wpMediaViewsL10n.settings`: `mediaTrash`
* In the attachment edit modal, properly toggle between Trash/Untrash
* In `media.view.Attachment`, add a method for `untrashAttachment`
* When creating the grid toolbar, switch the setting order of subviews so that `media.view.DeleteSelectedButton` can listen to the instance of `media.view.AttachmentFilters.All` to update the text in its UI.
* Add a new filter to `media.view.AttachmentFilters.All`, `trash`, when `settings.mediaTrash` is true
* Allow the cached queries in `Query.get()` to be flushed when race conditions exist and collections need to be refreshed. This is currently only being used when `MEDIA_TRASH` is set, to refresh the filtered/mirrored collections related to `all`, `trash`, and any already queried filter.
* Cleanup the bootstrapping of `media.view.MediaFrame.Manage`
* Allow `wp_ajax_query_attachments()` to return items from the trash when `MEDIA_TRASH` is `true`
* Allow `wp_ajax_save_attachment()` to set `post_status` when `MEDIA_TRASH` is `true`. It allows `wp_delete_post()` to be called, which will trash the attachment instead of deleting when the flag is set.

Props koop for the knowledge sharing and thought partnership.
See #29145.


git-svn-id: https://develop.svn.wordpress.org/trunk@29490 602fd350-edb4-49c9-b593-d223f7449a82
2014-08-14 18:30:49 +00:00
Helen Hou-Sandi 1ab750d0d2 Media grid bulk selection styling:
* Fade content within each attachment item so that focus styling is still clear.
* Less jarring toolbar pinning.
* Tighten up the fade in/out transition.

see #28842.


git-svn-id: https://develop.svn.wordpress.org/trunk@29489 602fd350-edb4-49c9-b593-d223f7449a82
2014-08-14 07:17:27 +00:00
Andrew Nacin bc582fc058 Customizer: Mixed priority sorting for panels and top-level sections.
props celloexpressions.
fixes #28979.


git-svn-id: https://develop.svn.wordpress.org/trunk@29488 602fd350-edb4-49c9-b593-d223f7449a82
2014-08-14 04:42:30 +00:00
Andrew Nacin 112f9e9cc7 Separate WP_Customize_Panel from WP_Customize_Section.
props celloexpressions.
fixes #29197.


git-svn-id: https://develop.svn.wordpress.org/trunk@29487 602fd350-edb4-49c9-b593-d223f7449a82
2014-08-14 04:39:42 +00:00
Helen Hou-Sandi cc51f62262 Remove now-unused strings. see #28842.
git-svn-id: https://develop.svn.wordpress.org/trunk@29486 602fd350-edb4-49c9-b593-d223f7449a82
2014-08-14 04:22:34 +00:00
Scott Taylor 2cca041f44 Remove debug line from [29484].
See #28842.



git-svn-id: https://develop.svn.wordpress.org/trunk@29485 602fd350-edb4-49c9-b593-d223f7449a82
2014-08-14 00:36:08 +00:00
Scott Taylor 3ed9e02d0b Media Grid: add Bulk Selection mode for deleting attachments.
* Toolbar is sticky when `select` mode is active
* Selection is toggled when clicking an attachment preview
* Unselected attachments fade out, selected fade in.

See #28842.


git-svn-id: https://develop.svn.wordpress.org/trunk@29484 602fd350-edb4-49c9-b593-d223f7449a82
2014-08-13 22:44:48 +00:00
Scott Taylor ef86826322 Media Grid: treat Edit Image like a `mode`, which it is, instead of a `state`, which it is not.
Fixes #29206.


git-svn-id: https://develop.svn.wordpress.org/trunk@29483 602fd350-edb4-49c9-b593-d223f7449a82
2014-08-13 19:25:23 +00:00
Dominik Schilling (ocean90) f22c2110ac Customizer: Fix ID attribute for a panel.
props celloexpressions.
fixes #29174.

git-svn-id: https://develop.svn.wordpress.org/trunk@29482 602fd350-edb4-49c9-b593-d223f7449a82
2014-08-13 18:25:04 +00:00
Scott Taylor d48bee596a In the Edit Attachment frame, when in Edit Image mode, add a key event for Escape. There are conflicting `keydown` handlers that don't propagate the event to the modal properly.
Fixes #29121.


git-svn-id: https://develop.svn.wordpress.org/trunk@29481 602fd350-edb4-49c9-b593-d223f7449a82
2014-08-13 18:14:15 +00:00
Helen Hou-Sandi 4958fecdaf Plugin details: Remove some CSS rules that were unnecessary and causing issues in Firefox. see #27440.
git-svn-id: https://develop.svn.wordpress.org/trunk@29480 602fd350-edb4-49c9-b593-d223f7449a82
2014-08-13 05:27:01 +00:00
Drew Jaynes (DrewAPicture) ab6063cc88 Fix some documentation typos in various core files.
Props vlajos.
Fixes #29199.


git-svn-id: https://develop.svn.wordpress.org/trunk@29479 602fd350-edb4-49c9-b593-d223f7449a82
2014-08-13 03:55:10 +00:00
Andrew Ozz b343d48221 Fix the `wp-settings-*` cookies used in getUserSetting()/setUserSetting(). They should be set without `COOKIE_DOMAIN` to work properly for sub-domains. Fixes #29095.
git-svn-id: https://develop.svn.wordpress.org/trunk@29478 602fd350-edb4-49c9-b593-d223f7449a82
2014-08-13 02:46:18 +00:00
Sergey Biryukov 6d6bce429d Plugin install: Make plugin groups translatable.
props ocean90 for initial patch.
fixes #29092.

git-svn-id: https://develop.svn.wordpress.org/trunk@29477 602fd350-edb4-49c9-b593-d223f7449a82
2014-08-13 02:30:24 +00:00
John Blackbourn 30f7ce96cb Switch the Polldaddy oEmbed endpoint to HTTPS as it now redirects there. See #28507.
git-svn-id: https://develop.svn.wordpress.org/trunk@29476 602fd350-edb4-49c9-b593-d223f7449a82
2014-08-13 00:16:11 +00:00
Sergey Biryukov c943d6d816 Additional @return clarifications for get_the_terms(), get_the_tag_list(), and get_the_term_list().
see #29183.

git-svn-id: https://develop.svn.wordpress.org/trunk@29475 602fd350-edb4-49c9-b593-d223f7449a82
2014-08-12 23:47:23 +00:00