Commit Graph

18003 Commits

Author SHA1 Message Date
Dominik Schilling
e9e88d0b4b Shortcodes: Trim whitespace after sanitizing the shortcode output.
props Ankit K Gupta, obenland, miqrogroove.
fixes #33259.
Built from https://develop.svn.wordpress.org/trunk@33600


git-svn-id: http://core.svn.wordpress.org/trunk@33567 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-08-09 20:49:25 +00:00
Dominik Schilling
45b8634605 Customizer: Remove obsolete .control-panel-back and .customize-overlay-close buttons.
props afercia, ocean90.
see #31336.
fixes #33229.
Built from https://develop.svn.wordpress.org/trunk@33599


git-svn-id: http://core.svn.wordpress.org/trunk@33566 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-08-09 19:00:24 +00:00
Dominik Schilling
bd342572f1 List tables: Adjust width of Quick Edit labels for longer translations.
props Clorith, SergeyBiryukov, ocean90.
fixes #33212.
Built from https://develop.svn.wordpress.org/trunk@33598


git-svn-id: http://core.svn.wordpress.org/trunk@33565 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-08-09 18:55:25 +00:00
Dion Hulse
e2b10dad49 Upgrade: Skip the sitecategories table when it doesn't exist (Global Terms is disabled).
Props nofearinc, obenland, SergeyBiryukov, and pento.
Fixes #33206

Built from https://develop.svn.wordpress.org/trunk@33597


git-svn-id: http://core.svn.wordpress.org/trunk@33564 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-08-09 02:22:26 +00:00
Dominik Schilling
04c21a0e3c Customizer: Restore Shift + Clicking on widgets to open the widgets panel.
Includes an alternative for jQuery UI's `:focusable` selector because it has an ancestor visibility requirement, see https://github.com/jquery/jquery-ui/pull/1583.

props westonruter.
fixes #33258.
Built from https://develop.svn.wordpress.org/trunk@33596


git-svn-id: http://core.svn.wordpress.org/trunk@33563 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-08-08 09:37:26 +00:00
Konstantin Obenland
f673128a13 Install: Adjust th padding to align with tds.
Props Ankit K Gupta for initial patch.
Fixes #33280.


Built from https://develop.svn.wordpress.org/trunk@33595


git-svn-id: http://core.svn.wordpress.org/trunk@33562 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-08-07 22:10:26 +00:00
Dion Hulse
f8136f2ab2 Fix do_shortcode('<[shortcode]') edge case.
Props miqrogroove.
Merges [33499] trunk.
See #33116.

Built from https://develop.svn.wordpress.org/trunk@33594


git-svn-id: http://core.svn.wordpress.org/trunk@33561 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-08-07 02:50:25 +00:00
John Blackbourn
6bd6069fc0 Remove all existing internal feature pointers.
Fixes #33289
Props obenland, ocean90, SergeyBiryukov

Built from https://develop.svn.wordpress.org/trunk@33593


git-svn-id: http://core.svn.wordpress.org/trunk@33560 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-08-07 00:59:24 +00:00
Ella Iseulde Van Dorpe
718271dd53 TinyMCE: fix inline toolbar repositioning for inline editors
Fixes #33286.

Built from https://develop.svn.wordpress.org/trunk@33592


git-svn-id: http://core.svn.wordpress.org/trunk@33559 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-08-06 21:35:25 +00:00
Mark Jaquith
d60e2eea84 Only use a bare URL when the link text field is used.
Fixes bug that would remove images on edit, in some circumstances.

fixes #33293
props azaozz
Built from https://develop.svn.wordpress.org/trunk@33591


git-svn-id: http://core.svn.wordpress.org/trunk@33558 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-08-06 20:58:25 +00:00
Mark Jaquith
309516a6c1 Move media hooks out of admin-filters.php as sometimes editors are used on the front end.
fixes #33257
props wonderboymusic
Built from https://develop.svn.wordpress.org/trunk@33590


git-svn-id: http://core.svn.wordpress.org/trunk@33557 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-08-06 20:40:26 +00:00
Dominik Schilling
4a31dd6fe8 Comments: Update help text for new comment bubbles.
props kraftbj.
fixes #33256.
Built from https://develop.svn.wordpress.org/trunk@33589


