Commit Graph

23778 Commits

Author SHA1 Message Date
Andrew Nacin
f2903beec8 Query stopwords: Only eliminate single A-Z letters as search terms.
Merges [25954] to the 3.7 branch.

Stop trying to match any single letters that are not East Asian characters, as this requires PCRE with UTF-8 support; and because it doesn't actually work.

fixes #25709.


git-svn-id: https://develop.svn.wordpress.org/branches/3.7@25955 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-27 20:52:20 +00:00
Andrew Ozz
0a446ec730 Bump the (cache-busting) TinyMCE version for 3.7, see #25700.
git-svn-id: https://develop.svn.wordpress.org/branches/3.7@25943 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-26 21:42:44 +00:00
Andrew Nacin
03f3c454ca Fix the exclude_tree argument in get_terms(), which fixes the exclude argument in wp_list_categories().
Merges [25933] to the 3.7 branch.

This was a 3.7 regression caused by [25162].

props dd32.
fixes #25710.


git-svn-id: https://develop.svn.wordpress.org/branches/3.7@25936 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-26 19:00:57 +00:00
Andrew Nacin
47786de986 Update the about page for 3.7.1. Tentative bug count.
git-svn-id: https://develop.svn.wordpress.org/branches/3.7@25931 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-26 03:26:50 +00:00
Andrew Nacin
19c7a78037 Have get_current_user_id() return 0 when pluggable.php is not yet included (which brings the ability to set or get the current user).
Merges [25929] to the 3.7 branch.

fixes #25690.


git-svn-id: https://develop.svn.wordpress.org/branches/3.7@25930 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-26 03:21:18 +00:00
Andrew Nacin
3b9049ecb1 3.7.1-beta1
git-svn-id: https://develop.svn.wordpress.org/branches/3.7@25928 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-26 03:07:26 +00:00
Andrew Nacin
3a038c1f42 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.


git-svn-id: https://develop.svn.wordpress.org/branches/3.7@25927 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-26 03:06:17 +00:00
Andrew Nacin
181d9e6927 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.


git-svn-id: https://develop.svn.wordpress.org/branches/3.7@25926 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-26 02:57:33 +00:00
Andrew Nacin
39d4dc8ee4 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.


git-svn-id: https://develop.svn.wordpress.org/branches/3.7@25924 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-26 02:54:21 +00:00
Andrew Nacin
928bf0491d 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.


git-svn-id: https://develop.svn.wordpress.org/branches/3.7@25922 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-26 02:51:31 +00:00
Andrew Nacin
6cd1fe4ecd 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.


git-svn-id: https://develop.svn.wordpress.org/branches/3.7@25916 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-25 20:16:38 +00:00
Andrew Nacin
58a26f08bb The 3.7 branch is now 3.7.1-alpha
git-svn-id: https://develop.svn.wordpress.org/branches/3.7@25914 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-25 20:12:39 +00:00
Andrew Nacin
28793bd4da Remove this empty file from /src to keep it out of the 3.7 tag.
git-svn-id: https://develop.svn.wordpress.org/branches/3.7@25912 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-24 20:45:28 +00:00
Andrew Nacin
23bcae99fb POT update.
git-svn-id: https://develop.svn.wordpress.org/branches/3.7@25910 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-24 20:37:44 +00:00
Andrew Nacin
c449b4c271 Translator comments are special, make sure they are parsed properly. see #25256, for the 3.7 branch.
git-svn-id: https://develop.svn.wordpress.org/branches/3.7@25909 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-24 20:30:23 +00:00
Andrew Nacin
e2065a4189 Twenty Thirteen: Restore the original "Not found" string. see #24891.
git-svn-id: https://develop.svn.wordpress.org/branches/3.7@25906 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-24 20:17:49 +00:00
Andrew Nacin
ee099b0ed9 Update POT files for Twenty Ten through Twenty Thirteen, for 3.7.
git-svn-id: https://develop.svn.wordpress.org/branches/3.7@25905 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-24 20:02:35 +00:00
Andrew Nacin
13aab9d5e2 Bundled themes: bump version numbers (ignoring Twenty Ten).
Merges [25902] to 3.7.


