[wp-trac] [WordPress Trac] #18289: Direct link to plugin installation should have admin chrome

WordPress Trac wp-trac at lists.automattic.com
Sun Jul 31 02:00:12 UTC 2011


#18289: Direct link to plugin installation should have admin chrome
-----------------------------+------------------------
 Reporter:  nacin            |       Owner:  nacin
     Type:  task (blessed)   |      Status:  reviewing
 Priority:  normal           |   Milestone:  3.3
Component:  Upgrade/Install  |     Version:
 Severity:  normal           |  Resolution:
 Keywords:  has-patch        |
-----------------------------+------------------------

Comment (by dd32):

 Surely theres a better way than returning a huge chunk of HTML.

 The first thought that came to my mind, was to just have iframe_header() /
 iframe_footer() include the normal header/footer, however we'd run into
 some globals issues there.. (Theres a ticket elsewhere for that I believe)

 We know the list of actions which can end up in a iframe, and we should be
 able to detect if it's a iframe'd request (just throwing an extra param
 into the url for example).

 I'll see if i can manage a patch following my thoughts..

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


More information about the wp-trac mailing list