git-svn-id: http://core.svn.wordpress.org/trunk@33556 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-08-06 08:03:26 +00:00
Sergey Biryukov
1b282962a4 wpLink: Make sure the link wrapper is the last element in the body, otherwise the inline editor toolbar may show up above the backdrop.
props azaozz.
fixes #33268.
Built from https://develop.svn.wordpress.org/trunk@33588


git-svn-id: http://core.svn.wordpress.org/trunk@33555 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-08-06 02:17:25 +00:00
Jeremy Felt
1e5b0ff0fa Multisite: Use single URL input when editing sites in a subdirectory configuration
In [32759], we adjusted `site-info.php` to display a single input for a site's full URL if the network was configured for subdomains. We also enforced path only editing for non-subdomain networks, which is a regression in expected behavior.

The full URL of a site can now be edited in both subdomain and subdirectory configurations.

Props @michaelryanmcneill.
Fixes #22383.

Built from https://develop.svn.wordpress.org/trunk@33586


git-svn-id: http://core.svn.wordpress.org/trunk@33553 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-08-05 03:34:25 +00:00
Weston Ruter
2678bd9225 Customizer: Restore default fallback_cb arg for wp_nav_menu() calls in customizer preview.
Props ocean90, westonruter.
Fixes #33218.

Built from https://develop.svn.wordpress.org/trunk@33585


git-svn-id: http://core.svn.wordpress.org/trunk@33552 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-08-04 21:57:25 +00:00
Ella Iseulde Van Dorpe
34d50e6165 TinyMCE: wplink: fix WPLinkPreview for multiple editors
Fixes #33264.

Built from https://develop.svn.wordpress.org/trunk@33584


git-svn-id: http://core.svn.wordpress.org/trunk@33551 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-08-04 21:42:26 +00:00
Dominik Schilling
2fbdeae0a8 WordPress 4.3-RC2-33572.
Built from https://develop.svn.wordpress.org/trunk@33572


git-svn-id: http://core.svn.wordpress.org/trunk@33539 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-08-04 11:48:25 +00:00
Dominik Schilling
ca7fe3e41a WordPress 4.3-RC2.
Built from https://develop.svn.wordpress.org/trunk@33571


git-svn-id: http://core.svn.wordpress.org/trunk@33538 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-08-04 11:44:25 +00:00
Dominik Schilling
198cdb1dde Multisite mails: Initialize $current_user before accessing $current_user->user_login.
props Toro_Unit.
see #31217.
fixes #33254.
Built from https://develop.svn.wordpress.org/trunk@33569


git-svn-id: http://core.svn.wordpress.org/trunk@33536 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-08-04 11:39:25 +00:00
Ella Iseulde Van Dorpe
55a4ce4db2 TinyMCE: wptextpattern: trim whitespace
Props iseulde and azaozz.
Fixes #33246.

Built from https://develop.svn.wordpress.org/trunk@33563


git-svn-id: http://core.svn.wordpress.org/trunk@33530 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-08-04 05:01:11 +00:00
Ella Iseulde Van Dorpe
40e12aba22 JSHint for [33528]: remove logging
See #32688.

Built from https://develop.svn.wordpress.org/trunk@33562


git-svn-id: http://core.svn.wordpress.org/trunk@33529 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-08-04 05:00:46 +00:00
Dominik Schilling
70128fe760 Comments: IDs are integers.
Built from https://develop.svn.wordpress.org/trunk@33555


git-svn-id: http://core.svn.wordpress.org/trunk@33522 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-08-04 04:58:35 +00:00
Dominik Schilling
a9b3f12826 Heartbeat: Ensure post locks are released.
Built from https://develop.svn.wordpress.org/trunk@33542


git-svn-id: http://core.svn.wordpress.org/trunk@33509 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-08-04 04:54:34 +00:00
Dominik Schilling
12b0257a60 Nav menus: Adjust redundant titles in accessibility helpers.
Built from https://develop.svn.wordpress.org/trunk@33540


git-svn-id: http://core.svn.wordpress.org/trunk@33507 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-08-04 04:53:44 +00:00
Dominik Schilling
86823a6675 Customizer: Use hash_equals() for widgets.
Built from https://develop.svn.wordpress.org/trunk@33535


git-svn-id: http://core.svn.wordpress.org/trunk@33502 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-08-04 04:51:50 +00:00
Weston Ruter
a3e45db4ac Customizer: Add QUnit tests for menus.
Props adamsilverstein, westonruter, jorbin.
Fixes #32688.

