Commit Graph

23882 Commits

Author SHA1 Message Date
Dominik Schilling (ocean90)
ec83dfc341 Multisite: Validate new email address confirmations.
Merge of [37103] to the 3.7 branch.

git-svn-id: https://develop.svn.wordpress.org/branches/3.7@37111 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-30 14:49:25 +00:00
Nikolay Bachiyski
a7445c043f Snoopy: use escapeshellarg instead of escapeshellcmd
We are escaping arguments, not commands, so we'd better use the semantically correct function, even though they are similar.

Merges [37094] to the 3.7 branch.


git-svn-id: https://develop.svn.wordpress.org/branches/3.7@37102 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-30 14:15:25 +00:00
Dominik Schilling (ocean90)
8c8830206f Bump 3.7 branch to 3.7.13.
git-svn-id: https://develop.svn.wordpress.org/branches/3.7@36462 602fd350-edb4-49c9-b593-d223f7449a82
2016-02-02 17:29:18 +00:00
Dominik Schilling (ocean90)
41940867df Better validation of the URL used in HTTP redirects.
Merges [36444] to the 3.7 branch.

git-svn-id: https://develop.svn.wordpress.org/branches/3.7@36454 602fd350-edb4-49c9-b593-d223f7449a82
2016-02-02 16:59:34 +00:00
Dominik Schilling (ocean90)
61efc669b5 HTTP: 0.1.2.3 is not a valid IP.
Merges [36435] to the 3.7 branch.

git-svn-id: https://develop.svn.wordpress.org/branches/3.7@36443 602fd350-edb4-49c9-b593-d223f7449a82
2016-02-02 13:03:05 +00:00
Dominik Schilling (ocean90)
54ab881c5b Bump 3.7 branch to 3.7.12.
git-svn-id: https://develop.svn.wordpress.org/branches/3.7@36203 602fd350-edb4-49c9-b593-d223f7449a82
2016-01-06 18:51:05 +00:00
Aaron Jorbin
c935094e03 Theme: Escape error messages
[36185] for 3.7 branch


git-svn-id: https://develop.svn.wordpress.org/branches/3.7@36193 602fd350-edb4-49c9-b593-d223f7449a82
2016-01-06 17:29:16 +00:00
Dion Hulse
d28006dc3b Background Updates: Remove the 7am/7pm background update check.
This changeset is a more basic version of [36180], clearing the extra now redundant schedule.
As the functionality for this was introduced in 3.9, [28129] has been backported to 3.7/3.8, allowing the API TTL to be respected by those versions.

See #27772.
Fixes #35323.


git-svn-id: https://develop.svn.wordpress.org/branches/3.7@36184 602fd350-edb4-49c9-b593-d223f7449a82
2016-01-06 12:23:15 +00:00
Dominik Schilling (ocean90)
5786559a6c 3.7.11-src.
git-svn-id: https://develop.svn.wordpress.org/branches/3.7@34198 602fd350-edb4-49c9-b593-d223f7449a82
2015-09-15 14:52:51 +00:00
Dominik Schilling (ocean90)
2fd32639f9 Finish bumping the 3.7 branch to 3.7.11.
git-svn-id: https://develop.svn.wordpress.org/branches/3.7@34191 602fd350-edb4-49c9-b593-d223f7449a82
2015-09-15 14:49:08 +00:00
Helen Hou-Sandi
9286a73f4d Bump 3.7 branch to 3.7.11.
git-svn-id: https://develop.svn.wordpress.org/branches/3.7@34187 602fd350-edb4-49c9-b593-d223f7449a82
2015-09-15 14:28:12 +00:00
Dominik Schilling (ocean90)
4ea1c85019 XMLRPC: Don't allow private posts to be sticky.
Merge of [33325], [33612], and [34135] to the 3.7 branch.

See #20662.

git-svn-id: https://develop.svn.wordpress.org/branches/3.7@34157 602fd350-edb4-49c9-b593-d223f7449a82
2015-09-14 23:02:50 +00:00
Nikolay Bachiyski
82e3682b6c Shortcodes: don't allow unclosed HTML elements in attributes
Merges [34134] for 3.7 branch


