Commit Graph

27383 Commits

Author SHA1 Message Date
Dominik Schilling (ocean90) c339c62e38 Media Frames: Set the box-sizing CSS property to border-box for checkboxes and radio buttons.
props mlteal.
see #29493.

git-svn-id: https://develop.svn.wordpress.org/trunk@29727 602fd350-edb4-49c9-b593-d223f7449a82
2014-09-10 18:08:13 +00:00
Sergey Biryukov 69b97690d5 Widgets: Toggle widget arrow when the widget is closed using Close link.
props senff.
fixes #29617.

git-svn-id: https://develop.svn.wordpress.org/trunk@29726 602fd350-edb4-49c9-b593-d223f7449a82
2014-09-10 17:35:38 +00:00
Sergey Biryukov 9c48d0f495 Make sure we're on the media grid page before calling wp.media().
props azaozz.
fixes #29520 for trunk.

git-svn-id: https://develop.svn.wordpress.org/trunk@29725 602fd350-edb4-49c9-b593-d223f7449a82
2014-09-09 10:13:33 +00:00
Sergey Biryukov 00bfc5bc34 Avoid PHP notices in media modal caused by orphaned attachments.
fixes #29566 for trunk.

git-svn-id: https://develop.svn.wordpress.org/trunk@29724 602fd350-edb4-49c9-b593-d223f7449a82
2014-09-09 10:02:36 +00:00
Sergey Biryukov 7ce9d697c6 Don't display Edit links for attachments user cannot edit.
props skaeser.
fixes #29596 for trunk.

git-svn-id: https://develop.svn.wordpress.org/trunk@29723 602fd350-edb4-49c9-b593-d223f7449a82
2014-09-09 09:49:55 +00:00
Sergey Biryukov eb20eeaa60 Add 'Unattached' filter for galleries.
props pento.
fixes #29329.

git-svn-id: https://develop.svn.wordpress.org/trunk@29722 602fd350-edb4-49c9-b593-d223f7449a82
2014-09-09 07:13:39 +00:00
Sergey Biryukov 8cfdbf1167 Use https for apps.wordpress.org links.
props pento.
fixes #29595 for trunk.

git-svn-id: https://develop.svn.wordpress.org/trunk@29721 602fd350-edb4-49c9-b593-d223f7449a82
2014-09-09 06:28:33 +00:00
Sergey Biryukov aa9af951e5 Remove 'WordPress Language' reference from wp-config-sample.php.
props voldemortensen.
see [29630]. fixes #29562.

git-svn-id: https://develop.svn.wordpress.org/trunk@29720 602fd350-edb4-49c9-b593-d223f7449a82
2014-09-09 01:22:05 +00:00
Sergey Biryukov 3136cbb1c9 Twenty Fourteen: Use correct check for the front page in Featured_Content::pre_get_posts().
props kwight.
fixes #29550.

git-svn-id: https://develop.svn.wordpress.org/trunk@29719 602fd350-edb4-49c9-b593-d223f7449a82
2014-09-07 14:22:38 +00:00
Sergey Biryukov d552ba29bc * Declare $site_mimes before using it in check_upload_mimes().
* Use the same default value for 'upload_filetypes' as on Network Settings screen.

props rmccue.
fixes #29512 for trunk.

git-svn-id: https://develop.svn.wordpress.org/trunk@29718 602fd350-edb4-49c9-b593-d223f7449a82
2014-09-07 10:10:33 +00:00
Sergey Biryukov eac7709d6d Use get_registered_nav_menus() in has_nav_menu().
props voldemortensen.
fixes #29461.

git-svn-id: https://develop.svn.wordpress.org/trunk@29717 602fd350-edb4-49c9-b593-d223f7449a82
2014-09-07 10:03:06 +00:00
Sergey Biryukov 12bffd9665 Use home URL instead of example.org on Permalink Settings screen.
props voldemortensen, jesin.
fixes #29509.

