Commit Graph

27453 Commits

Author SHA1 Message Date
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
Andrew Ozz 4e846f9af7 Media: add a class to the <script> tag for the JSON encoded playlist data so it can be easily selected in WPPlaylistView. Props SergeyBiryukov, fixes #29383
git-svn-id: https://develop.svn.wordpress.org/trunk@29660 602fd350-edb4-49c9-b593-d223f7449a82
2014-09-01 19:54:44 +00:00
Helen Hou-Sandi e12d2db484 Media: Translate a string for the search placeholder.
props alex-ye.
fixes #29448.


git-svn-id: https://develop.svn.wordpress.org/trunk@29659 602fd350-edb4-49c9-b593-d223f7449a82
2014-09-01 19:53:37 +00:00
Andrew Nacin 1861615be2 Query: Add comment to the parse_tax_query() method reflecting [28987].
see #28739.


git-svn-id: https://develop.svn.wordpress.org/trunk@29658 602fd350-edb4-49c9-b593-d223f7449a82
2014-09-01 19:50:33 +00:00
Andrew Ozz 045c767e0a TinyMCE: fix the 'tabfocus' plugin to check if default is prevented on pressing tab, bind the events later so other plugins can cancel them. Merged upstream in 86098b3485 together with another change.
Fixes #29430

git-svn-id: https://develop.svn.wordpress.org/trunk@29657 602fd350-edb4-49c9-b593-d223f7449a82
2014-09-01 19:02:08 +00:00
Andrew Ozz c3222171cd Editor expand:
- Adjust calculation when comparing sidebar position to wpfooter top. Fixes an annoying jumping when the user scrolls off the bottom.
- Use a var for the 'bottom' distance of the sidebar.
- Fix sidebar pinning when it's height is nearly the same as the viewport height.
Fixes #29349

git-svn-id: https://develop.svn.wordpress.org/trunk@29656 602fd350-edb4-49c9-b593-d223f7449a82
2014-09-01 18:48:07 +00:00
Helen Hou-Sandi 14313673d5 Media grid: Don't show a misleading message for an empty library.
This uses the existing string from the list table. We should revisit a better overall experience for the two situations (empty library vs. search with no results) in 4.1.

props voldemortensen.
fixes #29404.


git-svn-id: https://develop.svn.wordpress.org/trunk@29655 602fd350-edb4-49c9-b593-d223f7449a82
2014-09-01 18:38:35 +00:00
Andrew Ozz 1f2ff1d3f3 Editor expand: add docs for the `wp_editor_expand` filter, props DrewAPicture, fixes #29423
git-svn-id: https://develop.svn.wordpress.org/trunk@29654 602fd350-edb4-49c9-b593-d223f7449a82
2014-08-29 02:37:59 +00:00
Andrew Ozz fcc188193f Editor expand: add a filter to turn it off from PHP, fixes #29423
git-svn-id: https://develop.svn.wordpress.org/trunk@29653 602fd350-edb4-49c9-b593-d223f7449a82
2014-08-29 02:27:06 +00:00
Helen Hou-Sandi 5d2038c8cd Sync tagline from about page with credits and freedoms.
props rickalee.
fixes #29409.


git-svn-id: https://develop.svn.wordpress.org/trunk@29652 602fd350-edb4-49c9-b593-d223f7449a82
2014-08-28 17:52:16 +00:00
Sergey Biryukov 368e2ba299 Fix typo in media help text.
props tai.
fixes #29412.

git-svn-id: https://develop.svn.wordpress.org/trunk@29651 602fd350-edb4-49c9-b593-d223f7449a82
2014-08-28 07:52:13 +00:00
Andrew Nacin 7c145e0bd9 Meta Query: Revert [28659] (and [28665]) due to regressions.
props boonebgorges.
fixes #29285. see #25538.


git-svn-id: https://develop.svn.wordpress.org/trunk@29650 602fd350-edb4-49c9-b593-d223f7449a82
2014-08-27 20:22:35 +00:00
Andrew Ozz a8a7468a9a TinyMCE wpView: fix 'undefined' head when not adding more stylesheets to the sandbox iframe, fixes #29399
git-svn-id: https://develop.svn.wordpress.org/trunk@29649 602fd350-edb4-49c9-b593-d223f7449a82
2014-08-27 18:22:51 +00:00
Helen Hou-Sandi 1a1343dbd0 Correct a Sass typo that somehow slipped by in [29616].
see #28267.


git-svn-id: https://develop.svn.wordpress.org/trunk@29648 602fd350-edb4-49c9-b593-d223f7449a82
2014-08-27 06:31:22 +00:00
Helen Hou-Sandi 32953775cd 4.0-RC1.
git-svn-id: https://develop.svn.wordpress.org/trunk@29647 602fd350-edb4-49c9-b593-d223f7449a82
2014-08-27 06:13:09 +00:00
Helen Hou-Sandi 2092bd3092 Help tabs: Update media help text to reflect 4.0.
fixes #28654.


git-svn-id: https://develop.svn.wordpress.org/trunk@29646 602fd350-edb4-49c9-b593-d223f7449a82
2014-08-27 06:11:28 +00:00