Andrew Nacin
f36fbb550c
New, better error message when we realize we won't be able to copy a file and continue with the update.
...
fixes #25652 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25870 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-22 18:20:51 +00:00
Andrew Nacin
1a7bfffd0b
Only enforce disk free space checks when doing background updates.
...
see #25652 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25869 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-22 18:17:13 +00:00
Andrew Nacin
c87ad6023d
Spell out duplicate hook locations.
...
props DrewAPicture.
fixes #25658 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25868 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-22 17:21:32 +00:00
Andrew Nacin
d3981e2793
Always apply the posts_search filter. Restores 3.6 behavior.
...
props SergeyBiryukov.
fixes #25664 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25867 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-22 17:20:17 +00:00
Andrew Nacin
ea7d0de723
Updates: Disable maintenance mode once we've finished copying files, to minimize disruption.
...
props dd32.
fixes #25655 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25866 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-22 17:19:48 +00:00
Lance Willett
c6b0970356
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.
git-svn-id: https://develop.svn.wordpress.org/trunk@25865 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-22 16:59:59 +00:00
Lance Willett
ea64c830f4
Twenty Fourteen: further revise primary navigation functionality, simplify mobile navigation, and clean up the main JS file. Props obenland, iamtakashi. See #25554 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25864 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-22 16:36:26 +00:00
Andrew Nacin
d0d07cf614
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 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25863 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-22 09:48:36 +00:00
Drew Jaynes
af6c888f7c
Improve inline documentation for the wp_get_sites()
return value.
...
Fixes #25645 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25862 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-22 05:47:15 +00:00
Andrew Nacin
bce2656e6d
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 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25861 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-22 04:36:54 +00:00
Drew Jaynes
258e4afcb2
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 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25860 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-21 23:16:31 +00:00
Andrew Nacin
597e82e94c
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.
git-svn-id: https://develop.svn.wordpress.org/trunk@25859 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-21 22:28:07 +00:00
Drew Jaynes
a6d9b5e57a
Improve inline documentation for hooks in wp-admin/customize.php.
...
Props kpdesign.
Fixes #25444 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25858 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-21 21:17:00 +00:00
Lance Willett
04ca72fd9c
Twenty Fourteen: revise link colors. Props iamtakashi, see #25640 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25857 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-21 16:39:53 +00:00
Lance Willett
2240365438
Twenty Fourteen: fix non-image attachment page layout, props iamtakashi. Fixes #25624 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25856 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-21 16:34:56 +00:00
Lance Willett
ae9a30b7cf
Twenty Fourteen: fix typo that prevented author name display in Ephemera widget. Props iamtakashi, fixes #25641 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25855 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-21 16:33:10 +00:00
Lance Willett
0b915b616c
Twenty Fourteen: improved responsive styles for featured content and minor layout fixes. Props iamtakashi, see #25592 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25854 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-21 16:32:10 +00:00
Lance Willett
cb0ed1fcec
Twenty Fourteen: fix a typo introduced in r25808, props kovshenin. See #25549 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25853 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-21 16:30:12 +00:00
Andrew Ozz
9381d2f3a6
TinyMCE: fix detection of IE11 in compatibility mode, fixes #25634 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25852 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-18 22:58:25 +00:00
Andrew Nacin
d96b64c116
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 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25851 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-18 21:23:43 +00:00
Andrew Nacin
a33d3a38e6
3.7-RC1
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25850 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-18 19:47:47 +00:00
Dominik Schilling (ocean90)
5d7ee6ce93
Vendor-prefixes for [25845]. props jorbin. see #25603 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25849 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-18 19:24:18 +00:00
Andrew Nacin
278b180b2f
About page: Prevent the meter from briefly sticking on 'Strong' when the animation resets.
...
props jorbin.
see #25603 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25848 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-18 18:49:47 +00:00
Andrew Nacin
c85914b57e
Since we're dealing with a huge password meter, don't bold half of the result strings unnecessarily. see #25603 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25847 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-18 18:36:01 +00:00
Dominik Schilling (ocean90)
476e4a4778
IE7: Fix width of the password input field on the about page. see #25603 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25846 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-18 17:57:08 +00:00
Andrew Nacin
f4bf16102d
About page: Use box-sizing: border-box on the password meter so pixels line up.
...
Also eliminates a duplicate width: 100% property.
fixes #25603 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25845 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-18 17:46:54 +00:00
Dominik Schilling (ocean90)
3b56df670e
CSS cleanup for the about page.
...
Also fixes for IE and support for RTL.
see #25603 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25844 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-18 17:35:39 +00:00
Andrew Nacin
fda5b39db2
Use correct variable. fixes #10787 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25843 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-18 17:15:36 +00:00
Andrew Nacin
a028b8f2dc
Use full paths to images so they work on wp-admin/network/about.php and user/about.php. see #25603 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25842 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-18 16:50:00 +00:00
Andrew Nacin
0b22aae62d
Notify administrators of successful, failed, and pending core updates.
...
Blocks future background updates after critical failures, but allow retries in certain situations. More in the ticket.
fixes #10787 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25841 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-18 16:29:16 +00:00
Andrew Nacin
77730d6377
Remove rarr from about page text. Use a subtle background instead.
...
props markjaquith.
see #25603 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25840 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-18 08:41:40 +00:00
Andrew Nacin
6810bc9069
Awesome about page design for WordPress 3.7.
...
The page includes a giant password meter that serves as both an animated example and a working demo. How cool is that?
props jorbin, melchoyce.
see #25603 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25839 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-18 08:10:43 +00:00
Andrew Nacin
142d8c3d30
Delete expired transients on database upgrades.
...
Reverts [25416], which had all transients being cleared. This leaves much to be desired, but we don't want a core update to be blamed for breaking a site that incorrectly assumes transients aren't transient.
props dartiss, pento.
fixes #20316 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25838 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-18 07:47:44 +00:00
Andrew Nacin
92c2bc7797
Introduce email templates for automatic background updates.
...
The four templates are:
1. We successfully updated their site. If any of their themes or plugins are out of date, it also mentions that. ('success')
2. We are not configured to update their site, so we notify them of the new release. ('notify')
3. We tried but failed to update their site. The error was early in the process, so no harm, no foul. This is the same as template #2 , plus one sentence. ('fail')
4. We tried to update their site, and failed while copying files. ('critical')
With assistance from markjaquith.
see #10787 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25837 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-18 06:32:27 +00:00
Andrew Nacin
aa4635548d
set_current_screen() is now unnecessary in Automatic_Upgrader_Skin, which is good because it breaks things in the network admin.
...
fixes #25622 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25836 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-17 23:23:42 +00:00
Andrew Nacin
8cb344e237
In automatic background updates, standardize on 'update'.
...
New, final filter names:
* auto_update_{$type} (plugin, theme, core, language)
* automatic_updates_is_vcs_checkout
* automatic_updates_disabled
New class name is WP_Automatic_Updater. Method names include update() and should_update().
see #22704 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25835 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-17 23:20:56 +00:00
Andrew Nacin
ba10ec2cba
Remove redundant code. see #25603 , #22704 , [25833].
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25834 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-17 20:29:12 +00:00
Andrew Nacin
ab77984329
Check if background core updates are supported on about.php.
...
see #25603 , #22704 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25833 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-17 20:28:38 +00:00
Andrew Nacin
f555490bee
Update the text for the about page, so translators can get started. Design is in flux.
...
props nacin, markjaquith, jorbin, jenmylo.
see #25603 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25832 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-17 20:16:36 +00:00
Dion Hulse
3ce626a96b
Silence PHP warnings from disk_free_space(). disk_free_space() will produce a warning in error conditions in addition to returning false, this includes a case where the bytes free is greater than PHP_INT_MAX (which is a error condition we don't need to check).
...
See #25576 , #22704
git-svn-id: https://develop.svn.wordpress.org/trunk@25831 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-17 18:39:04 +00:00
Drew Jaynes
8166a14066
Inline documentation for hooks in wp-admin/options-general.php.
...
Props siobhyb for the initial patch.
Fixes #25454 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25830 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-17 06:17:20 +00:00
Drew Jaynes
eb3d658b7e
Inline documentation for hooks in wp-admin/options-discussion.php.
...
Props siobhyb, ericlewis.
Fixes #25453 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25829 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-17 05:59:54 +00:00
Dion Hulse
d2d9b963a2
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
git-svn-id: https://develop.svn.wordpress.org/trunk@25828 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-17 05:23:35 +00:00
Andrew Nacin
3c067c1ec2
Avoid a notice in is_main_network() when called in single site. see #25030 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25827 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-17 05:16:41 +00:00
Drew Jaynes
5de9864891
Inline documentation for hooks in wp-admin/customize.php.
...
Props andg, rzen.
Fixes #25444 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25826 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-17 04:52:38 +00:00
Andrew Nacin
4644bb87f6
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 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25825 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-17 04:01:06 +00:00
Lance Willett
21da24227f
Bundled Themes: pinking shears, fix a trailing period.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25824 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-17 03:29:11 +00:00
Andrew Nacin
c39143fd2e
Make WP_Automatic_Upgrader a proper object that gets instantiated. Renames nearly all of its methods.
...
Also renames wp_auto_updates_maybe_update() to wp_maybe_auto_update().
see #22704 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25823 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-17 00:54:15 +00:00
Dion Hulse
d0bd68cf5f
Remove a duplicate semicolon that snuck in. Props JustinSainton. See #18200
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25822 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-17 00:11:25 +00:00
Drew Jaynes
0edc7a4087
Inline documentation for hooks in wp-admin/custom-header.php.
...
Props gizburdt for the initial patch.
Fixes #25443 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25821 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-16 23:25:30 +00:00