git-svn-id: https://develop.svn.wordpress.org/trunk@29716 602fd350-edb4-49c9-b593-d223f7449a82
2014-09-07 09:43:48 +00:00
Sergey Biryukov ad0b20ad09 Check for [\r\n\t ] instead of \s in sanitize_file_name() to avoid UTF-8 issues.
props p_enrique.
fixes #26094.

git-svn-id: https://develop.svn.wordpress.org/trunk@29715 602fd350-edb4-49c9-b593-d223f7449a82
2014-09-07 08:32:22 +00:00
Sergey Biryukov f114ff72ac Don't display Edit links for posts and terms in toolbar if they are empty.
props boonebgorges.
fixes #29538.

git-svn-id: https://develop.svn.wordpress.org/trunk@29714 602fd350-edb4-49c9-b593-d223f7449a82
2014-09-07 08:31:57 +00:00
Sergey Biryukov 23dd9e11ec 4.1 version bumps.
see [29712], #29537.

git-svn-id: https://develop.svn.wordpress.org/trunk@29713 602fd350-edb4-49c9-b593-d223f7449a82
2014-09-05 19:44:38 +00:00
Andrew Nacin 87c0c484a5 Trunk is now 4.1-alpha.
git-svn-id: https://develop.svn.wordpress.org/trunk@29712 602fd350-edb4-49c9-b593-d223f7449a82
2014-09-05 19:40:12 +00:00
Helen Hou-Sandi 1efe986d5d WordPress 4.0.
git-svn-id: https://develop.svn.wordpress.org/trunk@29709 602fd350-edb4-49c9-b593-d223f7449a82
2014-09-04 15:31:24 +00:00
Helen Hou-Sandi 5771e6e1d5 About: Make sure the images are properly responsive.
props ocean90.
see #29494.


git-svn-id: https://develop.svn.wordpress.org/trunk@29708 602fd350-edb4-49c9-b593-d223f7449a82
2014-09-04 15:23:51 +00:00
Andrew Nacin ca32a2d410 Pinking shears.
git-svn-id: https://develop.svn.wordpress.org/trunk@29707 602fd350-edb4-49c9-b593-d223f7449a82
2014-09-04 15:22:58 +00:00
helen f07a9f28a8 Final about page for 4.0. Enjoy the videos!
props ryelle, melchoyce, smashcut, wonderboymusic, helen.
fixes #29494.


git-svn-id: https://develop.svn.wordpress.org/trunk@29706 602fd350-edb4-49c9-b593-d223f7449a82
2014-09-04 15:04:02 +00:00
Andrew Nacin 3d698699be i18n: Skip language chooser for localized packages.
Also fixes the install.php welcome string, which was not bring printed.

fixes #29487.


git-svn-id: https://develop.svn.wordpress.org/trunk@29705 602fd350-edb4-49c9-b593-d223f7449a82
2014-09-04 14:38:17 +00:00
Andrew Nacin f3b999f9c4 Media grid details: Load large images instead of originals, if available.
fixes #29498.


git-svn-id: https://develop.svn.wordpress.org/trunk@29704 602fd350-edb4-49c9-b593-d223f7449a82
2014-09-04 14:37:05 +00:00
Andrew Nacin 84681ddd39 Link to apps.wordpress.org instead of wordpress.org/mobile.
props pento.
fixes #29496.


git-svn-id: https://develop.svn.wordpress.org/trunk@29703 602fd350-edb4-49c9-b593-d223f7449a82
2014-09-04 14:21:13 +00:00
Helen Hou-Sandi 2d07fb1b59 Media: Swap in a new icon for the grid mode.
props melchoyce.
fixes #29353.


git-svn-id: https://develop.svn.wordpress.org/trunk@29702 602fd350-edb4-49c9-b593-d223f7449a82
2014-09-04 14:13:46 +00:00
Sergey Biryukov 445b364f5b Properly suppress errors in test_empty_where_on_update(), which expects an empty WHERE clause.
see #26106.