git-svn-id: https://develop.svn.wordpress.org/branches/3.7@34150 602fd350-edb4-49c9-b593-d223f7449a82
2015-09-14 22:49:09 +00:00
Nikolay Bachiyski
dcfefd81dc List tables: escape user e-mails
Merges [34133] for 3.7 branch


git-svn-id: https://develop.svn.wordpress.org/branches/3.7@34143 602fd350-edb4-49c9-b593-d223f7449a82
2015-09-14 22:44:46 +00:00
Gary Pendergast
4c0d7fd7e3 WPDB: get_table_from_query() didn't find table names with hyphens in them.
Merge of [33718] to the 3.8 branch.

Props dustinbolton, pento.

See #33470.



git-svn-id: https://develop.svn.wordpress.org/branches/3.7@33997 602fd350-edb4-49c9-b593-d223f7449a82
2015-09-10 07:19:11 +00:00
Gary Pendergast
02b6a57ac9 Capabilities: Fall back to the edit_posts capability for orphaned comments.
Merge of the `capabilities.php` part of [33614] to the 3.7 branch.

Props pento, dd32.

Fixes #33154.



git-svn-id: https://develop.svn.wordpress.org/branches/3.7@33977 602fd350-edb4-49c9-b593-d223f7449a82
2015-09-09 06:28:08 +00:00
Dominik Schilling (ocean90)
16c4f552e5 Bump 3.7 branch to version 3.7.10.
git-svn-id: https://develop.svn.wordpress.org/branches/3.7@33577 602fd350-edb4-49c9-b593-d223f7449a82
2015-08-04 11:52:56 +00:00
Dion Hulse
f86b572d73 Fix do_shortcode('<[shortcode]') edge case.
Props miqrogroove.

Merges [33499] to the 3.7 branch.
See #33116.


git-svn-id: https://develop.svn.wordpress.org/branches/3.7@33568 602fd350-edb4-49c9-b593-d223f7449a82
2015-08-04 07:18:50 +00:00
Dominik Schilling (ocean90)
5f769dd707 Comments: IDs are integers.
Merge of [33555] to the 3.7 branch.

git-svn-id: https://develop.svn.wordpress.org/branches/3.7@33561 602fd350-edb4-49c9-b593-d223f7449a82
2015-08-03 21:40:19 +00:00
Dominik Schilling (ocean90)
44e7de5079 Themes: Fix some broken links in the legacy theme preview.
Merge of [33549] to the 3.7 branch.

git-svn-id: https://develop.svn.wordpress.org/branches/3.7@33554 602fd350-edb4-49c9-b593-d223f7449a82
2015-08-03 21:21:33 +00:00
Dominik Schilling (ocean90)
18663c9ea5 Heartbeat: Ensure post locks are released.
Merge of [33542] to the 3.7 branch.

git-svn-id: https://develop.svn.wordpress.org/branches/3.7@33548 602fd350-edb4-49c9-b593-d223f7449a82
2015-08-03 21:13:18 +00:00
Dominik Schilling (ocean90)
cc5f61c9ac Nav menus: Consistent titles in widgets.
Merge of [33529] to the 3.7 branch.

git-svn-id: https://develop.svn.wordpress.org/branches/3.7@33534 602fd350-edb4-49c9-b593-d223f7449a82
2015-08-03 20:48:48 +00:00
Andrew Ozz
7aa8907c7b Backport r33469 and r33470 to 3.7.
See #33106.

git-svn-id: https://develop.svn.wordpress.org/branches/3.7@33525 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-31 01:45:34 +00:00
Gary Pendergast
c5b980124b Bump 3.7 branch to version 3.7.9.
git-svn-id: https://develop.svn.wordpress.org/branches/3.7@33400 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-23 11:09:27 +00:00
Gary Pendergast
a6c8e1823c Shortcodes: Improve the reliablity of shortcodes inside HTML tags.
Merge of [33359] to the 3.7 branch.

Props miqrogroove.

See #15694.



