Commit Graph

150 Commits

Author SHA1 Message Date
ryan 810bf31f83 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: http://svn.automattic.com/wordpress/trunk@12523 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-23 18:35:12 +00:00
westi ab2d609404 Remove passing of spurious argument to wpdb->db_version().
git-svn-id: http://svn.automattic.com/wordpress/trunk@12348 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-09 12:00:55 +00:00
ryan 2bf341d5d5 Put site into maintenance mode during bulk plugin upgrade. Skip plugin deactivate/activate. Add compatibility info. see #10973
git-svn-id: http://svn.automattic.com/wordpress/trunk@12157 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-09 18:53:21 +00:00
westi e27b8078dd Make the operator precedence obvious by using parenthesis.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11829 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-16 06:30:52 +00:00
azaozz 326befa4ed Increase timeout on cron-based requests when checking for upgrades, props dd32, fixes #10349
git-svn-id: http://svn.automattic.com/wordpress/trunk@11826 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-16 04:59:38 +00:00
azaozz e032847e3e Hide update notification for themes that are updated manually, props Denis-de-Bernardy, fixes #10220
git-svn-id: http://svn.automattic.com/wordpress/trunk@11714 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-14 08:34:39 +00:00
ryan c0752626de Plugin install fixes. Props Denis-de-Bernardy. see #10192
git-svn-id: http://svn.automattic.com/wordpress/trunk@11585 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-16 19:36:48 +00:00
ryan 1a939b81bd Use Stylesheet instead of Template to key theme data when doing theme update check. Props josephscott. fixes #9897
git-svn-id: http://svn.automattic.com/wordpress/trunk@11424 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-21 18:17:20 +00:00
azaozz db1d0c4ed5 Include the current theme in theme update check, props josephscott, fixes #9880
git-svn-id: http://svn.automattic.com/wordpress/trunk@11404 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-19 20:12:37 +00:00
markjaquith 3ebf837ced Deprecate sanitize_url() and clean_url() in favor of esc_url_raw() and esc_url()
git-svn-id: http://svn.automattic.com/wordpress/trunk@11383 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-18 16:00:33 +00:00
ryan 83925773d0 Don't do core version check from front page loads. Props Denis-de-Bernardy. fixes #8590
git-svn-id: http://svn.automattic.com/wordpress/trunk@11209 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-05 21:51:48 +00:00
markjaquith 6c2ffddf31 _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: http://svn.automattic.com/wordpress/trunk@11204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-05 19:43:53 +00:00
ryan 2d489767bb s/attribute_escape/attr/. see #9650
git-svn-id: http://svn.automattic.com/wordpress/trunk@11109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-28 05:58:45 +00:00
azaozz 1e31cc81a0 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: http://svn.automattic.com/wordpress/trunk@10939 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-15 19:55:41 +00:00
ryan 8b11ce3acb Add core_version_check_locale filter. Props nbachiyski. see #8729
git-svn-id: http://svn.automattic.com/wordpress/trunk@10772 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-11 23:37:33 +00:00
ryan f05146c34f Check for new version when visiting Tools->Upgrade. fixes #9108
git-svn-id: http://svn.automattic.com/wordpress/trunk@10583 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-17 00:13:25 +00:00
ryan 7aec230e33 Use transient for update_core, update_plugins, update_themes. see #9048
git-svn-id: http://svn.automattic.com/wordpress/trunk@10515 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-06 18:06:20 +00:00
westi c55feaddbf Set the user-agent like we did before. See #8660
git-svn-id: http://svn.automattic.com/wordpress/trunk@10238 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-21 21:52:15 +00:00
ryan b4654848fc Plugin and theme udpdate check fixes. Props DD32. fixes #8660 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10221 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-18 17:23:20 +00:00
ryan e89192b1a8 Strip trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@10150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-09 18:03:31 +00:00
ryan ba7c715d8e Fix notices. see #8347
git-svn-id: http://svn.automattic.com/wordpress/trunk@9902 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-26 12:04:29 +00:00
ryan f91d22aadb If api.wp.org request blocks, make sure another requests isn't scheduled for 12 hours. see #8347
git-svn-id: http://svn.automattic.com/wordpress/trunk@9901 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-26 11:48:05 +00:00
ryan f5d551efe0 Improve latest version detection in plugin updater. Props DD32. fixes #8129
git-svn-id: http://svn.automattic.com/wordpress/trunk@9793 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-19 19:25:53 +00:00
ryan 74af1250f7 Remove unused var
git-svn-id: http://svn.automattic.com/wordpress/trunk@9544 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-06 04:54:13 +00:00
ryan 1d347362af Fix core update checking. Don't check on every page load.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9512 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-04 17:12:03 +00:00
ryan e55a05453a Better i18n support for automatic upgrade. Props nbachiyski. fixes #8023
git-svn-id: http://svn.automattic.com/wordpress/trunk@9441 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-31 18:51:06 +00:00
markjaquith 6f28d769a0 Fix a PHP Notice. props DD32. see #7509
git-svn-id: http://svn.automattic.com/wordpress/trunk@9323 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-24 10:55:20 +00:00
ryan f111cc74b2 Don't schedule update events while installing. Props rdworth and tott. fixes #7724
git-svn-id: http://svn.automattic.com/wordpress/trunk@9244 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-18 20:58:19 +00:00
azaozz d254e29e38 phpDoc fixes for general-template.php and update.php, props jacobsantos, see #7550
git-svn-id: http://svn.automattic.com/wordpress/trunk@8929 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-18 17:32:18 +00:00
ryan 8a4cf0eab8 Themes API from josephscott. see #7519
git-svn-id: http://svn.automattic.com/wordpress/trunk@8891 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-15 16:21:15 +00:00
westi f7b32217a3 phpDoc corrections for wp-includes. See #7550 props santosj.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8742 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-27 06:45:13 +00:00
ryan 562fda59a7 include mysql version in version check query string. Props andy. fixes #7600 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8739 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-26 22:30:56 +00:00
ryan 1ef0029be8 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: http://svn.automattic.com/wordpress/trunk@8644 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-13 23:37:42 +00:00
westi 88f521011a HTTP API improvements. Implements chunked transfer decoding. Moves plugin update checker over to api. see #4779 props santosj.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8630 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-12 21:21:11 +00:00
ryan 05305465e4 Automatic upgrade, first cut. see #5560
git-svn-id: http://svn.automattic.com/wordpress/trunk@8595 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-08 22:49:35 +00:00
ryan 3c99cfc4f5 HTTP POST and REQUEST API from jacobsantos. see #4779
git-svn-id: http://svn.automattic.com/wordpress/trunk@8516 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-01 05:00:07 +00:00
ryan 06a67ae8d2 Don't run get_plugins() on every admin page load. Use cron for async update plugin requests. see #7372
git-svn-id: http://svn.automattic.com/wordpress/trunk@8514 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-01 04:26:32 +00:00
westi 4b4f85c2d4 Invalidate the plugin update cache if plugins are deleted. Fixes #7304 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8359 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-16 21:53:32 +00:00
ryan e7e42b56d5 Run plugin checks both admin and blog side. Props DD32 and mdawaffe. fixes #7265
git-svn-id: http://svn.automattic.com/wordpress/trunk@8317 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-11 22:04:03 +00:00
ryan 7fa4744082 Upgrade message in dash. Props mdawaffe. fixes #6060
git-svn-id: http://svn.automattic.com/wordpress/trunk@7237 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-11 16:13:07 +00:00
ryan ecc8de81b9 Revert [6921]. see #5928
git-svn-id: http://svn.automattic.com/wordpress/trunk@6925 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-20 02:55:36 +00:00
ryan e0e9db30d7 Do version check on admin_init. Props DD32. fixes #5928
git-svn-id: http://svn.automattic.com/wordpress/trunk@6921 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-20 00:16:44 +00:00
ryan d88983793b Trailing whitespace cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@6726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-05 06:47:27 +00:00
westi bccb7897d7 Add documentation for wp_version_check(). Fixes #5233 props darkdragon.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6297 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-30 21:40:30 +00:00
markjaquith d3d447d6e9 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: http://svn.automattic.com/wordpress/trunk@6151 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-22 00:08:50 +00:00
ryan 321c310717 Remove trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@6026 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-03 23:32:58 +00:00
ryan 87c4f3a17f Strip lines that contain only whitespace down to newlines.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6025 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-03 23:19:20 +00:00
matt 04558f4424 Don't run if installing, fixes $4772
git-svn-id: http://svn.automattic.com/wordpress/trunk@5900 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-19 04:27:04 +00:00
matt 096bece621 Switch to init action. Hat tip: westi. See #1476
git-svn-id: http://svn.automattic.com/wordpress/trunk@5894 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-17 13:28:45 +00:00
matt 7c2dbb9cb1 First pass at upgrade notification for core, see #1476. Also includes some minor footer styling changes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5892 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-17 10:33:52 +00:00