Commit Graph

7355 Commits

Author SHA1 Message Date
Dominik Schilling (ocean90)
23eaa36145 Capabilities: Fall back to the edit_posts capability for orphaned comments.
Also avoid PHP notices because of orphaned comments in the comments list table.
Includes unit test.

props pento, dd32.
fixes #33154.

git-svn-id: https://develop.svn.wordpress.org/trunk@33614 602fd350-edb4-49c9-b593-d223f7449a82
2015-08-13 22:30:26 +00:00
Konstantin Obenland
ce531d8723 About: Third pass at 4.3 about page:
* Improves some of the feature descriptions.
* Uses .org CDN for images and feature video.
* Fixes an overzealous Jetpack style that adds unwanted padding.
* Uses more specific `WP_List_Table` header.
* Adds 4.3 tagline to freedoms and credit page.
* Adds infrastructure for 4.3 about video. Only the ID needs to be updated.
* Makes all strings translatable.

Props siobhan, adamsilverstein, melchoyce, ocean90, markjaquith, helen, obenland.
Fixes #32929.



git-svn-id: https://develop.svn.wordpress.org/trunk@33613 602fd350-edb4-49c9-b593-d223f7449a82
2015-08-13 22:10:06 +00:00
Scott Taylor
df480edb24 After [33325], supply a missing post_type in ->mw_editPost().
Add unit test.

Props ocean90.
Fixes #20662.


git-svn-id: https://develop.svn.wordpress.org/trunk@33612 602fd350-edb4-49c9-b593-d223f7449a82
2015-08-13 15:27:57 +00:00
Boone Gorges
ee67bd08f9 When splitting a shared 'nav_menu' term, ensure that nav items and theme locations are retained.
Props boonebgorges, dd32.
Fixes #33187.

git-svn-id: https://develop.svn.wordpress.org/trunk@33611 602fd350-edb4-49c9-b593-d223f7449a82
2015-08-12 14:06:21 +00:00
Weston Ruter
80bc70fc4b Customize: Fix layout issues in panels and sections when resizing and autofocusing.
Also reverts [33157] which is no longer needed.

Props valendesigns, mattwiebe, westonruter, ocean90.
Fixes #33220.


git-svn-id: https://develop.svn.wordpress.org/trunk@33610 602fd350-edb4-49c9-b593-d223f7449a82
2015-08-11 23:55:40 +00:00
Andrew Ozz
e509984261 Fix paste typos in upgrade.php.
Props tellyworth. Fixes #33206.

git-svn-id: https://develop.svn.wordpress.org/trunk@33609 602fd350-edb4-49c9-b593-d223f7449a82
2015-08-11 23:43:29 +00:00
Konstantin Obenland
14b7ed65bb After [32948]: Account for the use of paginate_links() with table navigation markup.
Props afercia.
Fixes #32253.



git-svn-id: https://develop.svn.wordpress.org/trunk@33608 602fd350-edb4-49c9-b593-d223f7449a82
2015-08-11 20:42:18 +00:00
Konstantin Obenland
8f37374c3d Site Icon: Improvements to Site Icon API.
* Only call `get_blog_option()` when there is a blog id and we're in Mulitsite. If there is no blog id the request is for the current blog.
* Check return value of `wp_get_attachment_image_src()` before getting the URL since it could be `false`.
* Use `{bool}` rather than `!!` to return a boolean value.

Props MikeHansenMe, obenland.
Fixes #33326.



git-svn-id: https://develop.svn.wordpress.org/trunk@33606 602fd350-edb4-49c9-b593-d223f7449a82
2015-08-11 16:24:07 +00:00
Helen Hou-Sandi
b9dd879f42 Site icon: Rearrange function parameters to avoid frequently passing empty values.
props obenland.
fixes #33325.


