Commit Graph

30708 Commits

Author SHA1 Message Date
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
Aaron Jorbin
b5f505d3dd 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



git-svn-id: https://develop.svn.wordpress.org/trunk@33451 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-27 22:07:27 +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
Dominik Schilling (ocean90)
4e00e36e0f i18n tools: Use https for msgid-bugs-address URLs.
git-svn-id: https://develop.svn.wordpress.org/trunk@33448 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-27 19:37:13 +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
Konstantin Obenland
cd4811bf66 Site Icon: Minor cleanup for WP_Site_Icon after [33329].
git-svn-id: https://develop.svn.wordpress.org/trunk@33446 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-27 16:08:47 +00:00
Konstantin Obenland
6bca6cb0b2 Customizer: Use correct spelling when instantiating CustomizeImageCropper.
Introduced in [33329].


git-svn-id: https://develop.svn.wordpress.org/trunk@33445 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-27 15:54:51 +00:00
Konstantin Obenland
8f588b345b 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.



git-svn-id: https://develop.svn.wordpress.org/trunk@33444 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-27 15:42:44 +00:00
Mark Jaquith
ba194364de Switch explicitly from nightly to 7.0 for Travis, for clarity.
props netweb
fixes #33136

git-svn-id: https://develop.svn.wordpress.org/trunk@33443 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-27 15:15:34 +00:00
Sergey Biryukov
c8f1bf5a94 Merge two similar strings about insufficient permissions.
props pavelevap.
fixes #33140.

git-svn-id: https://develop.svn.wordpress.org/trunk@33442 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-27 13:24:39 +00:00
Sergey Biryukov
faecac7803 Move the translator note added in [33437] directly before the string it applies to.
fixes #33091.

git-svn-id: https://develop.svn.wordpress.org/trunk@33441 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-27 12:42:14 +00:00
Ella Iseulde Van Dorpe
aed9a8c5bc Editor: word count: better names for types.
Also fix it in wp_trim_words().

Fixes #30966.


git-svn-id: https://develop.svn.wordpress.org/trunk@33440 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-27 11:18:55 +00:00
Mark Jaquith
70dd339fa3 Fix the padding for the feature filter box on the Add Themes screen.
fixes #33132
props SergeyBiryukov

git-svn-id: https://develop.svn.wordpress.org/trunk@33439 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-27 03:33:24 +00:00