Commit Graph

1810 Commits

Author SHA1 Message Date
Scott Taylor
e97e5048c3 If the current user does not have the delete_posts cap on the current post type, don't list delete or trash as bulk actions for the relevant context of Post list table.
Props mvd7793.
Fixes #20175.


git-svn-id: https://develop.svn.wordpress.org/trunk@29757 602fd350-edb4-49c9-b593-d223f7449a82
2014-09-23 02:57:43 +00:00
Sergey Biryukov
994566bb17 Pass the attachment ID to the 'image_add_caption_text' filter.
fixes #29607.

git-svn-id: https://develop.svn.wordpress.org/trunk@29754 602fd350-edb4-49c9-b593-d223f7449a82
2014-09-21 10:10:19 +00:00
Sergey Biryukov
9e673c7eee Add 'image_add_caption_text' filter for changing the pre-parse caption text before output to the editor.
props collinsinternet, DrewAPicture.
fixes #29607.

git-svn-id: https://develop.svn.wordpress.org/trunk@29753 602fd350-edb4-49c9-b593-d223f7449a82
2014-09-21 09:55:08 +00:00
Andrew Nacin
9c751b268a Don't set ftp_credentials option when installling. see #29635.
git-svn-id: https://develop.svn.wordpress.org/trunk@29749 602fd350-edb4-49c9-b593-d223f7449a82
2014-09-17 17:57:59 +00:00
wonderboymusic
578609d31e Make the URL output in _thickbox_path_admin_subfolder() use includes_url().
Props voldemortensen.
Fixes #14157.


git-svn-id: https://develop.svn.wordpress.org/trunk@29741 602fd350-edb4-49c9-b593-d223f7449a82
2014-09-12 22:30:03 +00:00
Andrew Ozz
a9384b7a30 Editor expand: hide TinyMCE float panels and tooltips when scrolling, props avryl, fixes #29516 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@29738 602fd350-edb4-49c9-b593-d223f7449a82
2014-09-12 01:20:09 +00:00
Scott Taylor
6ed8bab324 In media_handle_upload(), don't call wp_read_image_metadata() on things that aren't images (like videos). We never caught this error, because we are suppressing it by calling @wp_read_image_metadata().
Props jrf for the initial patch.
Fixes #28907.


git-svn-id: https://develop.svn.wordpress.org/trunk@29737 602fd350-edb4-49c9-b593-d223f7449a82
2014-09-11 20:14:56 +00:00
Andrew Ozz
123fae73b5 Media: revert enabling of multi-file uploading for mobile devices. Currently only iOS Safari supports it but has a bug that prevents uploading of videos. Fixes #29602
git-svn-id: https://develop.svn.wordpress.org/trunk@29729 602fd350-edb4-49c9-b593-d223f7449a82
2014-09-10 22:39:39 +00:00
Scott Taylor
698f77735b Don't overwrite the length property unnecessarily when generating metadata for audio and video files.
Props jrf, wonderboymusic.
Fixes #29176.


git-svn-id: https://develop.svn.wordpress.org/trunk@29728 602fd350-edb4-49c9-b593-d223f7449a82
2014-09-10 21:56:24 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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 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
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