git-svn-id: https://develop.svn.wordpress.org/branches/3.7@25903 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-24 19:38:46 +00:00
Andrew Nacin
d128247aed 3.7.
git-svn-id: https://develop.svn.wordpress.org/branches/3.7@25901 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-24 19:35:05 +00:00
Andrew Nacin
0106c053bf Maintain the same output for get_avatar() as 3.6. see [25896]. For the 3.7 branch.
git-svn-id: https://develop.svn.wordpress.org/branches/3.7@25900 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-24 19:32:54 +00:00
Andrew Nacin
31f65f37e4 Add editimage.min.js to $_old_files. see #24999. for the 3.7 branch.
git-svn-id: https://develop.svn.wordpress.org/branches/3.7@25898 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-24 19:28:10 +00:00
Andrew Nacin
0905398782 Always escape URLs at the last possible moment. for the 3.7 branch.
git-svn-id: https://develop.svn.wordpress.org/branches/3.7@25896 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-24 18:53:10 +00:00
Andrew Nacin
43b2d44959 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.


git-svn-id: https://develop.svn.wordpress.org/branches/3.7@25894 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-24 18:20:53 +00:00
Andrew Nacin
bb16d6452f Remove debug code from WP_Automatic_Updater::send_email().
Merges [25891] to the 3.7 branch.

props markmcwilliams for initial patch.
fixes #25678.


git-svn-id: https://develop.svn.wordpress.org/branches/3.7@25892 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-24 01:59:54 +00:00
Andrew Nacin
bd14eca3ab Avoid notice with search feeds.
Merges [25889] to the 3.7 branch.

fixes #25677.


git-svn-id: https://develop.svn.wordpress.org/branches/3.7@25890 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-23 20:58:00 +00:00
Andrew Nacin
0849c9b643 3.7-RC2-25888
git-svn-id: https://develop.svn.wordpress.org/branches/3.7@25888 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-23 20:07:20 +00:00
Andrew Nacin
6b751c6167 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.


git-svn-id: https://develop.svn.wordpress.org/branches/3.7@25887 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-23 19:54:30 +00:00
Andrew Nacin
2989a368b9 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.


git-svn-id: https://develop.svn.wordpress.org/branches/3.7@25886 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-23 19:53:56 +00:00
Andrew Nacin
5c1b446478 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.


git-svn-id: https://develop.svn.wordpress.org/branches/3.7@25885 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-23 19:53:21 +00:00
Ryan Boren
3ffe81f2a7 Pinking shears
git-svn-id: https://develop.svn.wordpress.org/branches/3.7@25881 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-23 14:39:36 +00:00
Andrew Nacin
849f7b1cee Remove temporary 3.8 hooks from the 3.7 branch.
props nofearinc.
fixes #25656.


git-svn-id: https://develop.svn.wordpress.org/branches/3.7@25878 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-22 23:57:22 +00:00
Andrew Nacin
bd190758e6 Delete Twenty Fourteen from the 3.7 branch.
git-svn-id: https://develop.svn.wordpress.org/branches/3.7@25877 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-22 23:55:57 +00:00
Andrew Nacin
e659128fa2 Branch 3.7
git-svn-id: https://develop.svn.wordpress.org/branches/3.7@25876 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-22 23:45:49 +00:00
Andrew Nacin
c773d253ec 3.7-RC2
git-svn-id: https://develop.svn.wordpress.org/trunk@25875 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-22 22:09:18 +00:00
Andrew Nacin
46302236ae Have heartbeat's connection lost notice handle 503 errors send by the upgrader's maintenance mode.
fixes #25660 for 3.7.


git-svn-id: https://develop.svn.wordpress.org/trunk@25874 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-22 21:26:04 +00:00
Andrew Nacin
ff69fb4b8f 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.


git-svn-id: https://develop.svn.wordpress.org/trunk@25873 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-22 21:18:09 +00:00
Andrew Nacin
aab4ffb29d Show the nag we show for a stuck .maintenance file when an auto update failed.
see #25654.


git-svn-id: https://develop.svn.wordpress.org/trunk@25872 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-22 21:14:06 +00:00
Andrew Nacin
ddbc271329 "some files" instead of "certain files". Less stuffy.
props markjaquith.
see #25652.


git-svn-id: https://develop.svn.wordpress.org/trunk@25871 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-22 18:40:20 +00:00
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