git-svn-id: https://develop.svn.wordpress.org/trunk@33605 602fd350-edb4-49c9-b593-d223f7449a82
2015-08-10 20:14:35 +00:00
Konstantin Obenland
a367a1b67b Customize: Limit styles for menu's reorder button to the nav_menu control.
This prevents it from bleeding into other controls, misaligning their buttons.
Selectors use a class now too, which is preferable over ids.

Fixes #33260.



git-svn-id: https://develop.svn.wordpress.org/trunk@33604 602fd350-edb4-49c9-b593-d223f7449a82
2015-08-10 19:35:57 +00:00
Helen Hou-Sandi
19f9dd3b72 Network admin: Internationalize some existing strings that were missed in [33186].
Also adds the trailing slash to the `get_home_url()` calls.

props johnbillion.
fixes #33317.


git-svn-id: https://develop.svn.wordpress.org/trunk@33603 602fd350-edb4-49c9-b593-d223f7449a82
2015-08-10 18:10:11 +00:00
Helen Hou-Sandi
0999b0182b Customizer: Rename WP_New_Menu_Customize_Control to WP_Customize_New_Menu_Control for consistency.
props DrewAPicture.
fixes #33324.


git-svn-id: https://develop.svn.wordpress.org/trunk@33602 602fd350-edb4-49c9-b593-d223f7449a82
2015-08-10 18:06:01 +00:00
dd32
0c29101892 Function documentation: Fix a broken docbock introduced with [32642].
See #32444.


git-svn-id: https://develop.svn.wordpress.org/trunk@33601 602fd350-edb4-49c9-b593-d223f7449a82
2015-08-10 10:49:02 +00:00
ocean90
239759914f Shortcodes: Trim whitespace after sanitizing the shortcode output.
props Ankit K Gupta, obenland, miqrogroove.
fixes #33259.

git-svn-id: https://develop.svn.wordpress.org/trunk@33600 602fd350-edb4-49c9-b593-d223f7449a82
2015-08-09 20:48:02 +00:00
Dominik Schilling (ocean90)
3f7b1ca2ff Customizer: Remove obsolete .control-panel-back and .customize-overlay-close buttons.
props afercia, ocean90.
see #31336.
fixes #33229.

git-svn-id: https://develop.svn.wordpress.org/trunk@33599 602fd350-edb4-49c9-b593-d223f7449a82
2015-08-09 18:59:34 +00:00
Dominik Schilling (ocean90)
6741897dd0 List tables: Adjust width of Quick Edit labels for longer translations.
props Clorith, SergeyBiryukov, ocean90.
fixes #33212.

git-svn-id: https://develop.svn.wordpress.org/trunk@33598 602fd350-edb4-49c9-b593-d223f7449a82
2015-08-09 18:54:37 +00:00
Dion Hulse
7ef82c235a Upgrade: Skip the sitecategories table when it doesn't exist (Global Terms is disabled).
Props nofearinc, obenland, SergeyBiryukov, and pento.
Fixes #33206


git-svn-id: https://develop.svn.wordpress.org/trunk@33597 602fd350-edb4-49c9-b593-d223f7449a82
2015-08-09 02:21:11 +00:00
Dominik Schilling (ocean90)
2d6c10b842 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.

git-svn-id: https://develop.svn.wordpress.org/trunk@33596 602fd350-edb4-49c9-b593-d223f7449a82
2015-08-08 09:36:55 +00:00
Konstantin Obenland
c03388bd9d Install: Adjust th padding to align with tds.
Props Ankit K Gupta for initial patch.
Fixes #33280.



git-svn-id: https://develop.svn.wordpress.org/trunk@33595 602fd350-edb4-49c9-b593-d223f7449a82
2015-08-07 22:09:41 +00:00
Dion Hulse
7a35bff916 Fix do_shortcode('<[shortcode]') edge case.
Props miqrogroove.
Merges [33499] trunk.
See #33116.