Built from https://develop.svn.wordpress.org/trunk@33528


git-svn-id: http://core.svn.wordpress.org/trunk@33495 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-08-03 19:28:26 +00:00
Andrew Ozz
63d1389143 TinyMCE: fix initializing the editor on switching Text => Visual when the Text editor is loaded first.
Props stuartshields, peterwilsoncc, netweb, azaozz. Fixes #33192.
Built from https://develop.svn.wordpress.org/trunk@33527


git-svn-id: http://core.svn.wordpress.org/trunk@33494 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-08-02 20:01:26 +00:00
Sergey Biryukov
b7f9555444 Customizer: Fix failing tests on PHP 5.2 after [33488].
`assertNotFalse()` is not included in PHPUnit 3.6.12, use `assertInternalType( 'int' )` instead.

fixes #32814.
Built from https://develop.svn.wordpress.org/trunk@33526


git-svn-id: http://core.svn.wordpress.org/trunk@33493 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-31 13:02:24 +00:00
Dominik Schilling
8b91700d5b Fix PHP notice after [33492].
props jesin.
see #33178.
fixes #33208.
Built from https://develop.svn.wordpress.org/trunk@33519


git-svn-id: http://core.svn.wordpress.org/trunk@33486 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-30 19:59:25 +00:00
Dominik Schilling
0e1476d078 Editor: word count: Remove indentation from the translator comment.
Avoids a duplicate comment in the POT file.

see #30966.
Built from https://develop.svn.wordpress.org/trunk@33517


git-svn-id: http://core.svn.wordpress.org/trunk@33484 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-30 17:08:24 +00:00
Andrew Ozz
684d54e7a5 TinyMCE: update to 4.2.3, changelog: https://github.com/tinymce/tinymce/blob/master/changelog.txt.
Fixes #33203.
Built from https://develop.svn.wordpress.org/trunk@33516


git-svn-id: http://core.svn.wordpress.org/trunk@33483 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-30 17:07:26 +00:00
Helen Hou-Sandí
e7b4ca0630 Remove debug cruft from [33511].
see #32710.

Built from https://develop.svn.wordpress.org/trunk@33515


git-svn-id: http://core.svn.wordpress.org/trunk@33482 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-29 23:53:49 +00:00
Konstantin Obenland
f70ef0c9a4 4.3-RC1-33514
Built from https://develop.svn.wordpress.org/trunk@33514


git-svn-id: http://core.svn.wordpress.org/trunk@33481 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-29 23:53:25 +00:00
Konstantin Obenland
f087cce35a 4.3-RC1
Built from https://develop.svn.wordpress.org/trunk@33513


git-svn-id: http://core.svn.wordpress.org/trunk@33480 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-29 23:47:24 +00:00
Ella Iseulde Van Dorpe
9a1d80e858 TinyMCE: wptextpattern: stop propagation on undo
See #31441.

Built from https://develop.svn.wordpress.org/trunk@33512


git-svn-id: http://core.svn.wordpress.org/trunk@33479 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-29 23:45:25 +00:00
Helen Hou-Sandí
ea8f8acc79 Menu customizer: More clearly separate search results from available items.
Available items now fade from view while you're searching, and there is an explicit way to clear search results. No results gives a better message, though still brief this time around.

props valendesigns, designsimply, DH-Shredder, helen.
fixes #32710.

Built from https://develop.svn.wordpress.org/trunk@33511


git-svn-id: http://core.svn.wordpress.org/trunk@33478 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-29 23:40:25 +00:00
Konstantin Obenland
3dfce31be0 Customizer: Improve focus styles for screen option and help toggles.
Props ocean90.
See #33181.


Built from https://develop.svn.wordpress.org/trunk@33510


git-svn-id: http://core.svn.wordpress.org/trunk@33477 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-29 23:25:25 +00:00
Andrew Ozz
fb59c76858 TinyMCE: remove the spare string for the keyboard shortcuts modal.
See #31441.
Built from https://develop.svn.wordpress.org/trunk@33509


git-svn-id: http://core.svn.wordpress.org/trunk@33476 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-29 23:20:24 +00:00
Ella Iseulde Van Dorpe
9069d6679b TinyMCE: wptextpattern: undo on esc after enter
See #31441.

Built from https://develop.svn.wordpress.org/trunk@33508


