Dion Hulse
66f01957a0
For Background updates, ensure that only one update process runs at the same time by using the options table as a lock.
...
This prevents multiple cron spawns and/or long-running updates from causing multiple update processes to spin up.
This also fixes a case where the upgrader might kick in for ( ! is_main_network() || ! is_main_site() ) in mulisite installs.
See #22704
Built from https://develop.svn.wordpress.org/trunk@25828
git-svn-id: http://core.svn.wordpress.org/trunk@25828 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 22:53:40 +00:00
Andrew Nacin
deadb7b296
Avoid a notice in is_main_network() when called in single site. see #25030 .
...
Built from https://develop.svn.wordpress.org/trunk@25827
git-svn-id: http://core.svn.wordpress.org/trunk@25827 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 22:53:31 +00:00
Drew Jaynes
c8c2c8d2a2
Inline documentation for hooks in wp-admin/customize.php.
...
Props andg, rzen.
Fixes #25444 .
Built from https://develop.svn.wordpress.org/trunk@25826
git-svn-id: http://core.svn.wordpress.org/trunk@25826 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 22:53:23 +00:00
Andrew Nacin
8ae8e01b67
Remove the old wp_auto_updates_maybe_update cron event. Schedule the new wp_maybe_auto_update event at 7 a.m. and 7 p.m. in the site's timezone.
...
see #27704 .
Built from https://develop.svn.wordpress.org/trunk@25825
git-svn-id: http://core.svn.wordpress.org/trunk@25825 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 22:53:14 +00:00
Andrew Nacin
0dbec8fa31
POT update.
...
Built from https://develop.svn.wordpress.org/trunk@25911
git-svn-id: http://core.svn.wordpress.org/trunk@25823 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 20:38:16 +00:00
Andrew Nacin
7115fa35af
Translator comments are special, make sure they are parsed properly. see #25256 .
...
Built from https://develop.svn.wordpress.org/trunk@25908
git-svn-id: http://core.svn.wordpress.org/trunk@25820 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 20:29:09 +00:00
Andrew Nacin
49e274c316
Twenty Thirteen: Restore the original "Not found" string. see #24891 , for trunk.
...
Built from https://develop.svn.wordpress.org/trunk@25907
git-svn-id: http://core.svn.wordpress.org/trunk@25819 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 20:20:09 +00:00
Andrew Nacin
a275f43664
Update POT files for Twenty Ten through Twenty Thirteen.
...
Built from https://develop.svn.wordpress.org/trunk@25904
git-svn-id: http://core.svn.wordpress.org/trunk@25816 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 20:02:10 +00:00
Lance Willett
b3b963d6ee
Bundled themes: bump version numbers (ignoring Twenty Ten).
...
Built from https://develop.svn.wordpress.org/trunk@25902
git-svn-id: http://core.svn.wordpress.org/trunk@25814 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 19:37:08 +00:00
Andrew Nacin
9c6a15ef8f
Maintain the same output for get_avatar() as 3.6. see [25895].
...
Built from https://develop.svn.wordpress.org/trunk@25899
git-svn-id: http://core.svn.wordpress.org/trunk@25811 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 19:32:09 +00:00
Andrew Nacin
564b008f67
Add editimage.min.js to $_old_files. see #24999 .
...
Built from https://develop.svn.wordpress.org/trunk@25897
git-svn-id: http://core.svn.wordpress.org/trunk@25809 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 19:27:09 +00:00
Andrew Nacin
af4535596b
Always escape URLs at the last possible moment.
...
Built from https://develop.svn.wordpress.org/trunk@25895
git-svn-id: http://core.svn.wordpress.org/trunk@25807 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 18:52:11 +00:00
Andrew Nacin
0ceb189b7b
Confirm delete_site_option() exists before calling it during an update.
...
This function won't yet exist when updating from 2.7 [sic].
fixes #25682 for trunk.
Built from https://develop.svn.wordpress.org/trunk@25893
git-svn-id: http://core.svn.wordpress.org/trunk@25805 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 18:18:12 +00:00
Andrew Nacin
0976999929
Remove debug code from WP_Automatic_Updater::send_email().
...
props markmcwilliams for initial patch.
see #25678 .
Built from https://develop.svn.wordpress.org/trunk@25891
git-svn-id: http://core.svn.wordpress.org/trunk@25803 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 01:51:09 +00:00
Andrew Nacin
77ca1f202a
Avoid notice with search feeds.
...
fixes #25677 .
Built from https://develop.svn.wordpress.org/trunk@25889
git-svn-id: http://core.svn.wordpress.org/trunk@25801 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-23 20:55:10 +00:00
Andrew Nacin
5a92b17981
About page: Cache our zxcvbn calls and limit the variation of the animation.
...
Diff is mostly whitespace.
props jorbin, azaozz.
fixes #25603 .
Built from https://develop.svn.wordpress.org/trunk@25884
git-svn-id: http://core.svn.wordpress.org/trunk@25796 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-23 19:51:09 +00:00
Andrew Nacin
8cbbccec81
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.
...
see #25603 .
Built from https://develop.svn.wordpress.org/trunk@25883
git-svn-id: http://core.svn.wordpress.org/trunk@25795 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-23 19:48:10 +00:00
Andrew Nacin
7b772e5c58
Introduce a send_core_update_notification_email filter to control whether to send update notifications.
...
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/trunk@25882
git-svn-id: http://core.svn.wordpress.org/trunk@25794 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-23 19:47:09 +00:00
Ryan Boren
b87d4b77e5
Pinking shears
...
Built from https://develop.svn.wordpress.org/trunk@25880
git-svn-id: http://core.svn.wordpress.org/trunk@25792 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-23 14:38:10 +00:00
Andrew Nacin
c3d62fc1df
Trunk is now 3.8-alpha
...
Built from https://develop.svn.wordpress.org/trunk@25879
git-svn-id: http://core.svn.wordpress.org/trunk@25791 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-22 23:59:10 +00:00
Andrew Nacin
d14ac1d48a
3.7-RC2
...
Built from https://develop.svn.wordpress.org/trunk@25875
git-svn-id: http://core.svn.wordpress.org/trunk@25787 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-22 22:10:10 +00:00
Andrew Nacin
ffd7f53bcf
Have heartbeat's connection lost notice handle 503 errors send by the upgrader's maintenance mode.
...
fixes #25660 for 3.7.
Built from https://develop.svn.wordpress.org/trunk@25874
git-svn-id: http://core.svn.wordpress.org/trunk@25786 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-22 21:27:09 +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
6d97f53134
Always apply the posts_search filter. Restores 3.6 behavior.
...
props SergeyBiryukov.
fixes #25664 .
Built from https://develop.svn.wordpress.org/trunk@25867
git-svn-id: http://core.svn.wordpress.org/trunk@25779 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-22 17:21:09 +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
Lance Willett
521078cf17
Twenty Fourteen: use SVG images instead of CSS3 gradients for featured image background pattern. Props iamtakashi.
...
* Fixes laggy loading in Firefox, see #25600 .
* Significantly reduces CPU usage.
* Scalable and crisp on HiDPI/retina screens.
* SVG is support in IE9 which doesn't support CSS gradients.
Built from https://develop.svn.wordpress.org/trunk@25865
git-svn-id: http://core.svn.wordpress.org/trunk@25777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-22 17:00:10 +00:00
Lance Willett
a9cab6f3fb
Twenty Fourteen: further revise primary navigation functionality, simplify mobile navigation, and clean up the main JS file. Props obenland, iamtakashi. See #25554 .
...
Built from https://develop.svn.wordpress.org/trunk@25864
git-svn-id: http://core.svn.wordpress.org/trunk@25776 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-22 16:37:12 +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
Drew Jaynes
56f3f3de4e
Improve inline documentation for the wp_get_sites()
return value.
...
Fixes #25645 .
Built from https://develop.svn.wordpress.org/trunk@25862
git-svn-id: http://core.svn.wordpress.org/trunk@25774 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-22 05:48: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
Drew Jaynes
040d18a69f
Inline documentation for the WP_Date_Query
class in wp-includes/date.php.
...
- Adds a complete hash notation for the `WP_Date_Query` arguments array.
- Adds missing documentation for the `date_query_valid_columns` and `get_date_sql` filter hooks.
Props aeg0125 for the incremental patches.
Fixes #25552 .
Built from https://develop.svn.wordpress.org/trunk@25860
git-svn-id: http://core.svn.wordpress.org/trunk@25772 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-21 23:17: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
Lance Willett
165ad57289
Twenty Fourteen: revise link colors. Props iamtakashi, see #25640 .
...
Built from https://develop.svn.wordpress.org/trunk@25857
git-svn-id: http://core.svn.wordpress.org/trunk@25769 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-21 16:40:10 +00:00
Lance Willett
cde77ec4ea
Twenty Fourteen: fix non-image attachment page layout, props iamtakashi. Fixes #25624 .
...
Built from https://develop.svn.wordpress.org/trunk@25856
git-svn-id: http://core.svn.wordpress.org/trunk@25768 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-21 16:35:09 +00:00
Lance Willett
74a2b63958
Twenty Fourteen: fix typo that prevented author name display in Ephemera widget. Props iamtakashi, fixes #25641 .
...
Built from https://develop.svn.wordpress.org/trunk@25855
git-svn-id: http://core.svn.wordpress.org/trunk@25767 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-21 16:34:09 +00:00
Lance Willett
09ed6eac8a
Twenty Fourteen: improved responsive styles for featured content and minor layout fixes. Props iamtakashi, see #25592 .
...
Built from https://develop.svn.wordpress.org/trunk@25854
git-svn-id: http://core.svn.wordpress.org/trunk@25766 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-21 16:33:09 +00:00
Lance Willett
80d7b26a8c
Twenty Fourteen: fix a typo introduced in r25808, props kovshenin. See #25549 .
...
Built from https://develop.svn.wordpress.org/trunk@25853
git-svn-id: http://core.svn.wordpress.org/trunk@25765 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-21 16:31:12 +00:00
Andrew Ozz
8bfa1e8d24
TinyMCE: fix detection of IE11 in compatibility mode, fixes #25634 .
...
Built from https://develop.svn.wordpress.org/trunk@25852
git-svn-id: http://core.svn.wordpress.org/trunk@25764 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-18 22:59:08 +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
Andrew Nacin
42155c8d7f
3.7-RC1
...
Built from https://develop.svn.wordpress.org/trunk@25850
git-svn-id: http://core.svn.wordpress.org/trunk@25762 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-18 19:48:09 +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
Andrew Nacin
b301bb108e
Since we're dealing with a huge password meter, don't bold half of the result strings unnecessarily. see #25603 .
...
Built from https://develop.svn.wordpress.org/trunk@25847
git-svn-id: http://core.svn.wordpress.org/trunk@25759 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-18 18:36:10 +00:00
Dominik Schilling
72dd603010
IE7: Fix width of the password input field on the about page. see #25603 .
...
Built from https://develop.svn.wordpress.org/trunk@25846
git-svn-id: http://core.svn.wordpress.org/trunk@25758 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-18 17:58:10 +00:00