git-svn-id: https://develop.svn.wordpress.org/trunk@33594 602fd350-edb4-49c9-b593-d223f7449a82
2015-08-07 02:49:31 +00:00
John Blackbourn
1939742e32 Remove all existing internal feature pointers.
Fixes #33289
Props obenland, ocean90, SergeyBiryukov


git-svn-id: https://develop.svn.wordpress.org/trunk@33593 602fd350-edb4-49c9-b593-d223f7449a82
2015-08-07 00:58:10 +00:00
Ella Iseulde Van Dorpe
994b1d9a5b TinyMCE: fix inline toolbar repositioning for inline editors
Fixes #33286.


git-svn-id: https://develop.svn.wordpress.org/trunk@33592 602fd350-edb4-49c9-b593-d223f7449a82
2015-08-06 21:34:16 +00:00
Mark Jaquith
7e4a72b9bc 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

git-svn-id: https://develop.svn.wordpress.org/trunk@33591 602fd350-edb4-49c9-b593-d223f7449a82
2015-08-06 20:57:31 +00:00
Mark Jaquith
3d15757198 Move media hooks out of admin-filters.php as sometimes editors are used on the front end.
fixes #33257
props wonderboymusic

git-svn-id: https://develop.svn.wordpress.org/trunk@33590 602fd350-edb4-49c9-b593-d223f7449a82
2015-08-06 20:39:35 +00:00
Dominik Schilling (ocean90)
f29b25e104 Comments: Update help text for new comment bubbles.
props kraftbj.
fixes #33256.

git-svn-id: https://develop.svn.wordpress.org/trunk@33589 602fd350-edb4-49c9-b593-d223f7449a82
2015-08-06 08:02:53 +00:00
Sergey Biryukov
1dcb93b541 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.

git-svn-id: https://develop.svn.wordpress.org/trunk@33588 602fd350-edb4-49c9-b593-d223f7449a82
2015-08-06 02:16:54 +00:00
Jeremy Felt
1872e759ea 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.


git-svn-id: https://develop.svn.wordpress.org/trunk@33586 602fd350-edb4-49c9-b593-d223f7449a82
2015-08-05 03:33:53 +00:00
Weston Ruter
fb62349c77 Customizer: Restore default fallback_cb arg for wp_nav_menu() calls in customizer preview.
Props ocean90, westonruter.
Fixes #33218.


git-svn-id: https://develop.svn.wordpress.org/trunk@33585 602fd350-edb4-49c9-b593-d223f7449a82
2015-08-04 21:56:57 +00:00
Ella Iseulde Van Dorpe
3d88983860 TinyMCE: wplink: fix WPLinkPreview for multiple editors
Fixes #33264.


git-svn-id: https://develop.svn.wordpress.org/trunk@33584 602fd350-edb4-49c9-b593-d223f7449a82
2015-08-04 21:41:34 +00:00
Dominik Schilling (ocean90)
e8b5345004 WordPress 4.3-RC2-33572.
git-svn-id: https://develop.svn.wordpress.org/trunk@33572 602fd350-edb4-49c9-b593-d223f7449a82
2015-08-04 11:47:49 +00:00
Dominik Schilling (ocean90)
7fc5d6e2a4 WordPress 4.3-RC2.
git-svn-id: https://develop.svn.wordpress.org/trunk@33571 602fd350-edb4-49c9-b593-d223f7449a82
2015-08-04 11:43:07 +00:00
Dominik Schilling (ocean90)
9f3217c8eb Multisite mails: Initialize $current_user before accessing $current_user->user_login.
props Toro_Unit.
see #31217.
fixes #33254.

git-svn-id: https://develop.svn.wordpress.org/trunk@33569 602fd350-edb4-49c9-b593-d223f7449a82
2015-08-04 11:38:52 +00:00
Ella Iseulde Van Dorpe
aaf15cdde8 TinyMCE: wptextpattern: trim whitespace
Props iseulde and azaozz.
Fixes #33246.