git-svn-id: http://core.svn.wordpress.org/trunk@33475 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-29 23:12:25 +00:00
Ella Iseulde Van Dorpe
e384cdab45 TinyMCE: wptextpattern: reorder undo
After formatting on enter, undo should undo the formatting first, then undo the new line.

See #31441.

Built from https://develop.svn.wordpress.org/trunk@33507


git-svn-id: http://core.svn.wordpress.org/trunk@33474 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-29 22:49:25 +00:00
Helen Hou-Sandí
4837a3a43f Fix a unit test failure after [33489].
see #33179.

Built from https://develop.svn.wordpress.org/trunk@33506


git-svn-id: http://core.svn.wordpress.org/trunk@33473 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-29 22:15:24 +00:00
Dominik Schilling
727123ddbc Customizer: Switch buttons to match the focus order with the visual order.
props afercia.
see #33181.
Built from https://develop.svn.wordpress.org/trunk@33505


git-svn-id: http://core.svn.wordpress.org/trunk@33472 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-29 22:10:24 +00:00
Andrew Ozz
c96977e083 TinyMCE: fix (again) the text in the keyboard shortcuts modal for the changed patterns.
See #31441.
Built from https://develop.svn.wordpress.org/trunk@33504


git-svn-id: http://core.svn.wordpress.org/trunk@33471 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-29 21:54:24 +00:00
Dominik Schilling
6142cb7c94 Customizer: This circular focus thing is hot.
see #33181.
Built from https://develop.svn.wordpress.org/trunk@33503


git-svn-id: http://core.svn.wordpress.org/trunk@33470 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-29 21:51:24 +00:00
Dominik Schilling
a5aa0dc9fd Nav menus: Make the selector for the edit menu item link more specific. Prevents clashing with other elements which have the same class.
fixes #33129.
Built from https://develop.svn.wordpress.org/trunk@33502


git-svn-id: http://core.svn.wordpress.org/trunk@33469 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-29 21:30:25 +00:00
Andrew Ozz
c9871174d1 TinyMCE: fix the text in the keyboard shortcuts modal for the changed patterns.
See #31441.
Built from https://develop.svn.wordpress.org/trunk@33501


git-svn-id: http://core.svn.wordpress.org/trunk@33468 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-29 21:07:23 +00:00
Weston Ruter
5720007f67 Customizer: Stack the menu gear icon below the help icon for more text breathing room.
Fixes #33181.

Built from https://develop.svn.wordpress.org/trunk@33500


git-svn-id: http://core.svn.wordpress.org/trunk@33467 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-29 20:23:26 +00:00
Konstantin Obenland
9152362dda About: Second pass at 4.3 about page.
Adds images and videos for major and minor features.
Restores a mangled placeholder in Formatting Shortcuts description.

Assets still need to be moved to the .org CDN once deemed final.

Props ryelle, melchoyce, helen.
See #32929.


Built from https://develop.svn.wordpress.org/trunk@33498


git-svn-id: http://core.svn.wordpress.org/trunk@33465 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-29 19:57:25 +00:00
Andrew Ozz
7ace03443a Press This: properly add Open Sans to the editor, using the mce_css filter.
See #26072. Fixes #33189.
Built from https://develop.svn.wordpress.org/trunk@33497


git-svn-id: http://core.svn.wordpress.org/trunk@33464 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-29 19:38:25 +00:00
Weston Ruter
a4bc3daa9e Customizer: Update nav_menu_locations[...] controls to remove placeholder menus from the dropdown options upon Save & Publish.
See #32814.
Fixes #33176.

Built from https://develop.svn.wordpress.org/trunk@33496


git-svn-id: http://core.svn.wordpress.org/trunk@33463 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-29 19:34:25 +00:00
Mark Jaquith
61dd2bfdde Persist (and mask) the password on the install screen if the install does not proceed due to errors.
If you forget or enter an invalid username/e-mail, the password choosing shouldn't start over.

fixes #33162
Built from https://develop.svn.wordpress.org/trunk@33495


git-svn-id: http://core.svn.wordpress.org/trunk@33462 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-29 19:22:26 +00:00
Mark Jaquith
05965d87e4 Make the multisite new user messages reflect that reset links are sent, not passwords.
fixes #33175
Built from https://develop.svn.wordpress.org/trunk@33494