git-svn-id: https://develop.svn.wordpress.org/trunk@29701 602fd350-edb4-49c9-b593-d223f7449a82
2014-09-04 04:30:11 +00:00
Andrew Nacin d53bee91c6 Add 'Release Lead' string to credits. see #29494.
git-svn-id: https://develop.svn.wordpress.org/trunk@29700 602fd350-edb4-49c9-b593-d223f7449a82
2014-09-03 23:18:37 +00:00
Helen Hou-Sandi ce73c6b6c6 4.0-RC3.
git-svn-id: https://develop.svn.wordpress.org/trunk@29699 602fd350-edb4-49c9-b593-d223f7449a82
2014-09-03 18:06:42 +00:00
Andrew Ozz 44466b7627 Editor expand: revert back to scrolling to the editor top when switching Visual to Text, fixes #29338
git-svn-id: https://develop.svn.wordpress.org/trunk@29698 602fd350-edb4-49c9-b593-d223f7449a82
2014-09-03 18:03:43 +00:00
Helen Hou-Sandi f5e371608c Modals: Remove yet more cruft that was causing unwanted coloration of icons.
props celloexpressions.
fixes #29147 (for real this time).


git-svn-id: https://develop.svn.wordpress.org/trunk@29697 602fd350-edb4-49c9-b593-d223f7449a82
2014-09-03 17:05:38 +00:00
Helen Hou-Sandi 3e4e0404a4 4.0-RC2.
git-svn-id: https://develop.svn.wordpress.org/trunk@29696 602fd350-edb4-49c9-b593-d223f7449a82
2014-09-03 11:36:35 +00:00
Sergey Biryukov 0df3044683 Restore the post type's view_item label for preview links that don't submit the changes.
fixes #28350.

git-svn-id: https://develop.svn.wordpress.org/trunk@29695 602fd350-edb4-49c9-b593-d223f7449a82
2014-09-03 11:32:52 +00:00
Dominik Schilling (ocean90) 350152b49e Language Pack Upgrader: Allow to disable asynchronously translation updates.
* Don't touch VCS installs.
* Use the `async_update_translation` filter (which corresponds exactly to `auto_update_translation`) to entirely disable it, or based on the update offer. 

props nacin, ocean90.
fixes #28571.

git-svn-id: https://develop.svn.wordpress.org/trunk@29694 602fd350-edb4-49c9-b593-d223f7449a82
2014-09-03 10:37:21 +00:00
Helen Hou-Sandi c529b75886 Editor scrolling: Remember and restore scroll position for visual and text modes.
This prevents the editor from jumping off screen when the rendered visual content is significantly taller than plain text, e.g. when there are views present.

This is also a close restoration of 3.9 behavior, some of which was browser-specific.

props avryl.
fixes #29338.


git-svn-id: https://develop.svn.wordpress.org/trunk@29693 602fd350-edb4-49c9-b593-d223f7449a82
2014-09-03 09:57:56 +00:00
Andrew Nacin 7716dae9fa Editor scrolling: Avoid jumping to the cursor when modifier and scrolling keys are pressed.
fixes #29485.


git-svn-id: https://develop.svn.wordpress.org/trunk@29692 602fd350-edb4-49c9-b593-d223f7449a82
2014-09-03 09:37:01 +00:00
Andrew Nacin de3b2ccf19 Allow language specified by the WPLANG constant (but not installed) to be chosen.
fixes #29456.


git-svn-id: https://develop.svn.wordpress.org/trunk@29691 602fd350-edb4-49c9-b593-d223f7449a82
2014-09-03 08:02:53 +00:00
Andrew Nacin acbd7696ee Media Library: Fix media trash handling.
props ocean90, obenland.
fixes #29469.


git-svn-id: https://develop.svn.wordpress.org/trunk@29690 602fd350-edb4-49c9-b593-d223f7449a82
2014-09-03 06:46:34 +00:00
Andrew Nacin 760b7ae45a MediaElement: Bump version. see #29110.
git-svn-id: https://develop.svn.wordpress.org/trunk@29689 602fd350-edb4-49c9-b593-d223f7449a82
2014-09-03 06:32:29 +00:00
Andrew Nacin c40dad4a5a MediaElement: Revert upstream commit b7f82b4 to restore the status quo for Chromium support.
fixes #29110.