git-svn-id: https://develop.svn.wordpress.org/trunk@33563 602fd350-edb4-49c9-b593-d223f7449a82
2015-08-03 22:06:25 +00:00
Dominik Schilling (ocean90)
9d8768f442 Comments: IDs are integers.
git-svn-id: https://develop.svn.wordpress.org/trunk@33555 602fd350-edb4-49c9-b593-d223f7449a82
2015-08-03 21:37:26 +00:00
Dominik Schilling (ocean90)
ad74207fa7 Heartbeat: Ensure post locks are released.
git-svn-id: https://develop.svn.wordpress.org/trunk@33542 602fd350-edb4-49c9-b593-d223f7449a82
2015-08-03 21:11:35 +00:00
Dominik Schilling (ocean90)
d834719f34 Nav menus: Adjust redundant titles in accessibility helpers.
git-svn-id: https://develop.svn.wordpress.org/trunk@33540 602fd350-edb4-49c9-b593-d223f7449a82
2015-08-03 21:03:59 +00:00
Dominik Schilling (ocean90)
dd5471dab2 Customizer: Use hash_equals() for widgets.
git-svn-id: https://develop.svn.wordpress.org/trunk@33535 602fd350-edb4-49c9-b593-d223f7449a82
2015-08-03 20:56:56 +00:00
Andrew Ozz
86e10358fd TinyMCE: fix initializing the editor on switching Text => Visual when the Text editor is loaded first.
Props stuartshields, peterwilsoncc, netweb, azaozz. Fixes #33192.

git-svn-id: https://develop.svn.wordpress.org/trunk@33527 602fd350-edb4-49c9-b593-d223f7449a82
2015-08-02 20:00:56 +00:00
Dominik Schilling (ocean90)
2ebc63579c Fix PHP notice after [33492].
props jesin.
see #33178.
fixes #33208.

git-svn-id: https://develop.svn.wordpress.org/trunk@33519 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-30 19:58:43 +00:00
Dominik Schilling (ocean90)
038e2e2e4f Editor: word count: Remove indentation from the translator comment.
Avoids a duplicate comment in the POT file.

see #30966.

git-svn-id: https://develop.svn.wordpress.org/trunk@33517 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-30 17:08:01 +00:00
Andrew Ozz
2dfd08f05a TinyMCE: update to 4.2.3, changelog: https://github.com/tinymce/tinymce/blob/master/changelog.txt.
Fixes #33203.

git-svn-id: https://develop.svn.wordpress.org/trunk@33516 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-30 17:06:23 +00:00
Helen Hou-Sandi
4f2573a707 Remove debug cruft from [33511].
see #32710.


git-svn-id: https://develop.svn.wordpress.org/trunk@33515 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-29 23:52:46 +00:00
Konstantin Obenland
37605bdd38 4.3-RC1-33514
git-svn-id: https://develop.svn.wordpress.org/trunk@33514 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-29 23:52:05 +00:00
Konstantin Obenland
59518e1625 4.3-RC1
git-svn-id: https://develop.svn.wordpress.org/trunk@33513 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-29 23:46:05 +00:00
Ella Iseulde Van Dorpe
18e5891539 TinyMCE: wptextpattern: stop propagation on undo
See #31441.


git-svn-id: https://develop.svn.wordpress.org/trunk@33512 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-29 23:44:08 +00:00
Helen Hou-Sandi
3fd1376418 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.


git-svn-id: https://develop.svn.wordpress.org/trunk@33511 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-29 23:39:54 +00:00
Konstantin Obenland
63395e7652 Customizer: Improve focus styles for screen option and help toggles.
Props ocean90.
See #33181.



git-svn-id: https://develop.svn.wordpress.org/trunk@33510 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-29 23:24:17 +00:00
Andrew Ozz
46f0c4d4e0 TinyMCE: remove the spare string for the keyboard shortcuts modal.
See #31441.

git-svn-id: https://develop.svn.wordpress.org/trunk@33509 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-29 23:19:56 +00:00
Ella Iseulde Van Dorpe
662355f30c TinyMCE: wptextpattern: undo on esc after enter
See #31441.