git-svn-id: http://core.svn.wordpress.org/trunk@33461 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-29 19:04:25 +00:00
Weston Ruter
bdc30ce968 Customizer: Remove redundant translated string.
Props obenland.
Fixes #33183.

Built from https://develop.svn.wordpress.org/trunk@33493


git-svn-id: http://core.svn.wordpress.org/trunk@33460 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-29 18:53:25 +00:00
Dominik Schilling
8679a93f16 Themes: Remove legacy theme preview.
The pre-3.4 theme previewer doesn't work when using a static front page.
We kept the old theme preview for no-JS and some browsers that were less capable. But since browsers are doing a better job today we don't need to continue fixing/shipping this legacy code. Bye!

fixes #33178.
Built from https://develop.svn.wordpress.org/trunk@33492


git-svn-id: http://core.svn.wordpress.org/trunk@33459 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-29 18:36:26 +00:00
Weston Ruter
49b3ad2251 Twenty Fifteen: Only re-initialize the main navigation in the Customizer when it is specifically updated.
* Fix a bug where updating the social menu links would cause the main navigation to get its toggle-expanded buttons duplicated.
* Persist any existing submenu expanded states on the updated menu. 
* Improve naming of `customize-preview-menu-refreshed` event param from `wpNavArgs` to `wpNavMenuArgs` (old name is retained and marked as deprecated).

Fixes #33177.

Built from https://develop.svn.wordpress.org/trunk@33491


git-svn-id: http://core.svn.wordpress.org/trunk@33458 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-29 18:13:24 +00:00
Helen Hou-Sandí
7b7ae2ee25 Comments list table: Display that cute lil comment bubble.
The comments list table suffers from "wall of text" problems, which the two plain text links compounded.

props obenland. fixes #33149.

Built from https://develop.svn.wordpress.org/trunk@33490


git-svn-id: http://core.svn.wordpress.org/trunk@33457 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-29 18:08:25 +00:00
Helen Hou-Sandí
d22adb0d6e Ensure the caption shortcode outputs a valid HTML ID.
fixes #33179.

Built from https://develop.svn.wordpress.org/trunk@33489


git-svn-id: http://core.svn.wordpress.org/trunk@33456 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-29 17:59:24 +00:00
Weston Ruter
bf9d1485ee Customizer: Ensure that all existing menus are shown in the Custom Menu widget's dropdown.
* Ensure that a Custom Menu widget selecting a newly-inserted menu gets updated to use the new menu ID upon Save & Publish.
* Dynamically update the visibility of the Custom Menu widget's "no menus" message when the number of menus changes between 0 and 1+.
* Send all dirty Customized settings in `update-widget` Ajax request and `preview()` them so that the widget update/form callbacks have access to any data dependencies in the current Customizer session (such as newly created unsaved menus).
* Update link in Custom Menu widget to point to Menus panel as opposed to Menus admin page, when in the Customizer.
* Fix an issue with extra space at top immediately after creating new menu.
* Fix doubled `update-widget` Ajax requests when changing select dropdown; prevent initial from being aborted.
* Add missing `wp_get_nav_menus()` hooks to preview Customizer updates/inserts for `nav_menu` settings; includes tests.
* Update `wp_get_nav_menu_object()` to allow a menu object to be passed in (and thus passed through).

Props westonruter, adamsilverstein.
Fixes #32814.

Built from https://develop.svn.wordpress.org/trunk@33488


git-svn-id: http://core.svn.wordpress.org/trunk@33455 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-29 16:03:24 +00:00
Dominik Schilling
dc4c2fa0bf Upgrade: Lowercase the "s" in remove_all_filters().
props afragen.
fixes #33173.
Built from https://develop.svn.wordpress.org/trunk@33487


git-svn-id: http://core.svn.wordpress.org/trunk@33454 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-29 14:57:25 +00:00
Mark Jaquith
97280576c0 Change send_pass_change_email to send_password_change_email (better name).
see #32430
Built from https://develop.svn.wordpress.org/trunk@33486


git-svn-id: http://core.svn.wordpress.org/trunk@33453 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-29 14:52:26 +00:00
Mark Jaquith
c5719ba15a Make the "using default password" nag more accurate.
"Easy to remember" isn't necessarily what we want to encourage.

fixes #33168
props arjunskumar
Built from https://develop.svn.wordpress.org/trunk@33485


