Commit Graph

27368 Commits

Author SHA1 Message Date
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
Dominik Schilling (ocean90) 1c82a3bf80 Language Pack Upgrader: Check return value before accessing the first array key.
Prevents a fatal error when Language_Pack_Upgrader::bulk_upgrade() returns a WP_Error object.

fixes #29470.

git-svn-id: https://develop.svn.wordpress.org/trunk@29675 602fd350-edb4-49c9-b593-d223f7449a82
2014-09-02 18:27:12 +00:00
Helen Hou-Sandi 3ae3ae5ab2 Modals: Remove some remnant unnecessary blue glow focus styling.
fixes #29147.


git-svn-id: https://develop.svn.wordpress.org/trunk@29674 602fd350-edb4-49c9-b593-d223f7449a82
2014-09-02 18:26:18 +00:00
Dominik Schilling (ocean90) c680af75e8 Install: Only show the language chooser when we have access to the filesystem without asking for credentials.
fixes #29397.

git-svn-id: https://develop.svn.wordpress.org/trunk@29673 602fd350-edb4-49c9-b593-d223f7449a82
2014-09-02 18:06:36 +00:00
Dominik Schilling (ocean90) 97921c9fa5 Menus: Improve performance for title live updating. Add `change` event for IE < 9.
props helen, SergeyBiryukov.
fixes #23076.

git-svn-id: https://develop.svn.wordpress.org/trunk@29672 602fd350-edb4-49c9-b593-d223f7449a82
2014-09-02 13:22:14 +00:00
Sergey Biryukov bd07f41256 Restore 'insert-media-button' as an ID attribute for the first instance of media_buttons(). Remove IDs for subsequent instances.
props nacin.
fixes #28090.

git-svn-id: https://develop.svn.wordpress.org/trunk@29671 602fd350-edb4-49c9-b593-d223f7449a82
2014-09-02 09:07:08 +00:00
Sergey Biryukov 81d1c6d2c4 Use wp_admin_css() to enqueue stylesheets in setup-config.php.
fixes #29464.

git-svn-id: https://develop.svn.wordpress.org/trunk@29670 602fd350-edb4-49c9-b593-d223f7449a82
2014-09-02 08:53:23 +00:00
Sergey Biryukov 21aa7259c4 Re-initialize $wp_locale global after changing the default textdomain on installation screens.
props ocean90.
fixes #29452.

git-svn-id: https://develop.svn.wordpress.org/trunk@29669 602fd350-edb4-49c9-b593-d223f7449a82
2014-09-02 08:09:56 +00:00
Sergey Biryukov fb8548fd48 Simplify the code for calling refresh_blog_details() whenever 'blogname', 'siteurl', or 'post_count' option is updated.
props pento, nacin.
fixes #26410.

git-svn-id: https://develop.svn.wordpress.org/trunk@29668 602fd350-edb4-49c9-b593-d223f7449a82
2014-09-02 07:29:47 +00:00
Sergey Biryukov 52dacfd3a5 Check $post->post_status directly in _update_posts_count_on_delete() for better performance.
props pento.
fixes #27952.

git-svn-id: https://develop.svn.wordpress.org/trunk@29667 602fd350-edb4-49c9-b593-d223f7449a82
2014-09-02 07:16:41 +00:00
Andrew Nacin 7bdd5a7a2e Plugin install: The sort callback doesn't need to be public.
props helen.
fixes #28673.


git-svn-id: https://develop.svn.wordpress.org/trunk@29666 602fd350-edb4-49c9-b593-d223f7449a82
2014-09-02 06:50:48 +00:00
Andrew Nacin d8b80c3254 Unit tests for has_filter() not resetting the array pointer.
props pento.
fixes #29070. see [29472].


git-svn-id: https://develop.svn.wordpress.org/trunk@29665 602fd350-edb4-49c9-b593-d223f7449a82
2014-09-02 06:49:11 +00:00
Andrew Nacin 1cde8312b6 DB: Revert [28814] and require a WHERE for wpdb::update().
see #26106.


git-svn-id: https://develop.svn.wordpress.org/trunk@29664 602fd350-edb4-49c9-b593-d223f7449a82
2014-09-02 04:55:17 +00:00
Andrew Nacin 7c09b36829 Canonical: Apply redirects to HEAD requests too. Adjusts [28958].
props SergeyBiryukov.
fixes #27498.


git-svn-id: https://develop.svn.wordpress.org/trunk@29663 602fd350-edb4-49c9-b593-d223f7449a82
2014-09-02 04:47:14 +00:00
Helen Hou-Sandi 2f71d7d8e4 Comments: Simplify JS for inline edit and reply.
fixes #27533.


git-svn-id: https://develop.svn.wordpress.org/trunk@29662 602fd350-edb4-49c9-b593-d223f7449a82
2014-09-02 03:56:05 +00:00
Sergey Biryukov cac2366382 Avoid PHP notices when checking for local requests in in WP_Http.
props markoheijnen.
fixes #29392.

git-svn-id: https://develop.svn.wordpress.org/trunk@29661 602fd350-edb4-49c9-b593-d223f7449a82
2014-09-02 02:05:48 +00:00