git-svn-id: https://develop.svn.wordpress.org/trunk@33508 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-29 23:11:42 +00:00
Ella Iseulde Van Dorpe
976687bc59 TinyMCE: wptextpattern: reorder undo
After formatting on enter, undo should undo the formatting first, then undo the new line.

See #31441.


git-svn-id: https://develop.svn.wordpress.org/trunk@33507 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-29 22:48:02 +00:00
Dominik Schilling (ocean90)
709cb42ab3 Customizer: Switch buttons to match the focus order with the visual order.
props afercia.
see #33181.

git-svn-id: https://develop.svn.wordpress.org/trunk@33505 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-29 22:09:24 +00:00
Andrew Ozz
362bb806cd TinyMCE: fix (again) the text in the keyboard shortcuts modal for the changed patterns.
See #31441.

git-svn-id: https://develop.svn.wordpress.org/trunk@33504 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-29 21:53:22 +00:00
Dominik Schilling (ocean90)
0bff13a8fd Customizer: This circular focus thing is hot.
see #33181.

git-svn-id: https://develop.svn.wordpress.org/trunk@33503 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-29 21:50:27 +00:00
Dominik Schilling (ocean90)
55b1dd3411 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.

git-svn-id: https://develop.svn.wordpress.org/trunk@33502 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-29 21:29:54 +00:00
Andrew Ozz
b1933f53dc TinyMCE: fix the text in the keyboard shortcuts modal for the changed patterns.
See #31441.

git-svn-id: https://develop.svn.wordpress.org/trunk@33501 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-29 21:06:13 +00:00
Weston Ruter
1e2fdf5bc8 Customizer: Stack the menu gear icon below the help icon for more text breathing room.
Fixes #33181.


git-svn-id: https://develop.svn.wordpress.org/trunk@33500 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-29 20:22:18 +00:00
Konstantin Obenland
fbfcb87b9d 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.



git-svn-id: https://develop.svn.wordpress.org/trunk@33498 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-29 19:57:00 +00:00
Andrew Ozz
f0935052c2 Press This: properly add Open Sans to the editor, using the mce_css filter.
See #26072. Fixes #33189.

git-svn-id: https://develop.svn.wordpress.org/trunk@33497 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-29 19:37:06 +00:00
Weston Ruter
05c32013d7 Customizer: Update nav_menu_locations[...] controls to remove placeholder menus from the dropdown options upon Save & Publish.
See #32814.
Fixes #33176.


git-svn-id: https://develop.svn.wordpress.org/trunk@33496 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-29 19:33:07 +00:00
Mark Jaquith
37aa0574c4 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

git-svn-id: https://develop.svn.wordpress.org/trunk@33495 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-29 19:21:26 +00:00
Mark Jaquith
4149ad8845 Make the multisite new user messages reflect that reset links are sent, not passwords.
fixes #33175

git-svn-id: https://develop.svn.wordpress.org/trunk@33494 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-29 19:03:09 +00:00
Weston Ruter
70f461ed61 Customizer: Remove redundant translated string.
Props obenland.
Fixes #33183.


git-svn-id: https://develop.svn.wordpress.org/trunk@33493 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-29 18:53:00 +00:00
Dominik Schilling (ocean90)
faac72a070 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.

git-svn-id: https://develop.svn.wordpress.org/trunk@33492 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-29 18:35:40 +00:00
Weston Ruter
27c7e27d8b 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.


git-svn-id: https://develop.svn.wordpress.org/trunk@33491 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-29 18:12:26 +00:00
Helen Hou-Sandi
00baf4adea 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.


git-svn-id: https://develop.svn.wordpress.org/trunk@33490 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-29 18:07:03 +00:00
Helen Hou-Sandi
6b1733c01c Ensure the caption shortcode outputs a valid HTML ID.
fixes #33179.


