Dominik Schilling
a7848ea08b
Themes: Hide the favorites form when performing a search.
...
The search is global and ignores the user setting. Same for filters.
See #34206 .
Built from https://develop.svn.wordpress.org/trunk@35647
git-svn-id: http://core.svn.wordpress.org/trunk@35611 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-16 19:50:26 +00:00
Dominik Schilling
99f4fc4404
Themes: Check if the browse view is set in wp_ajax_query_themes()
to avoid a PHP notice when searching for new themes.
...
Introduced in [35527].
See #34206 .
Built from https://develop.svn.wordpress.org/trunk@35646
git-svn-id: http://core.svn.wordpress.org/trunk@35610 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-16 19:47:54 +00:00
Boone Gorges
767518ffaa
Correct documentation for 'fields' param of WP_User_Query
.
...
[29843] introduced this documentation, and incorrectly stated that short
column names (eg 'login' instead of 'user_login') could be used.
Props birgire.
Fixes #34701 .
Built from https://develop.svn.wordpress.org/trunk@35645
git-svn-id: http://core.svn.wordpress.org/trunk@35609 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-16 19:04:55 +00:00
Dion Hulse
42ff945649
Decrease the chances that wp_tempnam()
will conflict with an existing file by suffixing a random ID to the generated filename.
...
This also switches from using `touch()` to using `fopen( $file, 'x')` to ensure that we're the process creating the file.
Fixes #34562
Built from https://develop.svn.wordpress.org/trunk@35644
git-svn-id: http://core.svn.wordpress.org/trunk@35608 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-16 05:33:25 +00:00
Weston Ruter
acba061485
Customize: Ensure multi-line label alignment for checkbox/radio inputs on both desktop and mobile.
...
Follow-up to [35608].
Props bordoni, delawski.
Fixes #34607 .
Built from https://develop.svn.wordpress.org/trunk@35643
git-svn-id: http://core.svn.wordpress.org/trunk@35607 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-16 04:44:26 +00:00
Dion Hulse
be94558c46
Upgrader: Pass the $args['hook_extra']
context to the upgrader_source_selection
filter.
...
Props afragen
Fixes #34696
Built from https://develop.svn.wordpress.org/trunk@35642
git-svn-id: http://core.svn.wordpress.org/trunk@35606 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-16 02:47:25 +00:00
John Blackbourn
43bc6dc931
Revert [35639] pending investigation into failures on PHP 5.2.
...
See #19455
Built from https://develop.svn.wordpress.org/trunk@35641
git-svn-id: http://core.svn.wordpress.org/trunk@35605 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-16 00:54:28 +00:00
Gary Pendergast
3783e497c6
Embeds: Add the allow_insecure_embeds
filter.
...
This allows a site to disable non-SSL embeds.
Fixes #34588 .
Built from https://develop.svn.wordpress.org/trunk@35640
git-svn-id: http://core.svn.wordpress.org/trunk@35604 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-16 00:23:26 +00:00
John Blackbourn
45658705f3
On servers running PHP <= 5.4 which have magic_quotes_sybase
enabled, the superglobals need to be magic-quoted before magic_quotes_sybase
is subsequently disabled to avoid incorrect un-slashing. This must surely effect a miniscule number of servers, but so be it.
...
Fixes #19455
Props summerblue, kurtpayne, lucatume
Built from https://develop.svn.wordpress.org/trunk@35639
git-svn-id: http://core.svn.wordpress.org/trunk@35603 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-15 23:00:28 +00:00
Dominik Schilling
40b303069a
Schema: Increase length of user_pass
and user_activation_key
fields to 255.
...
Props grvrulz and Miglosh for testing.
Fixes #33904 .
Built from https://develop.svn.wordpress.org/trunk@35638
git-svn-id: http://core.svn.wordpress.org/trunk@35602 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-15 14:19:28 +00:00
Gary Pendergast
9974c9b18d
Emoji: Ensure twemoji kicks in on certain DOM mutations.
...
Twemoji will replace the `img` with the emoji character, in the event that the image fails to load. We deliberately avoid trying to change that emoji character when it's changed back. We do need to replace emoji characters that are changed by something other than Twemoji, which this rectifies.
Fixes #34640 .
Built from https://develop.svn.wordpress.org/trunk@35637
git-svn-id: http://core.svn.wordpress.org/trunk@35601 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-14 09:52:29 +00:00
Helen Hou-Sandí
ae9e173082
Buttons: Standardize on .button-link
for link-like buttons.
...
This serves as both a reset and some basic styling. The class name also aligns with parallel components in other popular projects.
props paulwilde for the initial patch.
fixes #34242 .
Built from https://develop.svn.wordpress.org/trunk@35636
git-svn-id: http://core.svn.wordpress.org/trunk@35600 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-13 15:47:27 +00:00
Weston Ruter
268626d061
Customize: Exclude referer
URL from being used for Close link if it is customize.php
.
...
This fixes an edge case where the Close button could never link the user out of the Customizer, if the user initially accessed it without a `url` param and then clicked a link (provided by a plugin) that took them to another `customize.php` URL.
See #32637 .
Built from https://develop.svn.wordpress.org/trunk@35635
git-svn-id: http://core.svn.wordpress.org/trunk@35599 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-13 05:25:28 +00:00
Gary Pendergast
329bec7ca1
Embeds: Add support for the www subdomain to Instagram embed URLs.
...
Props skithund.
Fixes #34651 .
Built from https://develop.svn.wordpress.org/trunk@35634
git-svn-id: http://core.svn.wordpress.org/trunk@35598 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-12 23:04:27 +00:00
Aaron Jorbin
7552f6fb2a
Remove PHP 7 from allowed failures list
...
PHP 7 has released it's 7th (and potentially final) Release Candidate today. While it is still not recommended for use in production, it is at a point that a test failure with it is something that needs to be triaged immediately. Congratulations to the PHP internals team on the upcoming final release of PHP 7.
Fixes #33410
Built from https://develop.svn.wordpress.org/trunk@35633
git-svn-id: http://core.svn.wordpress.org/trunk@35597 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-12 21:45:29 +00:00
Sergey Biryukov
6209004bf7
Remove <code>
tags from translatable string in wp-includes/load.php
.
...
Add translator comment.
Props ramiy.
Fixes #34621 .
Built from https://develop.svn.wordpress.org/trunk@35632
git-svn-id: http://core.svn.wordpress.org/trunk@35596 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-12 18:21:24 +00:00
Sergey Biryukov
541ab45e8f
Fix failing multisite test after [35629].
...
See #27317 .
Built from https://develop.svn.wordpress.org/trunk@35631
git-svn-id: http://core.svn.wordpress.org/trunk@35595 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-12 17:12:25 +00:00
Sergey Biryukov
95c55ca251
Cast 'illegal_user_logins'
filter result to array.
...
See #27317 .
Built from https://develop.svn.wordpress.org/trunk@35630
git-svn-id: http://core.svn.wordpress.org/trunk@35594 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-12 16:34:27 +00:00
Sergey Biryukov
b08ae1d60b
Users: After [35189], make 'illegal_user_logins'
check case-insensitive.
...
Props juliobox.
Fixes #27317 .
Built from https://develop.svn.wordpress.org/trunk@35629
git-svn-id: http://core.svn.wordpress.org/trunk@35593 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-12 16:30:28 +00:00
Gary Pendergast
5e878b4e72
Build: Prevent non-breaking spaces from accidentally being inserted into JavaScript files.
...
See #34658 .
Built from https://develop.svn.wordpress.org/trunk@35628
git-svn-id: http://core.svn.wordpress.org/trunk@35592 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-12 12:05:26 +00:00
Gary Pendergast
6381e168b7
Pinking Shears: Remove some errant non-breaking spaces from a few JavaScript files.
...
Props francoisb.
Fixes #34658 .
Built from https://develop.svn.wordpress.org/trunk@35627
git-svn-id: http://core.svn.wordpress.org/trunk@35591 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-12 12:04:27 +00:00
Scott Taylor
23bc08f370
WordPress 4.4 Beta 4 version bump
...
Built from https://develop.svn.wordpress.org/trunk@35626
git-svn-id: http://core.svn.wordpress.org/trunk@35590 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-12 00:03:25 +00:00
Scott Taylor
6cb728d295
WordPress 4.4 Beta 4
...
Built from https://develop.svn.wordpress.org/trunk@35625
git-svn-id: http://core.svn.wordpress.org/trunk@35589 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-11 23:53:25 +00:00
Konstantin Obenland
e1901c38c1
Template: Un-deprecate wp_title()
.
...
Before it can be deprecated we should identify alternative usages and define
a path forward for them.
See [35294], #31078 .
Built from https://develop.svn.wordpress.org/trunk@35624
git-svn-id: http://core.svn.wordpress.org/trunk@35588 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-11 23:50:25 +00:00
Scott Taylor
35d501c5de
Revert [35621], breaks XML-RPC unit tests.
...
See #30775 .
Built from https://develop.svn.wordpress.org/trunk@35623
git-svn-id: http://core.svn.wordpress.org/trunk@35587 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-11 23:34:27 +00:00
Scott Taylor
128a9c3acd
List Tables: after [34271], account for searches when calculating pagination.
...
Fixes #29870 .
Built from https://develop.svn.wordpress.org/trunk@35622
git-svn-id: http://core.svn.wordpress.org/trunk@35586 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-11 23:14:26 +00:00
Scott Taylor
415ab45b9f
Posts: allow empty posts to be deleted - $maybe_empty
should not be set to true
for updates.
...
Props DrewAPicture.
Fixes #30775 .
Built from https://develop.svn.wordpress.org/trunk@35621
git-svn-id: http://core.svn.wordpress.org/trunk@35585 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-11 22:49:50 +00:00
Sergey Biryukov
c8e0cd5c65
I18N: In Translations::translate_entry()
, account for multi-line strings in files with Windows line endings.
...
Fixes #22172 .
Built from https://develop.svn.wordpress.org/trunk@35620
git-svn-id: http://core.svn.wordpress.org/trunk@35584 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-11 22:49:25 +00:00
Dominik Schilling
1f15d30396
Upgrade: Revert [34543] because of incomplete and incorrect functionality.
...
See #33932 .
Fixes #34434 .
Built from https://develop.svn.wordpress.org/trunk@35619
git-svn-id: http://core.svn.wordpress.org/trunk@35583 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-11 22:46:26 +00:00
Scott Taylor
9eb60905f2
Users: in wp_insert_user()
, when a password isn't provided and the user exists, ensure that the password isn't wiped out.
...
Adds unit test.
Props leewillis77.
Fixes #29880 .
Built from https://develop.svn.wordpress.org/trunk@35618
git-svn-id: http://core.svn.wordpress.org/trunk@35582 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-11 22:31:26 +00:00
Scott Taylor
e6611c6b01
Mail: after [33124], add unit tests.
...
Props mdawaffe.
Fixes #28039 .
Built from https://develop.svn.wordpress.org/trunk@35617
git-svn-id: http://core.svn.wordpress.org/trunk@35581 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-11 22:05:26 +00:00
Scott Taylor
b4daf516ec
Help/About: unify tab styling.
...
Props afercia.
Fixes #34214 .
Built from https://develop.svn.wordpress.org/trunk@35616
git-svn-id: http://core.svn.wordpress.org/trunk@35580 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-11 21:54:26 +00:00
Dominik Schilling
27e4384e89
Comments: Dynamically update the document title text for all languages, not only English.
...
See [33821].
Fixes #33414 .
Built from https://develop.svn.wordpress.org/trunk@35615
git-svn-id: http://core.svn.wordpress.org/trunk@35579 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-11 21:00:27 +00:00
Sergey Biryukov
db8c89cccb
Remove non-translatable HTML code from the first post content in populate_network()
and wp_install_defaults()
.
...
Add translator comment.
Props ramiy.
Fixes #34619 .
Built from https://develop.svn.wordpress.org/trunk@35614
git-svn-id: http://core.svn.wordpress.org/trunk@35578 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-11 20:55:26 +00:00
Sergey Biryukov
d206e633c2
Users: Only show the profile picture if 'Show Avatars' option in Discussion Settings is enabled.
...
Props ocean90.
See #32286 .
Built from https://develop.svn.wordpress.org/trunk@35613
git-svn-id: http://core.svn.wordpress.org/trunk@35577 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-11 19:41:25 +00:00
Dominik Schilling
5403b62a6a
REST API: Use correct @access
tag for WP_REST_Request->get_parameter_order()
.
...
Props Frozzare.
Fixes #34624 .
Built from https://develop.svn.wordpress.org/trunk@35612
git-svn-id: http://core.svn.wordpress.org/trunk@35576 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-11 19:39:25 +00:00
Dominik Schilling
0251086dec
About: Don't use _n_noop()
for singular/plural strings which provide no placeholder for a number.
...
This allows for using proper plural forms in languages with more than two forms.
Props SergeyBiryukov.
Fixes #34307 .
See #28502 .
Built from https://develop.svn.wordpress.org/trunk@35611
git-svn-id: http://core.svn.wordpress.org/trunk@35575 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-11 19:29:25 +00:00
Sergey Biryukov
694ff83cc6
Users: Add user's Gravatar to 'About the user' section on user profile page.
...
Add `user_profile_picture_description` filter for the description text displayed under the Gravatar.
Props carolinegeven, obrienlabs, SergeyBiryukov.
Fixes #32286 .
Built from https://develop.svn.wordpress.org/trunk@35610
git-svn-id: http://core.svn.wordpress.org/trunk@35574 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-11 19:28:28 +00:00
Andrea Fercia
62e236b3c6
Accessibility: Improve form labels and descriptions for the Tags meta box in the Edit Post screen.
...
Fixes #34627 .
Built from https://develop.svn.wordpress.org/trunk@35609
git-svn-id: http://core.svn.wordpress.org/trunk@35573 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-11 15:24:29 +00:00
Weston Ruter
025074bbda
Customize: Prevent multi-line checkbox control labels from wrapping under checkbox.
...
Props bordoni.
Fixes #34607 .
Built from https://develop.svn.wordpress.org/trunk@35608
git-svn-id: http://core.svn.wordpress.org/trunk@35572 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-11 09:37:27 +00:00
Andrew Ozz
7e1c68ea78
TinyMCE:
...
- Fix the inline toolbar on images in iOS, move it out of the way so the default inline toolbar is not over it.
- Fix selecting images on touch in the editor (iOS Safari fails to select them most of the time).
Fixes #34557 .
Built from https://develop.svn.wordpress.org/trunk@35607
git-svn-id: http://core.svn.wordpress.org/trunk@35571 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-11 03:27:25 +00:00
Gary Pendergast
d3f30288e9
Emoji: Use twemoji in browsers that don't support Unicode 8 emoji.
...
Some less advanced browsers are yet to add support for the important advances made in Unicode 8. Let's make ensure that their users can experience emoji in their full glory.
See #33592 .
Built from https://develop.svn.wordpress.org/trunk@35606
git-svn-id: http://core.svn.wordpress.org/trunk@35570 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-11 02:25:25 +00:00
Andrea Fercia
5f93491286
Accessibility: improvements for the taxonomies Quick Edit form.
...
Changes the "Cancel" and "Update" controls in buttons for better semantics and
accessibility. On cancel and successful saving, moves focus back to the term title
to avoid a focus loss. Dispatches error and success messages to `wp.a11y.speak`
to give assistive technologies users an audible feedback.
Patch prepared at #wpcdit, first Italian WordPress Contributor Day.
Props garusky, chiara_09.
Fixes #34613 .
Built from https://develop.svn.wordpress.org/trunk@35605
git-svn-id: http://core.svn.wordpress.org/trunk@35569 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-11 00:24:28 +00:00
Drew Jaynes
eba05b2c98
Permalinks: Use "Plain" instead of "None" for the ?p-###
, which is still a valid permalink structure, just not a "pretty" one.
...
Permalinks are enabled by default (where supported) since in 4.2. When that change was made, it rended the "Default" label (previous to [35599]) inaccurate.
Props Ankit-K-Gupta.
Fixes #34509 .
Built from https://develop.svn.wordpress.org/trunk@35604
git-svn-id: http://core.svn.wordpress.org/trunk@35568 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-10 22:19:27 +00:00
Dominik Schilling
66dee42444
Passwords: Disable hidden input fields on profile/user edit page.
...
Prevents an issue where password helpers would autofill the hidden password fields and inadvertently causing password changes when editing other fields on the profile page.
Props adamsilverstein.
Fixes #33699 .
Built from https://develop.svn.wordpress.org/trunk@35603
git-svn-id: http://core.svn.wordpress.org/trunk@35567 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-10 20:41:26 +00:00
Andrew Ozz
93fa052e49
TinyMCE: prevent resize handles in newer IE when inserting a wpView.
...
Fixes #29400 .
Built from https://develop.svn.wordpress.org/trunk@35602
git-svn-id: http://core.svn.wordpress.org/trunk@35566 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-10 19:33:26 +00:00
Drew Jaynes
a90d108b82
Docs: Remove an empty line from the hook doc for the wp_calculate_image_srcset
filter, introduced in [35592].
...
Props kraftbj.
See #34612 .
Built from https://develop.svn.wordpress.org/trunk@35601
git-svn-id: http://core.svn.wordpress.org/trunk@35565 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-10 17:15:29 +00:00
Dion Hulse
49e6e41fb4
Update random_compat to master.
...
Clarifies strings, Merges [35587] upstream.
See #34409 , #28633
Built from https://develop.svn.wordpress.org/trunk@35600
git-svn-id: http://core.svn.wordpress.org/trunk@35564 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-10 12:00:30 +00:00
Drew Jaynes
c5a8c3aa86
Permalinks: Rename the "Default" permalink structure to "None" as permalinks have been enabled by default (where supported) since 4.2.
...
Updates help tabs and contextual text to match.
Props johnbillion, DrewAPicture.
Fixes #34509 .
Built from https://develop.svn.wordpress.org/trunk@35599
git-svn-id: http://core.svn.wordpress.org/trunk@35563 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-10 06:58:25 +00:00
Drew Jaynes
626549448a
Docs: Move an inline comment that was preventing the hook docs for the user_has_cap
filter from being parsed.
...
Props ocean90.
Fixes #34639 .
Built from https://develop.svn.wordpress.org/trunk@35598
git-svn-id: http://core.svn.wordpress.org/trunk@35562 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-10 06:45:25 +00:00