Commit Graph

23808 Commits

Author SHA1 Message Date
Andrew Nacin
d0e1cc7c6d Recover auto-drafts lost via Quick Draft.
Merges [28075] from the 3.8 to the 3.7 branch. See [28074].

fixes #27734.


git-svn-id: https://develop.svn.wordpress.org/branches/3.7@28077 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-11 17:28:30 +00:00
Andrew Nacin
1f066e31be 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.


git-svn-id: https://develop.svn.wordpress.org/branches/3.7@28074 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-11 04:37:21 +00:00
Andrew Nacin
fd31221714 3.7.2
git-svn-id: https://develop.svn.wordpress.org/branches/3.7@28056 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-08 18:13:00 +00:00
Andrew Nacin
c5c7691c85 Harden HMAC verification. props duck_. [28053] for 3.7.
git-svn-id: https://develop.svn.wordpress.org/branches/3.7@28055 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-08 18:07:28 +00:00
Andrew Nacin
781e7ac168 3.7.2-RC1
git-svn-id: https://develop.svn.wordpress.org/branches/3.7@27993 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 19:39:41 +00:00
Andrew Nacin
7dcfefa424 Avoid stomping of bulk postdata inside the bulk_edit_posts() loop.
Merges [27990] to the 3.7 branch.

props kovshenin.
see [27964], see #27452.


git-svn-id: https://develop.svn.wordpress.org/branches/3.7@27992 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 19:36:01 +00:00
Andrew Nacin
5a2231e357 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.


git-svn-id: https://develop.svn.wordpress.org/branches/3.7@27977 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-06 22:16:19 +00:00
Dion Hulse
50ecd33572 Background Updates: Fix a PHP Warning caused by a Upgrader instance being passed into the Theme & Plugin $extra_stats parameter.
Background Updates: Fix two variable typos in r27905

Merges [27906],	[27928]	to the 3.7 branch.
Fixes #27633.


git-svn-id: https://develop.svn.wordpress.org/branches/3.7@27930 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-03 05:46:28 +00:00
Andrew Nacin
f9032b5d7a 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.


git-svn-id: https://develop.svn.wordpress.org/branches/3.7@27924 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-03 04:02:35 +00:00
Andrew Nacin
774bc7d2de Update Plupload Silverlight binary to 1.5.8 in the 3.7 branch.
git-svn-id: https://develop.svn.wordpress.org/branches/3.7@27921 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-03 03:37:12 +00:00
Andrew Nacin
32da6d025a Remove links_recently_updated_time (hardening).
Merges [27917] from the 3.8 branch to 3.7 branch.

see #27649.


git-svn-id: https://develop.svn.wordpress.org/branches/3.7@27919 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-03 03:22:37 +00:00
Andrew Nacin
e89f76e150 Prefix the notoptions cache key in the multisite site-options group with $wpdb->siteid to avoid collisions.
Merges [26304] (and [26305]) from 3.8 to the 3.7 branch.

props wonderboymusic.
fixes #25883.


git-svn-id: https://develop.svn.wordpress.org/branches/3.7@27888 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-01 04:06:27 +00:00
Andrew Nacin
52c8975ba6 Fix a regression in wp_mkdir_p() where the $mode of the parent folder is not correctly applied to all created paths.
Merges [26449] and [26927] from 3.8.x to the 3.7 branch.

props dd32.
fixes #25822.


git-svn-id: https://develop.svn.wordpress.org/branches/3.7@27887 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-01 04:01:10 +00:00
Andrew Nacin
a2b79e3f77 Cron: Fix a case where a cache inconsistency can cause wp_clear_scheduled_hook() to enter an infinite loop.
Merges [26782] from 3.8 to the 3.7 branch.

props dd32.
fixes #25773.


git-svn-id: https://develop.svn.wordpress.org/branches/3.7@27886 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-01 03:39:35 +00:00
Andrew Nacin
5366d9505e 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.


git-svn-id: https://develop.svn.wordpress.org/branches/3.7@27885 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-01 03:35:23 +00:00
Andrew Nacin
6ed90e31ac 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.


git-svn-id: https://develop.svn.wordpress.org/branches/3.7@27884 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-01 03:30:13 +00:00
Andrew Nacin
ec663e1bfc 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.


git-svn-id: https://develop.svn.wordpress.org/branches/3.7@27883 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-01 03:28:09 +00:00
Andrew Nacin
d4365c437f 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.


git-svn-id: https://develop.svn.wordpress.org/branches/3.7@27882 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-01 03:08:47 +00:00
Andrew Nacin
8bdd3fd056 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.


git-svn-id: https://develop.svn.wordpress.org/branches/3.7@27881 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-01 02:57:52 +00:00
Andrew Nacin
75f1989c76 Forward pingback IP during pingback verification.
Merges [27872] to the 3.7 branch.

props tellyworth, nacin.
fixes #27613.


git-svn-id: https://develop.svn.wordpress.org/branches/3.7@27878 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-31 21:35:42 +00:00
Andrew Nacin
6e3eb4ef4a Default Themes: Update POT files for the 3.7 branch.
git-svn-id: https://develop.svn.wordpress.org/branches/3.7@27590 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-18 19:19:42 +00:00
Andrew Nacin
14d02c30c1 Update the 3.7 branch's version numbers. fixes #25985.
git-svn-id: https://develop.svn.wordpress.org/branches/3.7@26546 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 23:15:42 +00:00
Dion Hulse
78edae3e56 Background Updates: Spread them over the hour. Props Pento. Merges r26149 to the 3.7 branch. Fixes #25833 for 3.7.
git-svn-id: https://develop.svn.wordpress.org/branches/3.7@26450 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-28 02:35:00 +00:00
Andrew Nacin
b9839649ee PHP4 compatibility for files loaded before we bail. fixes #25760.
Merges [25986] to the 3.7 branch.


git-svn-id: https://develop.svn.wordpress.org/branches/3.7@25987 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-29 20:07:04 +00:00
Andrew Nacin
aab9d3dec0 Final count of bug fixes in 3.7.1 is 10.
git-svn-id: https://develop.svn.wordpress.org/branches/3.7@25984 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-29 18:15:14 +00:00
Andrew Nacin
b0f19b0c50 3.7.1
git-svn-id: https://develop.svn.wordpress.org/branches/3.7@25982 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-29 17:19:29 +00:00
Andrew Nacin
ae4abe9d19 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.


git-svn-id: https://develop.svn.wordpress.org/branches/3.7@25981 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-29 17:14:06 +00:00
Andrew Nacin
a3c9fa1f87 Avoid resetting the 'hierarchical' argument in get_pages() when 'parent' is -1, the default.
Merges [25974] and [25975] to the 3.7 branch.

Fixes a regression introduced in [25270]. Adds unit tests.

props chrisbliss18.
fixes #25750.


git-svn-id: https://develop.svn.wordpress.org/branches/3.7@25976 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-29 01:49:05 +00:00
Andrew Nacin
011a76a80e 3.7-RC1
git-svn-id: https://develop.svn.wordpress.org/branches/3.7@25958 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-27 21:13:55 +00:00
Andrew Nacin
090c3d122f 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.


git-svn-id: https://develop.svn.wordpress.org/branches/3.7@25957 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-27 21:09:49 +00:00
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