Andrew Nacin
50a4318776
TinyMCE: Verify HTML in captions. props azaozz
...
Merges [30435] to the 4.0 branch.
Built from https://develop.svn.wordpress.org/branches/4.0@30436
git-svn-id: http://core.svn.wordpress.org/branches/4.0@30431 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-20 13:50:41 +00:00
Andrew Nacin
65ac1b9a84
Invalidate password keys when a user's email changes.
...
Merges [30430] to the 4.0 branch.
Built from https://develop.svn.wordpress.org/branches/4.0@30431
git-svn-id: http://core.svn.wordpress.org/branches/4.0@30426 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-20 13:40:53 +00:00
Andrew Nacin
5fcfb73bf6
Fix typo in style filter. props miqrogroove
...
Merges [30425] to the 4.0 branch.
Built from https://develop.svn.wordpress.org/branches/4.0@30426
git-svn-id: http://core.svn.wordpress.org/branches/4.0@30421 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-20 13:16:29 +00:00
Andrew Nacin
dd9f42a1f6
Playlists are video by default. props duck_
...
Merges [30422] to the 4.0 branch.
Built from https://develop.svn.wordpress.org/branches/4.0@30423
git-svn-id: http://core.svn.wordpress.org/branches/4.0@30418 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-20 13:12:31 +00:00
Andrew Nacin
133bfe6a23
Form validation for password resets.
...
Merges [30417] to the 4.0 branch.
Built from https://develop.svn.wordpress.org/branches/4.0@30418
git-svn-id: http://core.svn.wordpress.org/branches/4.0@30413 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-20 12:23:33 +00:00
Andrew Nacin
432912f7e9
Use hash_equals() for old md5 hashes.
...
Merges [30412] to the 4.0 branch.
Built from https://develop.svn.wordpress.org/branches/4.0@30413
git-svn-id: http://core.svn.wordpress.org/branches/4.0@30408 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-20 12:02:35 +00:00
Andrew Nacin
8e04e41e42
Revert [28948] for the 4.0 branch, which caused a regression.
...
see #29573 for 4.0. see #28350 .
Built from https://develop.svn.wordpress.org/branches/4.0@30410
git-svn-id: http://core.svn.wordpress.org/branches/4.0@30405 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-20 11:12:37 +00:00
Andrew Nacin
3a108f5bce
Media Grid: Don't attempt to delete an attachment that can't be deleted.
...
Merges [29755] to the 4.0 branch.
props wonderboymusic.
fixes #29597 .
Built from https://develop.svn.wordpress.org/branches/4.0@30409
git-svn-id: http://core.svn.wordpress.org/branches/4.0@30404 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-20 11:09:32 +00:00
Andrew Nacin
e2cf18d5b9
Don't display Edit links for attachments user cannot edit.
...
Merges [29723] to the 4.0 branch.
props skaeser.
fixes #29596 .
Built from https://develop.svn.wordpress.org/branches/4.0@30408
git-svn-id: http://core.svn.wordpress.org/branches/4.0@30403 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-20 11:07:36 +00:00
Andrew Nacin
94f0e4dfb6
Media Grid: when the modal is open, don't respond to arrow keys when `<textarea>` has focus.
...
Merges [29777] (and [30378]) to the 4.0 branch.
Props ryelle, adamsilverstein.
Fixes #29725 .
Built from https://develop.svn.wordpress.org/branches/4.0@30407
git-svn-id: http://core.svn.wordpress.org/branches/4.0@30402 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-20 11:06:29 +00:00
Andrew Nacin
3f256ab656
TinyMCE: fix image captions regexp when wpautop is disabled in wp_editor().
...
Merges [29730] to the 4.0 branch.
props azaozz.
fixes #29592 .
Built from https://develop.svn.wordpress.org/branches/4.0@30406
git-svn-id: http://core.svn.wordpress.org/branches/4.0@30401 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-20 11:00:51 +00:00
Andrew Nacin
0e76113043
In get_adjacent_post(), $excluded_terms should check term_id rather than term_taxonomy_id.
...
Merges [30263] (and [30264] [30401]) to the 4.0 branch.
props boonebgorges.
fixes #29663 , see #22112 .
Built from https://develop.svn.wordpress.org/branches/4.0@30405
git-svn-id: http://core.svn.wordpress.org/branches/4.0@30400 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-20 10:59:35 +00:00
Andrew Nacin
59ae9aa3a7
Media Frames: Set the box-sizing CSS property to border-box for checkboxes and radio buttons.
...
Merges [29727] to the 4.0 branch.
props mlteal.
fixes #29493 .
Built from https://develop.svn.wordpress.org/branches/4.0@30262
git-svn-id: http://core.svn.wordpress.org/branches/4.0@30262 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-06 13:24:42 +00:00
Andrew Nacin
4f14d9f7f8
In `wp_audio|video_shortcode()`, make sure that `autoplay` and `loop` are booleans. Passing `'false'` to them will force them to be active, which is bad.
...
Merges [30185] to the 4.0 branch.
props wonderboymusic.
fixes #29825 .
Built from https://develop.svn.wordpress.org/branches/4.0@30261
git-svn-id: http://core.svn.wordpress.org/branches/4.0@30261 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-06 08:23:29 +00:00
Andrew Nacin
eec6b41e3d
Create correct permalinks for child posts of hierarchical post types when default permalinks are used.
...
Merges [29765] to the 4.0 branch.
props loushou.
fixes #29615 .
Built from https://develop.svn.wordpress.org/branches/4.0@30260
git-svn-id: http://core.svn.wordpress.org/branches/4.0@30260 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-06 08:22:35 +00:00
Andrew Nacin
7be0716c9f
Avoid PHP notices in media modal caused by orphaned attachments.
...
Merges [29724] to the 4.0 branch.
props SergeyBiryukov.
fixes #29566 .
Built from https://develop.svn.wordpress.org/branches/4.0@30259
git-svn-id: http://core.svn.wordpress.org/branches/4.0@30259 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-06 08:16:33 +00:00
Andrew Nacin
8930d00db0
Make sure the $parent argument of wp_insert_attachment() still works as expected after [28579].
...
Merges [29745] to the 4.0 branch.
props jesin, dikiy_forester.
fixes #29646 .
Built from https://develop.svn.wordpress.org/branches/4.0@30258
git-svn-id: http://core.svn.wordpress.org/branches/4.0@30258 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-06 08:15:30 +00:00
Andrew Nacin
5add2ed4b1
TinyMCE wpView: when pasting/inserting content before a view, add new paragraph above it and insert the content there.
...
Merges [29766] to the 4.0 branch.
props avryl.
fixes #29380 .
Built from https://develop.svn.wordpress.org/branches/4.0@30257
git-svn-id: http://core.svn.wordpress.org/branches/4.0@30257 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-06 08:13:29 +00:00
Andrew Nacin
c943b712b3
Editor expand: hide TinyMCE float panels and tooltips when scrolling.
...
Merges [29738] to the 4.0 branch.
props avryl.
see #29516 .
Built from https://develop.svn.wordpress.org/branches/4.0@30256
git-svn-id: http://core.svn.wordpress.org/branches/4.0@30256 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-06 08:12:34 +00:00
Andrew Nacin
b94cfff6ad
Create new $wp_roles object in install_blog() to avoid protected _init() call
...
Merges [30242] to the 4.0 branch.
Our call to `$wp_roles->_init()` relied on the `__call()` method in `WP_Roles` to handle the link to the protected method. This works back to PHP 5.2.9, when a bug was fixed allowing access to protected methods through this exact approach.
`install_blog()` needs a fresh `$wp_roles` object after `populate_roles()` resets everything in its path. We can create this new object from scratch, effectively doing the same thing with the call to `_init()` via the constructor.
props jeremyfelt.
fixes #29692 .
Built from https://develop.svn.wordpress.org/branches/4.0@30255
git-svn-id: http://core.svn.wordpress.org/branches/4.0@30255 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-06 08:09:05 +00:00
Andrew Nacin
d7245bcacc
Make sure we're on the media grid page before calling wp.media().
...
Merges [29725] to the 4.0 branch.
props azaozz.
fixes #29520 .
Built from https://develop.svn.wordpress.org/branches/4.0@30254
git-svn-id: http://core.svn.wordpress.org/branches/4.0@30254 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-06 08:08:35 +00:00
Andrew Nacin
2db717b03b
Revert [28610] in order to avoid infinite redirect loops on reverse proxies which proxy from HTTPS to HTTP.
...
Merges [30090] to the 4.0 branch.
fixes #28610 .
Built from https://develop.svn.wordpress.org/branches/4.0@30253
git-svn-id: http://core.svn.wordpress.org/branches/4.0@30253 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-06 07:16:39 +00:00
Andrew Nacin
f904bbceb5
Upgrade MediaElement to 2.15.1.
...
Merges [29733] to the 4.0 branch.
Changes from 2.15.0:
https://github.com/johndyer/mediaelement/compare/2.15.0...2.15.1
Continues to revert upstream commit b7f82b4 to restore the status quo for Chromium support.
props wonderboymusic.
fixes #29620 .
Built from https://develop.svn.wordpress.org/branches/4.0@30252
git-svn-id: http://core.svn.wordpress.org/branches/4.0@30252 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-06 07:11:31 +00:00
Andrew Nacin
b2217fa712
Editor-expand: reset the editor height after the window is resized.
...
Merges [29886] to the 4.0 branch.
props azaozz.
fixes #29952 .
Built from https://develop.svn.wordpress.org/branches/4.0@30251
git-svn-id: http://core.svn.wordpress.org/branches/4.0@30251 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-06 07:07:30 +00:00
Andrew Nacin
e2c870f41b
Quicktags: move focusing the editor after inserting content to the end of the code blocks.
...
Merges [29884] to the 4.0 branch.
Fixes a bug in Chrome where both the textarea and the window may auto-scroll to unexpected position on clicking a Quicktags button.
props azaozz, avryl.
fixes #29944 .
Built from https://develop.svn.wordpress.org/branches/4.0@30250
git-svn-id: http://core.svn.wordpress.org/branches/4.0@30250 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-06 07:03:32 +00:00
Andrew Nacin
aaec5126c6
Plugin search: Wrap results in a form to fix pagination's `paged` input field.
...
Merges [29829] to the 4.0 branch.
props jesin, ocean90.
fixes #18724 .
Built from https://develop.svn.wordpress.org/branches/4.0@30249
git-svn-id: http://core.svn.wordpress.org/branches/4.0@30249 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-06 07:01:34 +00:00
Andrew Nacin
bab3933829
The 4.0 branch is 4.0.1-alpha.
...
Built from https://develop.svn.wordpress.org/branches/4.0@30248
git-svn-id: http://core.svn.wordpress.org/branches/4.0@30248 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-06 06:49:37 +00:00
Andrew Nacin
4edbc74e65
Add safeguards for when ext/hash is not compiled with PHP.
...
Merges [29751] to the 4.0 branch.
fixes #29518 .
Built from https://develop.svn.wordpress.org/branches/4.0@29761
git-svn-id: http://core.svn.wordpress.org/branches/4.0@29533 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-09-23 18:14:39 +00:00
Andrew Nacin
b3f1257a69
Branch 4.0.
...
Built from https://develop.svn.wordpress.org/@29710
git-svn-id: http://core.svn.wordpress.org/branches/4.0@29484 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-09-04 16:09:30 +00:00
Helen Hou-Sandí
250c2ce999
WordPress 4.0.
...
Built from https://develop.svn.wordpress.org/trunk@29709
git-svn-id: http://core.svn.wordpress.org/trunk@29483 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-09-04 15:32:15 +00:00
Helen Hou-Sandí
562a9bfe2e
About: Make sure the images are properly responsive.
...
props ocean90.
see #29494 .
Built from https://develop.svn.wordpress.org/trunk@29708
git-svn-id: http://core.svn.wordpress.org/trunk@29482 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-09-04 15:24:16 +00:00
Andrew Nacin
f7392ef917
Pinking shears.
...
Built from https://develop.svn.wordpress.org/trunk@29707
git-svn-id: http://core.svn.wordpress.org/trunk@29481 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-09-04 15:23:16 +00:00
Helen Hou-Sandí
89e9363adb
Final about page for 4.0. Enjoy the videos!
...
props ryelle, melchoyce, smashcut, wonderboymusic, helen.
fixes #29494 .
Built from https://develop.svn.wordpress.org/trunk@29706
git-svn-id: http://core.svn.wordpress.org/trunk@29480 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-09-04 15:05:18 +00:00
Andrew Nacin
34bf81970e
i18n: Skip language chooser for localized packages.
...
Also fixes the install.php welcome string, which was not bring printed.
fixes #29487 .
Built from https://develop.svn.wordpress.org/trunk@29705
git-svn-id: http://core.svn.wordpress.org/trunk@29479 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-09-04 14:39:15 +00:00
Andrew Nacin
0b3ba1e405
Media grid details: Load large images instead of originals, if available.
...
fixes #29498 .
Built from https://develop.svn.wordpress.org/trunk@29704
git-svn-id: http://core.svn.wordpress.org/trunk@29478 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-09-04 14:38:16 +00:00
Andrew Nacin
00fac0639d
Link to apps.wordpress.org instead of wordpress.org/mobile.
...
props pento.
fixes #29496 .
Built from https://develop.svn.wordpress.org/trunk@29703
git-svn-id: http://core.svn.wordpress.org/trunk@29477 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-09-04 14:22:15 +00:00
Helen Hou-Sandí
3bf61c5b6b
Media: Swap in a new icon for the grid mode.
...
props melchoyce.
fixes #29353 .
Built from https://develop.svn.wordpress.org/trunk@29702
git-svn-id: http://core.svn.wordpress.org/trunk@29476 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-09-04 14:14:17 +00:00
Andrew Nacin
3abadc1da9
Add 'Release Lead' string to credits. see #29494 .
...
Built from https://develop.svn.wordpress.org/trunk@29700
git-svn-id: http://core.svn.wordpress.org/trunk@29475 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-09-03 23:19:18 +00:00
Helen Hou-Sandí
69be1c682f
4.0-RC3.
...
Built from https://develop.svn.wordpress.org/trunk@29699
git-svn-id: http://core.svn.wordpress.org/trunk@29474 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-09-03 18:07:17 +00:00
Andrew Ozz
86373f3a4b
Editor expand: revert back to scrolling to the editor top when switching Visual to Text, fixes #29338
...
Built from https://develop.svn.wordpress.org/trunk@29698
git-svn-id: http://core.svn.wordpress.org/trunk@29473 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-09-03 18:04:16 +00:00
Helen Hou-Sandí
0eaa3d9088
Modals: Remove yet more cruft that was causing unwanted coloration of icons.
...
props celloexpressions.
fixes #29147 (for real this time).
Built from https://develop.svn.wordpress.org/trunk@29697
git-svn-id: http://core.svn.wordpress.org/trunk@29472 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-09-03 17:06:17 +00:00
Helen Hou-Sandí
5a786077c5
4.0-RC2.
...
Built from https://develop.svn.wordpress.org/trunk@29696
git-svn-id: http://core.svn.wordpress.org/trunk@29471 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-09-03 11:37:15 +00:00
Sergey Biryukov
2ff943b7b0
Restore the post type's view_item label for preview links that don't submit the changes.
...
fixes #28350 .
Built from https://develop.svn.wordpress.org/trunk@29695
git-svn-id: http://core.svn.wordpress.org/trunk@29470 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-09-03 11:33:16 +00:00
Dominik Schilling
de59e21b62
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 .
Built from https://develop.svn.wordpress.org/trunk@29694
git-svn-id: http://core.svn.wordpress.org/trunk@29469 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-09-03 10:38:17 +00:00
Helen Hou-Sandí
c8cdcef9be
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 .
Built from https://develop.svn.wordpress.org/trunk@29693
git-svn-id: http://core.svn.wordpress.org/trunk@29468 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-09-03 09:58:16 +00:00
Andrew Nacin
0f73f0bea3
Editor scrolling: Avoid jumping to the cursor when modifier and scrolling keys are pressed.
...
fixes #29485 .
Built from https://develop.svn.wordpress.org/trunk@29692
git-svn-id: http://core.svn.wordpress.org/trunk@29467 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-09-03 09:38:16 +00:00
Andrew Nacin
9db108dbe0
Allow language specified by the WPLANG constant (but not installed) to be chosen.
...
fixes #29456 .
Built from https://develop.svn.wordpress.org/trunk@29691
git-svn-id: http://core.svn.wordpress.org/trunk@29466 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-09-03 08:03:16 +00:00
Andrew Nacin
8a9186b878
Media Library: Fix media trash handling.
...
props ocean90, obenland.
fixes #29469 .
Built from https://develop.svn.wordpress.org/trunk@29690
git-svn-id: http://core.svn.wordpress.org/trunk@29465 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-09-03 06:47:16 +00:00
Andrew Nacin
cb242bb358
MediaElement: Bump version. see #29110 .
...
Built from https://develop.svn.wordpress.org/trunk@29689
git-svn-id: http://core.svn.wordpress.org/trunk@29464 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-09-03 06:33:16 +00:00
Andrew Nacin
4d6697aaa6
MediaElement: Revert upstream commit b7f82b4 to restore the status quo for Chromium support.
...
fixes #29110 .
Built from https://develop.svn.wordpress.org/trunk@29688
git-svn-id: http://core.svn.wordpress.org/trunk@29463 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-09-03 06:32:15 +00:00