[wp-trac] [WordPress Trac] #14915: Fix activation hook inconsistency

WordPress Trac wp-trac at lists.automattic.com
Sun Sep 26 05:15:31 UTC 2010


#14915: Fix activation hook inconsistency
--------------------------+-------------------------------------------------
 Reporter:  nacin         |       Owner:             
     Type:  defect (bug)  |      Status:  new        
 Priority:  normal        |   Milestone:  3.1        
Component:  Plugins       |     Version:  2.9        
 Severity:  normal        |    Keywords:  needs-patch
--------------------------+-------------------------------------------------

Comment(by dd32):

 > re: chaining http redirects, this starts to look icky to me. It seems
 like a perfect use case for AJAX, but I don't know what the rules are for
 JS dependency in the WP backend.

 No redirects are going to be used. I'll make damn sure of that. :P

 However, In order to activate a plugin AND have it sandboxed during the
 activation to check for errors, a seperate HTTP request MUST be made, It
 can be in the form of a Iframe (as current for the single upgrader), A
 request which redirects afterwards (in the case of the "Activate Plugin"
 function), or it can be WordPress making an external HTTP Request to
 itself.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/14915#comment:14>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list