Commit Graph

53 Commits

Author SHA1 Message Date
Ryan Boren c180f69c52 Code style cleanups
git-svn-id: https://develop.svn.wordpress.org/trunk@12899 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-29 18:53:32 +00:00
Ryan Boren 94a9904b69 Remove fix_actve_plugins(). Props hakre. fixes #11750
git-svn-id: https://develop.svn.wordpress.org/trunk@12848 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-26 18:39:12 +00:00
Ryan Boren 71bef9fe26 Convert update_themes, update_plugins, update_core, and dismissed_update_core into site transients/plugins. Remove no longer need compat code.
git-svn-id: https://develop.svn.wordpress.org/trunk@12673 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-08 20:49:55 +00:00
Ryan Boren 95ea3693b1 Check required php and mysql versions in the update response and notify if the server environment does not meet those requirements. fixes #11562
git-svn-id: https://develop.svn.wordpress.org/trunk@12523 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-23 18:35:12 +00:00
Peter Westwood daa0430927 Remove passing of spurious argument to wpdb->db_version().
git-svn-id: https://develop.svn.wordpress.org/trunk@12348 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-09 12:00:55 +00:00
Ryan Boren ef2c943123 Put site into maintenance mode during bulk plugin upgrade. Skip plugin deactivate/activate. Add compatibility info. see #10973
git-svn-id: https://develop.svn.wordpress.org/trunk@12157 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-09 18:53:21 +00:00
Peter Westwood 9a5c426226 Make the operator precedence obvious by using parenthesis.
git-svn-id: https://develop.svn.wordpress.org/trunk@11829 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-16 06:30:52 +00:00
Andrew Ozz 830ecf4108 Increase timeout on cron-based requests when checking for upgrades, props dd32, fixes #10349
git-svn-id: https://develop.svn.wordpress.org/trunk@11826 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-16 04:59:38 +00:00
Andrew Ozz a8855d1e60 Hide update notification for themes that are updated manually, props Denis-de-Bernardy, fixes #10220
git-svn-id: https://develop.svn.wordpress.org/trunk@11714 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-14 08:34:39 +00:00
Ryan Boren de90d38205 Plugin install fixes. Props Denis-de-Bernardy. see #10192
git-svn-id: https://develop.svn.wordpress.org/trunk@11585 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-16 19:36:48 +00:00
Ryan Boren fbafa6f628 Use Stylesheet instead of Template to key theme data when doing theme update check. Props josephscott. fixes #9897
git-svn-id: https://develop.svn.wordpress.org/trunk@11424 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-21 18:17:20 +00:00
Andrew Ozz 93cff50b33 Include the current theme in theme update check, props josephscott, fixes #9880
git-svn-id: https://develop.svn.wordpress.org/trunk@11404 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-19 20:12:37 +00:00
Mark Jaquith ba1c3bdd5b Deprecate sanitize_url() and clean_url() in favor of esc_url_raw() and esc_url()
git-svn-id: https://develop.svn.wordpress.org/trunk@11383 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-18 16:00:33 +00:00
Ryan Boren 8d664e4bae Don't do core version check from front page loads. Props Denis-de-Bernardy. fixes #8590
git-svn-id: https://develop.svn.wordpress.org/trunk@11209 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-05 21:51:48 +00:00
Mark Jaquith c638e8d8de _a(), _ea(), _xa(), attr() are now esc_attr__(), esc_attr_e(), esc_attr_x(), esc_attr() -- still short, but less cryptic. see #9650
git-svn-id: https://develop.svn.wordpress.org/trunk@11204 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-05 19:43:53 +00:00
Ryan Boren fe7c34b6fd s/attribute_escape/attr/. see #9650
git-svn-id: https://develop.svn.wordpress.org/trunk@11109 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-28 05:58:45 +00:00
Andrew Ozz 3ca11d47c9 Disable PHP error reporting in gears-manifest.php, load-scripts.php and load-styles.php since they don't load wp-settings, fix some notices
git-svn-id: https://develop.svn.wordpress.org/trunk@10939 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-15 19:55:41 +00:00
Ryan Boren 6882d8299f Add core_version_check_locale filter. Props nbachiyski. see #8729
git-svn-id: https://develop.svn.wordpress.org/trunk@10772 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-11 23:37:33 +00:00
Ryan Boren 283843ddb1 Check for new version when visiting Tools->Upgrade. fixes #9108
git-svn-id: https://develop.svn.wordpress.org/trunk@10583 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-17 00:13:25 +00:00
Ryan Boren 4e52545293 Use transient for update_core, update_plugins, update_themes. see #9048
git-svn-id: https://develop.svn.wordpress.org/trunk@10515 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-06 18:06:20 +00:00
Peter Westwood 541a75aedf Set the user-agent like we did before. See #8660
git-svn-id: https://develop.svn.wordpress.org/trunk@10238 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-21 21:52:15 +00:00
Ryan Boren 3a0f778fa8 Plugin and theme udpdate check fixes. Props DD32. fixes #8660 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10221 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-18 17:23:20 +00:00
Ryan Boren baaaa352ba Strip trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@10150 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-09 18:03:31 +00:00
Ryan Boren a86328cf36 Fix notices. see #8347
git-svn-id: https://develop.svn.wordpress.org/trunk@9902 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-26 12:04:29 +00:00
Ryan Boren 94bfb09963 If api.wp.org request blocks, make sure another requests isn't scheduled for 12 hours. see #8347
git-svn-id: https://develop.svn.wordpress.org/trunk@9901 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-26 11:48:05 +00:00
Ryan Boren 594fe65301 Improve latest version detection in plugin updater. Props DD32. fixes #8129
git-svn-id: https://develop.svn.wordpress.org/trunk@9793 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-19 19:25:53 +00:00
Ryan Boren 8796e7cfe1 Remove unused var
git-svn-id: https://develop.svn.wordpress.org/trunk@9544 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-06 04:54:13 +00:00
Ryan Boren d09db8dc26 Fix core update checking. Don't check on every page load.
git-svn-id: https://develop.svn.wordpress.org/trunk@9512 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-04 17:12:03 +00:00
Ryan Boren 769544395d Better i18n support for automatic upgrade. Props nbachiyski. fixes #8023
git-svn-id: https://develop.svn.wordpress.org/trunk@9441 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-31 18:51:06 +00:00
Mark Jaquith 57900b6ba9 Fix a PHP Notice. props DD32. see #7509
git-svn-id: https://develop.svn.wordpress.org/trunk@9323 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-24 10:55:20 +00:00
Ryan Boren 1bc5d52b4c Don't schedule update events while installing. Props rdworth and tott. fixes #7724
git-svn-id: https://develop.svn.wordpress.org/trunk@9244 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-18 20:58:19 +00:00
Andrew Ozz 8701662229 phpDoc fixes for general-template.php and update.php, props jacobsantos, see #7550
git-svn-id: https://develop.svn.wordpress.org/trunk@8929 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-18 17:32:18 +00:00
Ryan Boren b8875d22aa Themes API from josephscott. see #7519
git-svn-id: https://develop.svn.wordpress.org/trunk@8891 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-15 16:21:15 +00:00
Peter Westwood 000f6ec3b6 phpDoc corrections for wp-includes. See #7550 props santosj.
git-svn-id: https://develop.svn.wordpress.org/trunk@8742 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-27 06:45:13 +00:00
Ryan Boren e4dd07c75e include mysql version in version check query string. Props andy. fixes #7600 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8739 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-26 22:30:56 +00:00
Ryan Boren 93f3f4cdb5 Adds checking for fsockopen to check for WP_DEBUG and silently drop warnings. Adds streams_set_timeout to fsockopen to help prevent long waits. Props santosj. see #7514
git-svn-id: https://develop.svn.wordpress.org/trunk@8644 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-13 23:37:42 +00:00
Peter Westwood ca850a4456 HTTP API improvements. Implements chunked transfer decoding. Moves plugin update checker over to api. see #4779 props santosj.
git-svn-id: https://develop.svn.wordpress.org/trunk@8630 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-12 21:21:11 +00:00
Ryan Boren 7d958a43d1 Automatic upgrade, first cut. see #5560
git-svn-id: https://develop.svn.wordpress.org/trunk@8595 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-08 22:49:35 +00:00
Ryan Boren 086b9294b9 HTTP POST and REQUEST API from jacobsantos. see #4779
git-svn-id: https://develop.svn.wordpress.org/trunk@8516 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-01 05:00:07 +00:00
Ryan Boren cf2daaf071 Don't run get_plugins() on every admin page load. Use cron for async update plugin requests. see #7372
git-svn-id: https://develop.svn.wordpress.org/trunk@8514 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-01 04:26:32 +00:00
Peter Westwood 5b2a4bb837 Invalidate the plugin update cache if plugins are deleted. Fixes #7304 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@8359 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-16 21:53:32 +00:00
Ryan Boren 9cac41c84a Run plugin checks both admin and blog side. Props DD32 and mdawaffe. fixes #7265
git-svn-id: https://develop.svn.wordpress.org/trunk@8317 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-11 22:04:03 +00:00
Ryan Boren e5ce1add47 Upgrade message in dash. Props mdawaffe. fixes #6060
git-svn-id: https://develop.svn.wordpress.org/trunk@7237 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-11 16:13:07 +00:00
Ryan Boren f8feca5405 Revert [6921]. see #5928
git-svn-id: https://develop.svn.wordpress.org/trunk@6925 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-20 02:55:36 +00:00
Ryan Boren 7e4dea296e Do version check on admin_init. Props DD32. fixes #5928
git-svn-id: https://develop.svn.wordpress.org/trunk@6921 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-20 00:16:44 +00:00
Ryan Boren 3a18b96c9b Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@6726 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-05 06:47:27 +00:00
Peter Westwood 095e0993bd Add documentation for wp_version_check(). Fixes #5233 props darkdragon.
git-svn-id: https://develop.svn.wordpress.org/trunk@6297 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-30 21:40:30 +00:00
Mark Jaquith ccad303433 Core and plugin update checking: make sure fsockopen() is available and check file resources with is_resource() -- both to prevent feof() infinite loops. Props xknown. fixes #5037
git-svn-id: https://develop.svn.wordpress.org/trunk@6151 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-22 00:08:50 +00:00
Ryan Boren 7a43c01e08 Remove trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@6026 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-03 23:32:58 +00:00
Ryan Boren e9391140a7 Strip lines that contain only whitespace down to newlines.
git-svn-id: https://develop.svn.wordpress.org/trunk@6025 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-03 23:19:20 +00:00