git-svn-id: https://develop.svn.wordpress.org/trunk@33489 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-29 17:58:06 +00:00
Weston Ruter
dbcb95c022 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.


git-svn-id: https://develop.svn.wordpress.org/trunk@33488 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-29 16:02:08 +00:00
Dominik Schilling (ocean90)
dec1b4da8b Upgrade: Lowercase the "s" in remove_all_filters().
props afragen.
fixes #33173.

git-svn-id: https://develop.svn.wordpress.org/trunk@33487 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-29 14:56:23 +00:00
Mark Jaquith
2a25f9ce22 Change send_pass_change_email to send_password_change_email (better name).
see #32430

git-svn-id: https://develop.svn.wordpress.org/trunk@33486 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-29 14:51:52 +00:00
Mark Jaquith
e43b4db995 Make the "using default password" nag more accurate.
"Easy to remember" isn't necessarily what we want to encourage.

fixes #33168
props arjunskumar

git-svn-id: https://develop.svn.wordpress.org/trunk@33485 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-29 14:05:59 +00:00
Ella Iseulde Van Dorpe
b5c42d6b33 TinyMCE: views: correct cursor position after paste
Fixes #33174.


git-svn-id: https://develop.svn.wordpress.org/trunk@33484 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-29 13:48:58 +00:00
Dominik Schilling (ocean90)
8db3eeec7d Customizer: Add an aria-expanded attribute to Edit menu item toggles.
props afercia.
fixes #33129.

git-svn-id: https://develop.svn.wordpress.org/trunk@33483 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-29 09:49:55 +00:00
Ella Iseulde Van Dorpe
71dc853888 Press This: correct link on the post screens
Props rabmalin.
Fixes #33169.


git-svn-id: https://develop.svn.wordpress.org/trunk@33482 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-29 08:43:06 +00:00
Mark Jaquith
11f4909315 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

git-svn-id: https://develop.svn.wordpress.org/trunk@33475 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-29 04:29:36 +00:00
Mark Jaquith
fff891b1d9 Autogenerate passwords that more reliably fit within their inputs.
fixes #33166

git-svn-id: https://develop.svn.wordpress.org/trunk@33474 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-29 03:55:56 +00:00
Mark Jaquith
c13b00709b Re-work user-profile.js so the password meter works in IE8 and password managers can fill multiple times.
props adamsilverstein
fixes #32886

git-svn-id: https://develop.svn.wordpress.org/trunk@33473 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-29 03:26:20 +00:00
Mark Jaquith
694fb98fa1 Add CloudUp to our oEmbed provider whitelist.
fixes #26278

git-svn-id: https://develop.svn.wordpress.org/trunk@33472 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-29 02:56:48 +00:00
Mark Jaquith
220ea93449 Omit the "(required)" text for password on the install screen.
fixes #33163

git-svn-id: https://develop.svn.wordpress.org/trunk@33471 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-29 01:19:45 +00:00
Andrew Ozz
35acd9abf8 Use the embed_maybe_make_link filter to test WP_Embed::autoembed().
See #33106.

git-svn-id: https://develop.svn.wordpress.org/trunk@33470 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-29 00:01:22 +00:00
Scott Taylor
4f814ec9ae 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.


git-svn-id: https://develop.svn.wordpress.org/trunk@33469 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-28 23:02:04 +00:00
Andrew Ozz
1558be9dfa 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.

git-svn-id: https://develop.svn.wordpress.org/trunk@33468 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-28 22:06:52 +00:00
Konstantin Obenland
649d02a16b About: Remove translation functions until strings are final.
See #32929.


git-svn-id: https://develop.svn.wordpress.org/trunk@33467 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-28 21:38:32 +00:00
Konstantin Obenland
d3dd832933 About: First pass at WordPress 4.3 About page.
Still missing images and some string revisions.

See #32929.



