Andrew Nacin
6098b84f76
In update_option(), call the update_option hook before the DB update.
...
Merges [25925] to the 3.7 branch.
Reverses a regression from [25664].
props calin.
fixes #25705 .
Built from https://develop.svn.wordpress.org/branches/3.7@25926
git-svn-id: http://core.svn.wordpress.org/branches/3.7@25885 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-26 02:58:09 +00:00
Andrew Nacin
45cb40226f
3.7 regression from [25119]: Have in_category() return false when the first argument is empty.
...
Merges [25923] to the 3.7 branch.
props ericlewis.
fixes #25706 .
Built from https://develop.svn.wordpress.org/branches/3.7@25924
git-svn-id: http://core.svn.wordpress.org/branches/3.7@25883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-26 02:55:08 +00:00
Andrew Nacin
63b0a09a2f
3.7 regression: Fix the width of captioned images inserted into the visual editor.
...
Pulls some arithmetic outside of some string concatenation to avoid a nasty uglify.js regression: https://github.com/mishoo/UglifyJS2/pull/330 .
Merges [25921] to the 3.7 branch.
props LucP.
fixes #25700 .
Built from https://develop.svn.wordpress.org/branches/3.7@25922
git-svn-id: http://core.svn.wordpress.org/branches/3.7@25881 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-26 02:52: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
337feb46b2
The 3.7 branch is now 3.7.1-alpha
...
Built from https://develop.svn.wordpress.org/branches/3.7@25914
git-svn-id: http://core.svn.wordpress.org/branches/3.7@25877 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-25 20:13:09 +00:00
Andrew Nacin
d0cf0c467e
POT update.
...
Built from https://develop.svn.wordpress.org/branches/3.7@25910
git-svn-id: http://core.svn.wordpress.org/branches/3.7@25822 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 20:38:08 +00:00
Andrew Nacin
2644594c1d
Translator comments are special, make sure they are parsed properly. see #25256 , for the 3.7 branch.
...
Built from https://develop.svn.wordpress.org/branches/3.7@25909
git-svn-id: http://core.svn.wordpress.org/branches/3.7@25821 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 20:31:09 +00:00
Andrew Nacin
f771ac8933
Twenty Thirteen: Restore the original "Not found" string. see #24891 .
...
Built from https://develop.svn.wordpress.org/branches/3.7@25906
git-svn-id: http://core.svn.wordpress.org/branches/3.7@25818 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 20:18:09 +00:00
Andrew Nacin
d52b298c31
Update POT files for Twenty Ten through Twenty Thirteen, for 3.7.
...
Built from https://develop.svn.wordpress.org/branches/3.7@25905
git-svn-id: http://core.svn.wordpress.org/branches/3.7@25817 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 20:03:09 +00:00
Andrew Nacin
8d386de8e2
Bundled themes: bump version numbers (ignoring Twenty Ten).
...
Merges [25902] to 3.7.
Built from https://develop.svn.wordpress.org/branches/3.7@25903
git-svn-id: http://core.svn.wordpress.org/branches/3.7@25815 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 19:39:10 +00:00
Andrew Nacin
cb481b6e95
3.7.
...
Built from https://develop.svn.wordpress.org/branches/3.7@25901
git-svn-id: http://core.svn.wordpress.org/branches/3.7@25813 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 19:36:09 +00:00
Andrew Nacin
4fe2c2db1e
Maintain the same output for get_avatar() as 3.6. see [25896]. For the 3.7 branch.
...
Built from https://develop.svn.wordpress.org/branches/3.7@25900
git-svn-id: http://core.svn.wordpress.org/branches/3.7@25812 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 19:33:10 +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
66dc1e25a1
Always escape URLs at the last possible moment. for the 3.7 branch.
...
Built from https://develop.svn.wordpress.org/branches/3.7@25896
git-svn-id: http://core.svn.wordpress.org/branches/3.7@25808 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 18:54:08 +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
71e4bdc269
Avoid notice with search feeds.
...
Merges [25889] to the 3.7 branch.
fixes #25677 .
Built from https://develop.svn.wordpress.org/branches/3.7@25890
git-svn-id: http://core.svn.wordpress.org/branches/3.7@25802 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-23 20:58:09 +00:00
Andrew Nacin
6ec5238145
3.7-RC2-25888
...
Built from https://develop.svn.wordpress.org/branches/3.7@25888
git-svn-id: http://core.svn.wordpress.org/branches/3.7@25800 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-23 20:08: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
a9d0b1c785
Remove temporary 3.8 hooks from the 3.7 branch.
...
props nofearinc.
fixes #25656 .
Built from https://develop.svn.wordpress.org/branches/3.7@25878
git-svn-id: http://core.svn.wordpress.org/branches/3.7@25790 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-22 23:58: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
1f3ef3e28c
Branch 3.7
...
Built from https://develop.svn.wordpress.org/trunk@25876
git-svn-id: http://core.svn.wordpress.org/branches/3.7@25788 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-22 23:47:27 +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