[wp-trac] Re: [WordPress Trac] #8568: Plugin activation hook should
not be run when scraping errors.
WordPress Trac
wp-trac at lists.automattic.com
Thu Dec 11 03:02:59 GMT 2008
#8568: Plugin activation hook should not be run when scraping errors.
----------------------------+-----------------------------------------------
Reporter: sambauers | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.7.1
Component: Administration | Version: 2.7
Severity: normal | Resolution:
Keywords: |
----------------------------+-----------------------------------------------
Comment (by DD32):
The idea was to allow for fatal errors within the activation hook to be
displayed, Any fatal error which occurs during the activation hook on
activation will cause the plugin not to be activated, and then display an
empty scrape page (Since the fatal error inside the activation hook is
never hit)
It also allows for plugins to test conditions (such as wordpress version)
on their activation hooks, and to prevent the activation if a bad-
condition is met.
--
Ticket URL: <http://trac.wordpress.org/ticket/8568#comment:1>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list