git-svn-id: http://core.svn.wordpress.org/trunk@33452 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-29 14:06:25 +00:00
Ella Iseulde Van Dorpe
926006ea56 TinyMCE: views: correct cursor position after paste
Fixes #33174.

Built from https://develop.svn.wordpress.org/trunk@33484


git-svn-id: http://core.svn.wordpress.org/trunk@33451 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-29 13:49:24 +00:00
Dominik Schilling
a5ed94ab62 Customizer: Add an aria-expanded attribute to Edit menu item toggles.
props afercia.
fixes #33129.
Built from https://develop.svn.wordpress.org/trunk@33483


git-svn-id: http://core.svn.wordpress.org/trunk@33450 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-29 09:50:24 +00:00
Ella Iseulde Van Dorpe
d1e72255f9 Press This: correct link on the post screens
Props rabmalin.
Fixes #33169.

Built from https://develop.svn.wordpress.org/trunk@33482


git-svn-id: http://core.svn.wordpress.org/trunk@33449 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-29 08:44:25 +00:00
Mark Jaquith
bca4465edf Do not re-generate the password after pressing "cancel". Persist the state.
Also removes pass2 code not needed since we're generating from one field.

fixes #33164
Built from https://develop.svn.wordpress.org/trunk@33475


git-svn-id: http://core.svn.wordpress.org/trunk@33442 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-29 04:30:24 +00:00
Mark Jaquith
69107095b7 Autogenerate passwords that more reliably fit within their inputs.
fixes #33166
Built from https://develop.svn.wordpress.org/trunk@33474


git-svn-id: http://core.svn.wordpress.org/trunk@33441 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-29 03:56:24 +00:00
Mark Jaquith
0217951e44 Re-work user-profile.js so the password meter works in IE8 and password managers can fill multiple times.
props adamsilverstein
fixes #32886
Built from https://develop.svn.wordpress.org/trunk@33473


git-svn-id: http://core.svn.wordpress.org/trunk@33440 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-29 03:27:25 +00:00
Mark Jaquith
dbcff0beae Add CloudUp to our oEmbed provider whitelist.
fixes #26278
Built from https://develop.svn.wordpress.org/trunk@33472


git-svn-id: http://core.svn.wordpress.org/trunk@33439 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-29 02:57:26 +00:00
Mark Jaquith
3bed2e36aa Omit the "(required)" text for password on the install screen.
fixes #33163
Built from https://develop.svn.wordpress.org/trunk@33471


git-svn-id: http://core.svn.wordpress.org/trunk@33438 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-29 01:20:26 +00:00
Andrew Ozz
ff32df7c07 Use the embed_maybe_make_link filter to test WP_Embed::autoembed().
See #33106.
Built from https://develop.svn.wordpress.org/trunk@33470


git-svn-id: http://core.svn.wordpress.org/trunk@33437 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-29 00:02:24 +00:00
Scott Taylor
15a7d98ce6 Protect newlines inside of CDATA. This was breaking things, notably inline JS that used comments for HTML standards compat.
* Tokenize newlines in `WP_Embed::autoembed()` before running `->autoembed_callback()`
* Tokenize newlines with placeholders in `wpautop()` 
* Introduce `wp_html_split()` to DRY the RegEx from `wp_replace_in_html_tags()` and `do_shortcodes_in_html_tags()`

Adds unit tests.

Props miqrogroove, kitchin, azaozz.
Fixes #33106.

Built from https://develop.svn.wordpress.org/trunk@33469


git-svn-id: http://core.svn.wordpress.org/trunk@33436 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-28 23:03:24 +00:00
Andrew Ozz
fa25fe82ef Fix updating of nonces on the Edit Post screen after the log in expires and the user logs in again.
Props iseulde, azaozz. Fixes #33098.
Built from https://develop.svn.wordpress.org/trunk@33468


git-svn-id: http://core.svn.wordpress.org/trunk@33435 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-28 22:07:25 +00:00
Konstantin Obenland
49ac027038 About: Remove translation functions until strings are final.
See #32929.

Built from https://develop.svn.wordpress.org/trunk@33467


git-svn-id: http://core.svn.wordpress.org/trunk@33434 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-28 21:39:25 +00:00
Konstantin Obenland
4cac76486f About: First pass at WordPress 4.3 About page.
Still missing images and some string revisions.

See #32929.


Built from https://develop.svn.wordpress.org/trunk@33466