git-svn-id: https://develop.svn.wordpress.org/trunk@33466 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-28 21:22:23 +00:00
Mark Jaquith
90e39719d8 Lose the clunky setTimeout() code and just track the password value changes.
see #32886

git-svn-id: https://develop.svn.wordpress.org/trunk@33465 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-28 21:10:16 +00:00
Ella Iseulde Van Dorpe
d5a39fe063 TinyMCE: iOS: wrap long strings
Fixes #33157.


git-svn-id: https://develop.svn.wordpress.org/trunk@33464 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-28 20:31:36 +00:00
Konstantin Obenland
2da9f26205 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.



git-svn-id: https://develop.svn.wordpress.org/trunk@33463 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-28 15:13:31 +00:00
Sergey Biryukov
962cc345ae Plugins list table: Make selector for Details links more specific to prevent the Description header from being announced as "clickable".
props afercia.
fixes #32968.

git-svn-id: https://develop.svn.wordpress.org/trunk@33462 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-28 14:49:41 +00:00
Mark Jaquith
cda0fa1f76 Fill empty TinyMCE paragraphs with a dummy <br /> on all browsers.
fixes #33151
props iseulde

git-svn-id: https://develop.svn.wordpress.org/trunk@33461 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-28 14:11:04 +00:00
Dominik Schilling (ocean90)
972f871214 Customizer: Make a string translatable, see [33413].
see #32715.

git-svn-id: https://develop.svn.wordpress.org/trunk@33460 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-28 13:24:53 +00:00
Gary Pendergast
74c061a480 XML-RPC: Don't rely on include_path to include files, use dirname() instead.
See #17092.



git-svn-id: https://develop.svn.wordpress.org/trunk@33459 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-28 12:16:44 +00:00
Ella Iseulde Van Dorpe
4393f478ea TinyMCE: wptextpattern: fix typo and make it faster
See #31441.


git-svn-id: https://develop.svn.wordpress.org/trunk@33458 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-28 11:40:29 +00:00
Sergey Biryukov
ecd1ceccdc Twenty Eleven: Fix "Skip to content" links appearance after [31464].
props davidakennedy.
fixes #32231.

git-svn-id: https://develop.svn.wordpress.org/trunk@33457 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-28 11:13:21 +00:00
Sergey Biryukov
6c6dc814a3 Replace empty table header with a table cell.
props afercia.
fixes #33047.

git-svn-id: https://develop.svn.wordpress.org/trunk@33456 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-28 10:18:47 +00:00
Gary Pendergast
dfb86dc965 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.



git-svn-id: https://develop.svn.wordpress.org/trunk@33455 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-28 06:31:39 +00:00
Weston Ruter
b53cbb1279 Customizer: Hide empty space in footer on small screens since it is only populated on larger screens.
Props obenland.
Fixes #33138.


git-svn-id: https://develop.svn.wordpress.org/trunk@33454 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-28 03:42:36 +00:00
Ella Iseulde Van Dorpe
4c7dfd38f7 Remove broken/dead colour scheme code
See #32152.


git-svn-id: https://develop.svn.wordpress.org/trunk@33453 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-27 23:49:07 +00:00
Ella Iseulde Van Dorpe
34354fc3c0 TinyMCE: wptextpattern: headings on enter
Fixes #31441.


git-svn-id: https://develop.svn.wordpress.org/trunk@33452 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-27 23:15:15 +00:00
Scott Taylor
68ff8b1a80 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.


git-svn-id: https://develop.svn.wordpress.org/trunk@33450 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-27 21:24:36 +00:00
Dominik Schilling (ocean90)
99cd8b540b Bundled Themes: Bump version numbers and update POT files.
see #32978.

git-svn-id: https://develop.svn.wordpress.org/trunk@33449 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-27 19:49:14 +00:00
Mark Jaquith
3f2b0779f5 Don't blindly trust the output of glob() to be an array.
props kitchin
fixes #33093

git-svn-id: https://develop.svn.wordpress.org/trunk@33447 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-27 18:04:19 +00:00