Commit Graph

85 Commits

Author SHA1 Message Date
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
Matt Mullenweg
76384e93f0 Don't run if installing, fixes $4772
git-svn-id: https://develop.svn.wordpress.org/trunk@5900 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-19 04:27:04 +00:00
Matt Mullenweg
69a3980bc7 Switch to init action. Hat tip: westi. See #1476
git-svn-id: https://develop.svn.wordpress.org/trunk@5894 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-17 13:28:45 +00:00
Matt Mullenweg
f6c6582ff3 First pass at upgrade notification for core, see #1476. Also includes some minor footer styling changes.
git-svn-id: https://develop.svn.wordpress.org/trunk@5892 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-17 10:33:52 +00:00