git-svn-id: https://develop.svn.wordpress.org/branches/3.7@33389 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-23 05:14:09 +00:00
Gary Pendergast
d1c54257f7 Capabilities: When creating an auto-draft, ensure that the current user still has permission to do so.
Partial merge of [33357] to the 3.7 branch.



git-svn-id: https://develop.svn.wordpress.org/branches/3.7@33379 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-23 04:26:36 +00:00
Dominik Schilling (ocean90)
fa276ccd72 3.7.8 version bumps.
git-svn-id: https://develop.svn.wordpress.org/branches/3.7@32439 602fd350-edb4-49c9-b593-d223f7449a82
2015-05-06 23:34:06 +00:00
Michael Adams (mdawaffe)
f96b88e2e7 Upgrade: $wpdb->get_col_length() sanity check: bail on unexpected return value.
Merges [32429] for the 3.7 branch.

See #32165.


git-svn-id: https://develop.svn.wordpress.org/branches/3.7@32435 602fd350-edb4-49c9-b593-d223f7449a82
2015-05-06 23:14:34 +00:00
Michael Adams (mdawaffe)
f15a8b10bb Upgrade: Ensure unintelligible DB schemas don't result in content loss.
Merge of [32417] to the 3.7 branch.

See #32165.

Props ocean90.


git-svn-id: https://develop.svn.wordpress.org/branches/3.7@32423 602fd350-edb4-49c9-b593-d223f7449a82
2015-05-06 21:52:41 +00:00
John Blackbourn
8100ec865a WPDB: Allow queries to reference tables in the dbname.tablename format, and allow table names to contain any valid character, rather than just ASCII.
Merge of [32368] to the 3.7 branch.

Props pento, willstedt for the initial patch.

See #32090.


git-svn-id: https://develop.svn.wordpress.org/branches/3.7@32416 602fd350-edb4-49c9-b593-d223f7449a82
2015-05-06 21:13:49 +00:00
Aaron Jorbin
98d9069847 When upgrading WordPress remove genericons example.html files
[32385] for 3.7 branch

Props @dd32, @boonebgorges, @johnjamesjacoby, @drewapicture, @jorbin



git-svn-id: https://develop.svn.wordpress.org/branches/3.7@32411 602fd350-edb4-49c9-b593-d223f7449a82
2015-05-06 20:49:29 +00:00
Dominik Schilling (ocean90)
6e4859483a WPDB: When sanity checking query character sets, there's no need to check queries that don't return user data.
Merges [32374] to the 3.7 branch.

props pento.
fixes #32104.

git-svn-id: https://develop.svn.wordpress.org/branches/3.7@32407 602fd350-edb4-49c9-b593-d223f7449a82
2015-05-06 20:07:58 +00:00
Helen Hou-Sandi
a1a52d8d58 The UTF-8 regex can occasionally fail on very low memory machines. Reduce the amount of memory it uses.
Merges [32375] to the 3.7 branch.

props pento.
fixes #32204.


git-svn-id: https://develop.svn.wordpress.org/branches/3.7@32400 602fd350-edb4-49c9-b593-d223f7449a82
2015-05-06 19:43:53 +00:00
Michael Adams (mdawaffe)
0d1d04e081 Upgrade: Fix typo in [32391]/3.7.
See #32165.


git-svn-id: https://develop.svn.wordpress.org/branches/3.7@32395 602fd350-edb4-49c9-b593-d223f7449a82
2015-05-06 19:40:03 +00:00
Michael Adams (mdawaffe)
2849f2213d WPDB: When checking that a string can be sent to MySQL, we shouldn't use mb_convert_encoding(), as it behaves differently to MySQL's character encoding conversion.
Merge of [32364] to the 3.7 branch.

Props mdawaffe, pento, nbachiyski, jorbin, johnjamesjacoby, jeremyfelt.

See #32165.


git-svn-id: https://develop.svn.wordpress.org/branches/3.7@32391 602fd350-edb4-49c9-b593-d223f7449a82
2015-05-06 19:16:41 +00:00
Michael Adams (mdawaffe)
b0dabb4fd2 3.7:
- WPDB: Sanity check that any strings being stored in the DB are not too long to store correctly.
- When upgrading, remove any suspicious comments.


