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
Andrew Nacin
d5fdd66f9d
Only enforce disk free space checks when doing background updates.
...
see #25652 .
Built from https://develop.svn.wordpress.org/trunk@25869
git-svn-id: http://core.svn.wordpress.org/trunk@25781 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-22 18:18:09 +00:00
Andrew Nacin
74488bdcb0
Spell out duplicate hook locations.
...
props DrewAPicture.
fixes #25658 .
Built from https://develop.svn.wordpress.org/trunk@25868
git-svn-id: http://core.svn.wordpress.org/trunk@25780 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-22 17:22:11 +00:00
Andrew Nacin
a160441c81
Updates: Disable maintenance mode once we've finished copying files, to minimize disruption.
...
props dd32.
fixes #25655 .
Built from https://develop.svn.wordpress.org/trunk@25866
git-svn-id: http://core.svn.wordpress.org/trunk@25778 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-22 17:20:10 +00:00
Andrew Nacin
097c0fd0b6
Updates: Saner stats and rollback handling. WP.org now collects basic stats on non-auto updates as they have been hugely informative.
...
props dd32 for initial patch.
fixes #25657 .
Built from https://develop.svn.wordpress.org/trunk@25863
git-svn-id: http://core.svn.wordpress.org/trunk@25775 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-22 09:49:09 +00:00
Andrew Nacin
64bd5aa564
Move upgrader_process_complete for core to its proper place in Core_Upgrader.
...
This means it will be firing as a JS redirect is taking place if the update is from pre-3.4. Acceptable.
props dd32.
fixes #25659 .
Built from https://develop.svn.wordpress.org/trunk@25861
git-svn-id: http://core.svn.wordpress.org/trunk@25773 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-22 04:37:09 +00:00
Andrew Nacin
5a0b227316
Rename the automatic_updates_send_email filter to auto_core_update_send_email. (Final name change.)
...
fixes #25653 . Also:
* Fully document all new hooks, methods, and classes in the upgrader.
* Rename 'language' to 'translation' inside the upgrader.
* Improve the readability of the crazy do-while loop in the is_vcs_checkout() method.
Built from https://develop.svn.wordpress.org/trunk@25859
git-svn-id: http://core.svn.wordpress.org/trunk@25771 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-21 22:29:09 +00:00
Drew Jaynes
564596c03f
Improve inline documentation for hooks in wp-admin/customize.php.
...
Props kpdesign.
Fixes #25444 .
Built from https://develop.svn.wordpress.org/trunk@25858
git-svn-id: http://core.svn.wordpress.org/trunk@25770 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-21 21:17:09 +00:00
Andrew Nacin
ee489a2e81
Commit [25823] should not have renamed AUTOMATIC_UPDATER_DISABLED to AUTOMATIC_UPDATES_DISABLED.
...
The proper constant is AUTOMATIC_UPDATER_DISABLED. Keep the filter in line with that too.
see #22704 .
Built from https://develop.svn.wordpress.org/trunk@25851
git-svn-id: http://core.svn.wordpress.org/trunk@25763 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-18 21:24:10 +00:00
Dominik Schilling
3d8706e96a
Vendor-prefixes for [25845]. props jorbin. see #25603 .
...
Built from https://develop.svn.wordpress.org/trunk@25849
git-svn-id: http://core.svn.wordpress.org/trunk@25761 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-18 19:25:10 +00:00
Andrew Nacin
23759bf469
About page: Prevent the meter from briefly sticking on 'Strong' when the animation resets.
...
props jorbin.
see #25603 .
Built from https://develop.svn.wordpress.org/trunk@25848
git-svn-id: http://core.svn.wordpress.org/trunk@25760 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-18 18:50:09 +00:00