Commit Graph

52 Commits

Author SHA1 Message Date
nacin d0b26b2d43 Kill check_server_timer(). fixes #15602.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16603 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-29 05:16:24 +00:00
ryan a2ec5bfafa Introduce schedule_event filter. fixes #15146
git-svn-id: http://svn.automattic.com/wordpress/trunk@15837 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-18 20:50:35 +00:00
dd32 a14d289755 Alot more tabs. Props jacobsantos & Viper007bond. See #14147
git-svn-id: http://svn.automattic.com/wordpress/trunk@15355 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-30 00:05:18 +00:00
ryan 039b8aa6e5 Don't suppress errors when including cron if WP_DEBUG. Props sivel. fixes #11507
git-svn-id: http://svn.automattic.com/wordpress/trunk@14414 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 21:46:19 +00:00
westi ff7831207c Updates and improvements to _depreceated_argument. See #11386 props nacin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12584 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-30 16:23:39 +00:00
westi 47a7b1b003 Fix typo in _deprecated_argument() and start using _deprecated_argument() in wp-includes files. See #11386 props nacin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12537 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-24 11:12:04 +00:00
westi 53dfdc063b Fix wp_clear_scheduled_hook() so that it function prototype matches the other cron functions.
Include backwards compatibility code so that plugins that used the old way still work.
Fixes #10468.