git-svn-id: https://develop.svn.wordpress.org/branches/3.7@32318 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-27 18:34:09 +00:00
Gary Pendergast
2a6abbff70 3.7 branch is now 3.7.8.
git-svn-id: https://develop.svn.wordpress.org/branches/3.7@32305 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-27 14:12:30 +00:00
Helen Hou-Sandi
59bd2bdff8 The 3.7 branch is now 3.7.7.
git-svn-id: https://develop.svn.wordpress.org/branches/3.7@32286 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-23 20:37:03 +00:00
Gary Pendergast
e60395d383 WPDB: When sanity checking a string by sending it to MySQL for conversion checks, the incorrect data structure was being returned from wpdb::strip_invalid_text(), causing all write queries to fail for some character sets when the query contained non-ASCII characters.
Merge of [32261] to the 3.7 branch.

See #32051.



git-svn-id: https://develop.svn.wordpress.org/branches/3.7@32275 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-23 11:55:46 +00:00
Gary Pendergast
20f5e4d2f9 WPDB: When deciding if a query needs extra sanity checking based on collation, return early when we can. Merges [32232] and [32233] to the 3.7 branch.
See #32029.



git-svn-id: https://develop.svn.wordpress.org/branches/3.7@32241 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-21 07:05:24 +00:00
Gary Pendergast
3327dedf3c Bump 3.7 branch 3.7.6.
git-svn-id: https://develop.svn.wordpress.org/branches/3.7@32213 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-20 17:32:51 +00:00
Gary Pendergast
6ecaeb499b 3.7: Update about.php.
git-svn-id: https://develop.svn.wordpress.org/branches/3.7@32212 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-20 17:31:21 +00:00
Gary Pendergast
3d8288d8cd Ensure post titles are correctly escaped on the Dashboard. Merge of [32175] to the 3.7 branch.
Props helen, ocean90, dd32, pento.



git-svn-id: https://develop.svn.wordpress.org/branches/3.7@32206 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-20 13:43:56 +00:00
Gary Pendergast
099dee5f2e In Multisite, prevent plugins from unintentionally switching sites. Merge of [32173] to the 3.7 branch.
Props mdawaffe, pento.



git-svn-id: https://develop.svn.wordpress.org/branches/3.7@32202 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-20 13:28:00 +00:00
Gary Pendergast
b743ef86c0 Remove some old backwards compatibility code from TinyMCE. Merge of [32166] to the 3.7 branch.
Props azaozz.



git-svn-id: https://develop.svn.wordpress.org/branches/3.7@32196 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-20 12:57:55 +00:00
Gary Pendergast
4dddb751ed Clean up some edge cases in sanitize_sql_orderby(). Merge of [32164] to the 3.7 branch.
Props vortfu, dd32.



git-svn-id: https://develop.svn.wordpress.org/branches/3.7@32192 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-20 12:40:45 +00:00
Gary Pendergast
8fe5faa49f Merge the query sanity checks from #21212 to the 3.7 branch.
Props pento, nacin, mdawaffe, DrewAPicture.



git-svn-id: https://develop.svn.wordpress.org/branches/3.7@32188 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-20 11:51:13 +00:00
Gary Pendergast
a2b9da0024 3.7: Bump package.json, readme.html and license.txt.
git-svn-id: https://develop.svn.wordpress.org/branches/3.7@32160 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-20 03:52:03 +00:00
Gary Pendergast
dcb2a58f2c The 3.7 branch is now 3.7.6-alpha.
git-svn-id: https://develop.svn.wordpress.org/branches/3.7@32159 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-20 03:48:37 +00:00
Gary Pendergast
efa7f7b4d2 Backport the PHPUnit test fixes from [31622] to the 3.7 branch.
Props boonebgorges.

See #31537.



git-svn-id: https://develop.svn.wordpress.org/branches/3.7@32151 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-19 11:20:07 +00:00