git-svn-id: http://core.svn.wordpress.org/trunk@33433 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-28 21:23:25 +00:00
Mark Jaquith
959f36699b Lose the clunky setTimeout() code and just track the password value changes.
see #32886
Built from https://develop.svn.wordpress.org/trunk@33465


git-svn-id: http://core.svn.wordpress.org/trunk@33432 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-28 21:11:26 +00:00
Ella Iseulde Van Dorpe
a4e751abc7 TinyMCE: iOS: wrap long strings
Fixes #33157.

Built from https://develop.svn.wordpress.org/trunk@33464


git-svn-id: http://core.svn.wordpress.org/trunk@33431 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-28 20:32:25 +00:00
Konstantin Obenland
387d94ada4 Themes: Update readme files.
Adds information about changes in the current release, links to changlogs from
previous releases, and improves links to use `https`.

Release date for the latest versions will be August 18 even in the event of a
delayed core release. Since all themes are backwards compatible we don't have
a dependency there.

Props mercime, davidakennedy.
Fixes #32978.


Built from https://develop.svn.wordpress.org/trunk@33463


git-svn-id: http://core.svn.wordpress.org/trunk@33430 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-28 15:14:25 +00:00
Sergey Biryukov
96e340b33a Plugins list table: Make selector for Details links more specific to prevent the Description header from being announced as "clickable".
props afercia.
fixes #32968.
Built from https://develop.svn.wordpress.org/trunk@33462


git-svn-id: http://core.svn.wordpress.org/trunk@33429 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-28 14:50:25 +00:00
Mark Jaquith
0e28880a17 Fill empty TinyMCE paragraphs with a dummy <br /> on all browsers.
fixes #33151
props iseulde
Built from https://develop.svn.wordpress.org/trunk@33461


git-svn-id: http://core.svn.wordpress.org/trunk@33428 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-28 14:12:25 +00:00
Dominik Schilling
fd320b5c6e Customizer: Make a string translatable, see [33413].
see #32715.
Built from https://develop.svn.wordpress.org/trunk@33460


git-svn-id: http://core.svn.wordpress.org/trunk@33427 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-28 13:25:25 +00:00
Gary Pendergast
5d3fba37f2 XML-RPC: Don't rely on include_path to include files, use dirname() instead.
See #17092.


Built from https://develop.svn.wordpress.org/trunk@33459


git-svn-id: http://core.svn.wordpress.org/trunk@33426 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-28 12:17:26 +00:00
Ella Iseulde Van Dorpe
974c1533ea TinyMCE: wptextpattern: fix typo and make it faster
See #31441.

Built from https://develop.svn.wordpress.org/trunk@33458


git-svn-id: http://core.svn.wordpress.org/trunk@33425 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-28 11:41:25 +00:00
Sergey Biryukov
ca038394e9 Twenty Eleven: Fix "Skip to content" links appearance after [31464].
props davidakennedy.
fixes #32231.
Built from https://develop.svn.wordpress.org/trunk@33457


git-svn-id: http://core.svn.wordpress.org/trunk@33424 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-28 11:14:24 +00:00
Sergey Biryukov
13a1818d89 Replace empty table header with a table cell.
props afercia.
fixes #33047.
Built from https://develop.svn.wordpress.org/trunk@33456


git-svn-id: http://core.svn.wordpress.org/trunk@33423 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-28 10:19:24 +00:00
Gary Pendergast
e6904bc0e8 WPDB: When checking the encoding of strings against the database, make sure we're only relying on the return value of strings that were sent to the database. Also make sure that we're not trying to sanity check strings that've been marked as not needing sanity checking.
Fixes #32279.


Built from https://develop.svn.wordpress.org/trunk@33455


git-svn-id: http://core.svn.wordpress.org/trunk@33422 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-28 06:32:24 +00:00
Weston Ruter
a48604e32c Customizer: Hide empty space in footer on small screens since it is only populated on larger screens.
Props obenland.
Fixes #33138.

Built from https://develop.svn.wordpress.org/trunk@33454


git-svn-id: http://core.svn.wordpress.org/trunk@33421 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-28 03:43:24 +00:00
Ella Iseulde Van Dorpe
3e36b24b24 Remove broken/dead colour scheme code
See #32152.

Built from https://develop.svn.wordpress.org/trunk@33453