git-svn-id: http://svn.automattic.com/wordpress/trunk@12462 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-19 11:47:16 +00:00
matt cff2ea75c7 Cast out the lowercase P demons that snuck in. http://www.google.com/search?q=out+out+you+demons+of+stupidity
git-svn-id: http://svn.automattic.com/wordpress/trunk@12341 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-08 19:59:34 +00:00
ryan 31f5798fbb Schedule trash collection from admin page loads. see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@12120 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-27 18:13:42 +00:00
azaozz 2040971211 "Trash" status for comments updates, props caesarsgrunt, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@11741 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-24 07:23:11 +00:00
ryan 6c8badc7c7 Fix handling of old timestamps in wp_reschedule_event(). Props natethelen. fixes #9318
git-svn-id: http://svn.automattic.com/wordpress/trunk@10969 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-17 00:23:48 +00:00
westi d2faeef333 Improve cron phpdoc.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10898 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-08 20:16:59 +00:00
azaozz c8a972ed3e Add filter for local connection ssl verify to cron spawning, props sivel, see #8702
git-svn-id: http://svn.automattic.com/wordpress/trunk@10526 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-08 15:26:16 +00:00
azaozz a4df9a5326 Cron spawning improvement, see #9005
git-svn-id: http://svn.automattic.com/wordpress/trunk@10521 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-07 13:32:34 +00:00
ryan 8c7d54a9dc Use transient for doing_cron. see #9048
git-svn-id: http://svn.automattic.com/wordpress/trunk@10519 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-06 22:25:35 +00:00
azaozz 22e8d0e0e5 Spawn cron with AJAX request, see #9005
git-svn-id: http://svn.automattic.com/wordpress/trunk@10474 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-31 02:23:24 +00:00
ryan ae50ab2d59 Lose hash check
git-svn-id: http://svn.automattic.com/wordpress/trunk@10473 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-30 22:35:41 +00:00
ryan 059800a983 cron phpdoc fixes. Props filosofo. fixes #8680 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10233 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-19 20:47:20 +00:00
ryan 40c754df1d Unused var fixes. Props DD32. see #8220
git-svn-id: http://svn.automattic.com/wordpress/trunk@9716 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-15 18:10:35 +00:00
ryan cdb2fa6a66 Fix the fix
git-svn-id: http://svn.automattic.com/wordpress/trunk@9407 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-29 22:59:47 +00:00
ryan 25f4e26d33 Wrong view ryan
git-svn-id: http://svn.automattic.com/wordpress/trunk@9406 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-29 22:56:48 +00:00
ryan 9479b4ed91 Formatting cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@9403 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-29 20:26:20 +00:00
ryan 7ae1291c12 don't schedule a duplicate if there's already an identical event due in the next 10 minutes. Props tellyworth. fixes #6966
git-svn-id: http://svn.automattic.com/wordpress/trunk@9181 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-15 06:00:42 +00:00
azaozz 0853ba158c Cron improvement, props hailin, fixes #7068
git-svn-id: http://svn.automattic.com/wordpress/trunk@8927 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-18 07:09:38 +00:00
ryan bc6cb67cc4 phpdoc for cron.php. Props jacobsantos and hansengel. fixes #5637
git-svn-id: http://svn.automattic.com/wordpress/trunk@8806 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-04 19:12:40 +00:00
markjaquith 74c46749cb Cast to array when using foreach(). Props santosj (and thanks for your perseverance!). fixes #2784
git-svn-id: http://svn.automattic.com/wordpress/trunk@8572 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-06 20:31:54 +00:00
ryan b8dc4a3377 Don't use wp_guess_url(). Caused big problems. see #4779
git-svn-id: http://svn.automattic.com/wordpress/trunk@8537 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-04 19:19:05 +00:00
ryan ccbc13a123 Use wp_guess_url() for determining the cron URL. Props jacobsantos. see #4779
git-svn-id: http://svn.automattic.com/wordpress/trunk@8529 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-03 21:07:21 +00:00
ryan 6425f7db9d Formatting changes and non-blocking mode. Props DD32. see #4779
git-svn-id: http://svn.automattic.com/wordpress/trunk@8519 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-01 16:36:50 +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
ryan 6a0629e717 Take port into consideration when spawning cron. Props bchecketts. fixes #4782
git-svn-id: http://svn.automattic.com/wordpress/trunk@5972 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-29 17:57:06 +00:00
ryan 2f09416258 Trim empty lines. Nothing but newline.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-14 02:25:30 +00:00
ryan 02cfbbe93b Use wp_hash to create cron's check hash.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5274 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-16 20:47:23 +00:00
ryan 1f35a9de8f Make sure openssl is available. Props Robert Deaton and rob1n. fixes #3765
git-svn-id: http://svn.automattic.com/wordpress/trunk@4984 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-07 04:16:06 +00:00
ryan 6154ec1c7e Fix spawning with SSL. Props dragonhard and rob1n. fixes #3765
git-svn-id: http://svn.automattic.com/wordpress/trunk@4980 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-07 01:47:57 +00:00
markjaquith d0f79bb3f2 trailing tabs and whitespace cleanup.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4953 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-27 15:24:54 +00:00
markjaquith b4671adb74 Prevent a missing wp-cron.php from causing an infinite loop. Props jan. fixes #3713
git-svn-id: http://svn.automattic.com/wordpress/trunk@4834 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-30 13:06:56 +00:00
ryan 287467334e Change cron arg passing. Props masquerade. fixes #3169.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4362 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-08 17:50:21 +00:00
markjaquith a450c80a6a case insensitive sorting. props Nazgul. fixes #3108
git-svn-id: http://svn.automattic.com/wordpress/trunk@4289 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-04 03:49:56 +00:00
ryan f73a8c0447 wp_get_schedule() from masquerade.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4254 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-09-26 01:14:49 +00:00
ryan 4e2f949d74 Check if isset to avoid warning. Props Alex King. fixes #3160
git-svn-id: http://svn.automattic.com/wordpress/trunk@4221 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-09-25 01:21:13 +00:00
ryan 68aa6231a2 cron and future post publishing fixes. fixes #3058
git-svn-id: http://svn.automattic.com/wordpress/trunk@4189 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-09-13 23:54:15 +00:00
ryan 849a0d29d7 Use get_option instead of get_settings. Just 'cause.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4144 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-30 21:46:31 +00:00
ryan 7bf42ee218 Rework wp_publish_post() to use wp_update_post() again while turning off filters. Clear the cron schedule for a post when the post timestamp is updated. #2715 #2737
git-svn-id: http://svn.automattic.com/wordpress/trunk@4077 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-07 03:50:55 +00:00
ryan 30fe5d5876 Oops
git-svn-id: http://svn.automattic.com/wordpress/trunk@3931 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-06-27 06:59:35 +00:00
ryan db0b40736a Fix array_keys error when cron option is not an array. Props robmiller. fixes #2814
git-svn-id: http://svn.automattic.com/wordpress/trunk@3929 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-06-27 06:04:27 +00:00
ryan 181119bd1f Cron pass-by-reference error fix from robmiller. fixes #2790
git-svn-id: http://svn.automattic.com/wordpress/trunk@3860 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-06-10 20:43:49 +00:00
matt ecb3101f4e Formatting and eol fixes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3697 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-04-06 05:25:50 +00:00
ryan 3f9714b97f Cron fixes from mdawaffe. #2425
git-svn-id: http://svn.automattic.com/wordpress/trunk@3636 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-03-08 05:51:42 +00:00