git-svn-id: https://develop.svn.wordpress.org/trunk@29688 602fd350-edb4-49c9-b593-d223f7449a82
2014-09-03 06:31:27 +00:00
Helen Hou-Sandi 53f56ffb0f Media: Better padding for attachment items.
props avryl.
fixes #29085.


git-svn-id: https://develop.svn.wordpress.org/trunk@29687 602fd350-edb4-49c9-b593-d223f7449a82
2014-09-03 06:27:34 +00:00
Andrew Nacin f1a6cd13b5 Media: Avoid repeated thumbnail resizing.
props avryl, wonderboymusic, azaozz.
fixes #27423.


git-svn-id: https://develop.svn.wordpress.org/trunk@29686 602fd350-edb4-49c9-b593-d223f7449a82
2014-09-03 06:09:33 +00:00
Dion Hulse a01096b872 Language Pack Upgrader: Remove ALL pre-existing filters before performing a translation update these filters may act in an unexpected way during the upgrade process.
See #29230. Fixes #29425.


git-svn-id: https://develop.svn.wordpress.org/trunk@29685 602fd350-edb4-49c9-b593-d223f7449a82
2014-09-03 05:37:33 +00:00
Andrew Nacin 609eb61a1c About page: Remove reference to not-yet-operational translated plugins/themes directories.
props stephdau.
see #29391.


git-svn-id: https://develop.svn.wordpress.org/trunk@29684 602fd350-edb4-49c9-b593-d223f7449a82
2014-09-03 02:36:23 +00:00
Andrew Nacin 0fdd75b585 Only media grid (not modal) should show "Uploaded by" and "Uploaded to".
props wonderboymusic.
fixes #29482.


git-svn-id: https://develop.svn.wordpress.org/trunk@29683 602fd350-edb4-49c9-b593-d223f7449a82
2014-09-03 02:16:32 +00:00
Andrew Nacin 0b9c1f93eb Bump versions and POT files for all bundled themes. fixes #29478.
git-svn-id: https://develop.svn.wordpress.org/trunk@29682 602fd350-edb4-49c9-b593-d223f7449a82
2014-09-03 00:46:53 +00:00
Andrew Nacin 0ab1df4243 Ensure oEmbed previews listen to [embed] width/height attributes.
props azaozz.
fixes #29474.


git-svn-id: https://develop.svn.wordpress.org/trunk@29681 602fd350-edb4-49c9-b593-d223f7449a82
2014-09-03 00:39:05 +00:00
Andrew Nacin 43f68edbe2 Media Modal: Fix 'Insert from URL' oEmbed previews.
props johnbillion, azaozz.
fixes #29473.


git-svn-id: https://develop.svn.wordpress.org/trunk@29680 602fd350-edb4-49c9-b593-d223f7449a82
2014-09-03 00:36:31 +00:00
Helen Hou-Sandi 2cb48c1039 Plugin install: Better styling to accommodate plugin icons.
fixes #29466.


git-svn-id: https://develop.svn.wordpress.org/trunk@29679 602fd350-edb4-49c9-b593-d223f7449a82
2014-09-02 19:46:19 +00:00
Andrew Nacin 896bbfacae Media: Ensure media-views is enqueued and registered before localizing.
fixes #24724.


git-svn-id: https://develop.svn.wordpress.org/trunk@29678 602fd350-edb4-49c9-b593-d223f7449a82
2014-09-02 19:35:35 +00:00
Andrew Nacin 9c82e2854e Revert [28840]; wp_localize_script() must be called on a registered handle.
see #24724.


git-svn-id: https://develop.svn.wordpress.org/trunk@29677 602fd350-edb4-49c9-b593-d223f7449a82
2014-09-02 19:34:42 +00:00
Helen Hou-Sandi cb298d8341 Plugin install: Make sure h3's clear floats to avoid layout problems.
props SergeyBiryukov.
fixes #29465.


git-svn-id: https://develop.svn.wordpress.org/trunk@29676 602fd350-edb4-49c9-b593-d223f7449a82
2014-09-02 18:28:23 +00:00