git-svn-id: http://core.svn.wordpress.org/trunk@33420 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-27 23:50:25 +00:00
Ella Iseulde Van Dorpe
f78068c152 TinyMCE: wptextpattern: headings on enter
Fixes #31441.

Built from https://develop.svn.wordpress.org/trunk@33452


git-svn-id: http://core.svn.wordpress.org/trunk@33419 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-27 23:16:25 +00:00
Aaron Jorbin
4a73f82a28 Add Initial JS Unit Tests for Menu Customizer
While these two tests will help ensure we don't repeat our mistakes, they mostly help lay the foundation for more tests that still need to be written.

See #32688
Props adamsilverstein, jorbin


Built from https://develop.svn.wordpress.org/trunk@33451


git-svn-id: http://core.svn.wordpress.org/trunk@33418 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-27 22:08:25 +00:00
Scott Taylor
d92795db13 Passwords UI: clean up the new JS in wp-admin/js/user-profile.js.
Instead of wrapping `#pass1` in a `<span>` dynamically, add the `<span>` to the HTML in PHP. It currently has no styling.

Fixes #33145.

Built from https://develop.svn.wordpress.org/trunk@33450


git-svn-id: http://core.svn.wordpress.org/trunk@33417 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-27 21:25:25 +00:00
Dominik Schilling
c478eee017 Bundled Themes: Bump version numbers and update POT files.
see #32978.
Built from https://develop.svn.wordpress.org/trunk@33449


git-svn-id: http://core.svn.wordpress.org/trunk@33416 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-27 19:50:25 +00:00
Dominik Schilling
9f466eacb8 i18n tools: Use https for msgid-bugs-address URLs.
Built from https://develop.svn.wordpress.org/trunk@33448


git-svn-id: http://core.svn.wordpress.org/trunk@33415 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-27 19:38:25 +00:00
Mark Jaquith
4965581097 Don't blindly trust the output of glob() to be an array.
props kitchin
fixes #33093
Built from https://develop.svn.wordpress.org/trunk@33447


git-svn-id: http://core.svn.wordpress.org/trunk@33414 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-27 18:05:24 +00:00
Konstantin Obenland
0b0c456a44 Site Icon: Minor cleanup for WP_Site_Icon after [33329].
Built from https://develop.svn.wordpress.org/trunk@33446


git-svn-id: http://core.svn.wordpress.org/trunk@33413 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-27 16:09:25 +00:00
Konstantin Obenland
94aefe52dc Customizer: Use correct spelling when instantiating CustomizeImageCropper.
Introduced in [33329].

Built from https://develop.svn.wordpress.org/trunk@33445


git-svn-id: http://core.svn.wordpress.org/trunk@33412 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-27 15:55:24 +00:00
Konstantin Obenland
2a516d6345 Menus: Readjust screen options toggle icon.
Third revision. This will let the icon appear slightly bigger than the help
icon on Macs and just slightly smaller on Windows machines. It's a compromise
in every way.

Fixes #32733. Again.


Built from https://develop.svn.wordpress.org/trunk@33444


git-svn-id: http://core.svn.wordpress.org/trunk@33411 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-27 15:43:25 +00:00
Mark Jaquith
72c9164f47 Switch explicitly from nightly to 7.0 for Travis, for clarity.
props netweb
fixes #33136
Built from https://develop.svn.wordpress.org/trunk@33443


git-svn-id: http://core.svn.wordpress.org/trunk@33410 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-27 15:16:25 +00:00
Sergey Biryukov
bc64ce5094 Merge two similar strings about insufficient permissions.
props pavelevap.
fixes #33140.
Built from https://develop.svn.wordpress.org/trunk@33442


git-svn-id: http://core.svn.wordpress.org/trunk@33409 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-27 13:25:25 +00:00
Sergey Biryukov
84f900b655 Move the translator note added in [33437] directly before the string it applies to.
fixes #33091.
Built from https://develop.svn.wordpress.org/trunk@33441


git-svn-id: http://core.svn.wordpress.org/trunk@33408 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-27 12:43:24 +00:00
Ella Iseulde Van Dorpe
491c863f35 Editor: word count: better names for types.
Also fix it in wp_trim_words().

Fixes #30966.

Built from https://develop.svn.wordpress.org/trunk@33440


git-svn-id: http://core.svn.wordpress.org/trunk@33407 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-27 11:19:26 +00:00