Gary Pendergast
8a6a7d323e
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.
Built from https://develop.svn.wordpress.org/branches/3.7@33379
git-svn-id: http://core.svn.wordpress.org/branches/3.7@33350 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-23 04:27:09 +00:00
Dominik Schilling
1cef8c9e5a
3.7.8 version bumps.
...
Built from https://develop.svn.wordpress.org/branches/3.7@32439
git-svn-id: http://core.svn.wordpress.org/branches/3.7@32409 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-06 23:35:08 +00:00
Michael Adams
2b1b2ebaf2
Upgrade: `$wpdb->get_col_length()` sanity check: bail on unexpected return value.
...
Merges [32429] for the 3.7 branch.
See #32165 .
Built from https://develop.svn.wordpress.org/branches/3.7@32435
git-svn-id: http://core.svn.wordpress.org/branches/3.7@32405 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-06 23:15:09 +00:00
Michael Adams
a021bbe537
Upgrade: Ensure unintelligible DB schemas don't result in content loss.
...
Merge of [32417] to the 3.7 branch.
See #32165 .
Props ocean90.
Built from https://develop.svn.wordpress.org/branches/3.7@32423
git-svn-id: http://core.svn.wordpress.org/branches/3.7@32393 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-06 21:53:34 +00:00
Aaron Jorbin
f702a97f8c
When upgrading WordPress remove genericons example.html files
...
[32385] for 3.7 branch
Props @dd32, @boonebgorges, @johnjamesjacoby, @drewapicture, @jorbin
Built from https://develop.svn.wordpress.org/branches/3.7@32411
git-svn-id: http://core.svn.wordpress.org/branches/3.7@32381 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-06 20:50:09 +00:00
Michael Adams
15a2afed1e
Upgrade: Fix typo in [32391]/3.7.
...
See #32165 .
Built from https://develop.svn.wordpress.org/branches/3.7@32395
git-svn-id: http://core.svn.wordpress.org/branches/3.7@32365 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-06 19:41:09 +00:00
Michael Adams
18fcca2916
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 .
Built from https://develop.svn.wordpress.org/branches/3.7@32391
git-svn-id: http://core.svn.wordpress.org/branches/3.7@32361 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-06 19:17:09 +00:00
Michael Adams
cd63ed5102
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.
Built from https://develop.svn.wordpress.org/branches/3.7@32318
git-svn-id: http://core.svn.wordpress.org/branches/3.7@32289 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-27 18:35:09 +00:00
Helen Hou-Sandí
23f7dc02fe
The 3.7 branch is now 3.7.7.
...
Built from https://develop.svn.wordpress.org/branches/3.7@32286
git-svn-id: http://core.svn.wordpress.org/branches/3.7@32257 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-23 21:36:10 +00:00
Gary Pendergast
964a43089d
3.7: Update about.php.
...
Built from https://develop.svn.wordpress.org/branches/3.7@32212
git-svn-id: http://core.svn.wordpress.org/branches/3.7@32186 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-20 17:32:10 +00:00
Gary Pendergast
f51aa3949c
Ensure post titles are correctly escaped on the Dashboard. Merge of [32175] to the 3.7 branch.
...
Props helen, ocean90, dd32, pento.
Built from https://develop.svn.wordpress.org/branches/3.7@32206
git-svn-id: http://core.svn.wordpress.org/branches/3.7@32179 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-20 13:44:10 +00:00
Gary Pendergast
5236e251a3
Merge the query sanity checks from #21212 to the 3.7 branch.
...
Props pento, nacin, mdawaffe, DrewAPicture.
Built from https://develop.svn.wordpress.org/branches/3.7@32188
git-svn-id: http://core.svn.wordpress.org/branches/3.7@32161 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-20 11:52:10 +00:00
Andrew Nacin
f5f28b9b1b
3.7.5 version bumps.
...
Built from https://develop.svn.wordpress.org/branches/3.7@30472
git-svn-id: http://core.svn.wordpress.org/branches/3.7@30463 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-20 16:26:10 +00:00
Andrew Nacin
1e3fb4d13c
Validate image data.
...
Merges [30458] to the 3.7 branch.
Built from https://develop.svn.wordpress.org/branches/3.7@30465
git-svn-id: http://core.svn.wordpress.org/branches/3.7@30456 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-20 16:00:09 +00:00
Andrew Nacin
3d16a38fc4
Press This: Ensure the error message is printed. props johnbillion
...
Merges [30438] to the 3.7 branch.
Built from https://develop.svn.wordpress.org/branches/3.7@30442
git-svn-id: http://core.svn.wordpress.org/branches/3.7@30437 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-20 14:00:18 +00:00
Andrew Nacin
e4da99ec10
3.7.4
...
Built from https://develop.svn.wordpress.org/branches/3.7@29413
git-svn-id: http://core.svn.wordpress.org/branches/3.7@29191 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-06 18:27:35 +00:00
Andrew Nacin
d2044c3bb5
3.7.3
...
Built from https://develop.svn.wordpress.org/branches/3.7@28119
git-svn-id: http://core.svn.wordpress.org/branches/3.7@27950 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-14 19:06:10 +00:00
Andrew Nacin
7331bf3e98
Avoid stomping of bulk postdata inside the bulk_edit_posts() loop.
...
Merges [28113] to the 3.7 branch.
Reverts [27992] which did not fix it for authors and comment/ping status.
props dd32, DrewAPicture.
fixes #27792 .
Built from https://develop.svn.wordpress.org/branches/3.7@28115
git-svn-id: http://core.svn.wordpress.org/branches/3.7@27946 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-14 08:13:10 +00:00
Andrew Nacin
9c1b1dd073
Recover auto-drafts lost via Quick Draft.
...
Merges [28075] from the 3.8 to the 3.7 branch. See [28074].
fixes #27734 .
Built from https://develop.svn.wordpress.org/branches/3.7@28077
git-svn-id: http://core.svn.wordpress.org/branches/3.7@27908 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-11 17:29:10 +00:00
Andrew Nacin
1f7cf009b3
Ensure edit_post() promotes an auto-draft to draft. Fixes Quick Draft.
...
Merges [28073] from the 3.8 branch to the 3.7 branch.
props dd32.
see #27734 .
Built from https://develop.svn.wordpress.org/branches/3.7@28074
git-svn-id: http://core.svn.wordpress.org/branches/3.7@27905 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-11 04:38:11 +00:00
Andrew Nacin
1dd3b9212e
3.7.2
...
Built from https://develop.svn.wordpress.org/branches/3.7@28056
git-svn-id: http://core.svn.wordpress.org/branches/3.7@27888 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-08 18:13:10 +00:00
Andrew Nacin
ab7e094de3
3.7.2-RC1
...
Built from https://develop.svn.wordpress.org/branches/3.7@27993
git-svn-id: http://core.svn.wordpress.org/branches/3.7@27823 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-07 19:40:11 +00:00
Andrew Nacin
e5ba4e75cb
Avoid stomping of bulk postdata inside the bulk_edit_posts() loop.
...
Merges [27990] to the 3.7 branch.
props kovshenin.
see [27964], see #27452 .
Built from https://develop.svn.wordpress.org/branches/3.7@27992
git-svn-id: http://core.svn.wordpress.org/branches/3.7@27822 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-07 19:36:21 +00:00
Andrew Nacin
c322ca97ad
Better checks for contributors when saving posts.
...
Merges [27976] from the 3.8 branch to the 3.7 branch.
props dd32, kovshenin, plocha.
fixes #27452 .
Built from https://develop.svn.wordpress.org/branches/3.7@27977
git-svn-id: http://core.svn.wordpress.org/branches/3.7@27807 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-06 22:17:10 +00:00
Andrew Nacin
d5744d72dc
Background Updates: Record plugin & theme update statistics like we do for core updates.
...
Pass plugin/theme update objects into the Background updater for consistency with core & translations.
Merges [27905] to the 3.7 branch.
props dd32.
fixes #27633 .
Built from https://develop.svn.wordpress.org/branches/3.7@27924
git-svn-id: http://core.svn.wordpress.org/branches/3.7@27754 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-03 04:03:09 +00:00
Andrew Nacin
8d9c69ffc4
Core Updates: Fix a case where options (db_version specifically) can end up with stale values in the cache after a update is performed.
...
Merges [26448] and [26734] from 3.8 to the 3.7 branch.
props dd32.
fixes #26173 .
Built from https://develop.svn.wordpress.org/branches/3.7@27885
git-svn-id: http://core.svn.wordpress.org/branches/3.7@27716 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-01 03:36:10 +00:00
Andrew Nacin
62f4a5b223
Updates: When a failed Background Update occurs, only show the failed update nag if the user hasn't yet updated if it was an early abort.
...
Merges [26186] from 3.8 to the 3.7 branch.
props SergeyBiryukov.
fixes #25887 .
Built from https://develop.svn.wordpress.org/branches/3.7@27884
git-svn-id: http://core.svn.wordpress.org/branches/3.7@27715 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-01 03:31:09 +00:00
Andrew Nacin
4aa0ca0aab
Core Upgrader success statistics: Pass the version of WordPress we're upgrading from, as well as the version being upgraded to.
...
Merges [26016] and [26017] from 3.8 to the 3.7 branch.
fixes #25772 .
Built from https://develop.svn.wordpress.org/branches/3.7@27883
git-svn-id: http://core.svn.wordpress.org/branches/3.7@27714 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-01 03:29:10 +00:00
Andrew Nacin
8930937bf0
When checking filesystem permissions for core updates, only check the permissions of the files which we need to alter.
...
Merges [26014] from 3.8 to the 3.7 branch.
fixes #25771 .
Built from https://develop.svn.wordpress.org/branches/3.7@27882
git-svn-id: http://core.svn.wordpress.org/branches/3.7@27713 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-01 03:09:10 +00:00
Andrew Nacin
fe261114bd
Background Updates: Fix a PHP fatal error which could be encountered on some systems when using FTP.
...
Merges [26148] from 3.8 to the 3.7 branch.
props dd32.
fixes #25817 .
Built from https://develop.svn.wordpress.org/branches/3.7@27881
git-svn-id: http://core.svn.wordpress.org/branches/3.7@27712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-01 02:58:10 +00:00
Dion Hulse
bd4a5ae14a
Background Updates: Spread them over the hour. Props Pento. Merges r26149 to the 3.7 branch. Fixes #25833 for 3.7.
...
Built from https://develop.svn.wordpress.org/branches/3.7@26450
git-svn-id: http://core.svn.wordpress.org/branches/3.7@26348 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-28 02:35:11 +00:00
Andrew Nacin
f2e591e4c2
PHP4 compatibility for files loaded before we bail. fixes #25760 .
...
Merges [25986] to the 3.7 branch.
Built from https://develop.svn.wordpress.org/branches/3.7@25987
git-svn-id: http://core.svn.wordpress.org/branches/3.7@25923 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-29 20:08:08 +00:00
Andrew Nacin
2861721640
Final count of bug fixes in 3.7.1 is 10.
...
Built from https://develop.svn.wordpress.org/branches/3.7@25984
git-svn-id: http://core.svn.wordpress.org/branches/3.7@25922 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-29 18:16:09 +00:00
Andrew Nacin
7c591bacff
Use correct variable in WP_Automatic_Updater::send_email().
...
Merges [25977] to the 3.7 branch and adds an inline comment.
props pento.
see #25757 .
Built from https://develop.svn.wordpress.org/branches/3.7@25981
git-svn-id: http://core.svn.wordpress.org/branches/3.7@25920 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-29 17:15:10 +00:00
Andrew Nacin
4006a8aa0a
When an HTTPS request to api.wordpress.org fails, try an insecure HTTP request and issue a warning.
...
Certain versions of cURL appear to claim OpenSSL support but fail to work. We need to not trap users on older versions while we work this out, and instead fall back to an insecure request.
Merges [25956] to the 3.7 branch.
fixes #25716 for the 3.7 branch.
Built from https://develop.svn.wordpress.org/branches/3.7@25957
git-svn-id: http://core.svn.wordpress.org/branches/3.7@25916 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-27 21:10:09 +00:00
Andrew Nacin
bdb8c16d82
Update the about page for 3.7.1. Tentative bug count.
...
Built from https://develop.svn.wordpress.org/branches/3.7@25931
git-svn-id: http://core.svn.wordpress.org/branches/3.7@25890 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-26 03:27:10 +00:00
Andrew Nacin
50dfcadf54
About page: Replace 3.7 with the current version (3.7.1, etc.).
...
Normally this would be sprintf'd in but we don't want to change a string at this point.
fixes #25683 for the 3.7 branch.
Built from https://develop.svn.wordpress.org/branches/3.7@25927
git-svn-id: http://core.svn.wordpress.org/branches/3.7@25886 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-26 03:07:09 +00:00
Andrew Nacin
01023d9bfa
Avoid a notice for an undefined $checksums variable when updating from pre-3.7 to post-3.7.
...
Merges [25915] to the 3.7 branch.
props GaryJ.
fixes #25689 .
Built from https://develop.svn.wordpress.org/branches/3.7@25916
git-svn-id: http://core.svn.wordpress.org/branches/3.7@25879 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-25 20:17:09 +00:00
Andrew Nacin
a49c3f07c8
Add editimage.min.js to $_old_files. see #24999 . for the 3.7 branch.
...
Built from https://develop.svn.wordpress.org/branches/3.7@25898
git-svn-id: http://core.svn.wordpress.org/branches/3.7@25810 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 19:29:10 +00:00
Andrew Nacin
36a4f54379
Confirm delete_site_option() exists before calling it during an update.
...
This function won't yet exist when updating from 2.7 [sic].
Merges [25893] to the 3.7 branch.
fixes #25682 .
Built from https://develop.svn.wordpress.org/branches/3.7@25894
git-svn-id: http://core.svn.wordpress.org/branches/3.7@25806 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 18:21:10 +00:00
Andrew Nacin
a8bda30209
Remove debug code from WP_Automatic_Updater::send_email().
...
Merges [25891] to the 3.7 branch.
props markmcwilliams for initial patch.
fixes #25678 .
Built from https://develop.svn.wordpress.org/branches/3.7@25892
git-svn-id: http://core.svn.wordpress.org/branches/3.7@25804 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 02:00:09 +00:00
Andrew Nacin
c7e5a7da23
About page: Cache our zxcvbn calls and limit the variation of the animation.
...
Merges [25884] to the 3.7 branch.
Diff is mostly whitespace.
props jorbin, azaozz.
fixes #25603 .
Built from https://develop.svn.wordpress.org/branches/3.7@25887
git-svn-id: http://core.svn.wordpress.org/branches/3.7@25799 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-23 19:55:09 +00:00
Andrew Nacin
1ba8a7f373
About page, updates section: Don't show a message on about.php if the updater is 100% disabled. Don't show it if the user can't update core. Don't show the email if notifications are disabled. New string.
...
Merges [25883] to the 3.7 branch.
see #25603 .
Built from https://develop.svn.wordpress.org/branches/3.7@25886
git-svn-id: http://core.svn.wordpress.org/branches/3.7@25798 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-23 19:54:18 +00:00
Andrew Nacin
4152cb0b4b
Introduce a send_core_update_notification_email filter to control whether to send update notifications.
...
Merges [25882] to the 3.7 branch.
Currently, this is dependent on whether the automatic updater is enabled (generally). This is likely to be decoupled in a future release.
This refocuses the auto_core_update_send_email filter to specifically be for success/fail emails for auto updates, while the new filter is more general.
see #25603 .
Built from https://develop.svn.wordpress.org/branches/3.7@25885
git-svn-id: http://core.svn.wordpress.org/branches/3.7@25797 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-23 19:54:10 +00:00
Ryan Boren
85447a0bf3
Pinking shears
...
Built from https://develop.svn.wordpress.org/branches/3.7@25881
git-svn-id: http://core.svn.wordpress.org/branches/3.7@25793 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-23 14:40:10 +00:00
Andrew Nacin
bd01235e18
Delete Twenty Fourteen from the 3.7 branch.
...
Built from https://develop.svn.wordpress.org/branches/3.7@25877
git-svn-id: http://core.svn.wordpress.org/branches/3.7@25789 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-22 23:56:26 +00:00
Andrew Nacin
a387c3bef9
Make some changes to the email templates to account for the fact that an auto update offer might not be to the latest version.
...
For example, 3.7.2 install is served a 3.7.3 update, but the current version is 3.8.1.
This commit also allows for core update notification emails to be sent even when we are unable to run an auto update due to filesystem configuration (VCS checkout or file permissions). But, since these emails go through WP_Automatic_Updater, they will not be sent if the updater is outright disabled.
fixes #25654 .
Built from https://develop.svn.wordpress.org/trunk@25873
git-svn-id: http://core.svn.wordpress.org/trunk@25785 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-22 21:19:09 +00:00
Andrew Nacin
58c18f0c32
Show the nag we show for a stuck .maintenance file when an auto update failed.
...
see #25654 .
Built from https://develop.svn.wordpress.org/trunk@25872
git-svn-id: http://core.svn.wordpress.org/trunk@25784 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-22 21:15:09 +00:00
Andrew Nacin
13dd29126a
"some files" instead of "certain files". Less stuffy.
...
props markjaquith.
see #25652 .
Built from https://develop.svn.wordpress.org/trunk@25871
git-svn-id: http://core.svn.wordpress.org/trunk@25783 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-22 18:41:10 +00:00
Andrew Nacin
fabf119cf3
New, better error message when we realize we won't be able to copy a file and continue with the update.
...
fixes #25652 .
Built from https://develop.svn.wordpress.org/trunk@25870
git-svn-id: http://core.svn.wordpress.org/trunk@25782 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-22 18:21:10 +00:00