Make WordPress Core

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#15842 closed defect (bug) (fixed)

Plugin install thickbox for importers needs to account for the admin bar

Reported by: nacin's profile nacin Owned by: ocean90's profile ocean90
Milestone: 3.1 Priority: normal
Severity: normal Version:
Component: Administration Keywords: has-patch commit dev-reviewed
Focuses: Cc:


Currently doesn't based on testing.

Attachments (1)

15842.patch (1.3 KB) - added by ocean90 14 years ago.

Download all attachments as: .zip

Change History (11)

#1 @ocean90
14 years ago

  • Owner set to ocean90
  • Status changed from new to reviewing

14 years ago

#2 @ocean90
14 years ago

  • Keywords has-patch added

Patch adds the styles/scripts to import.php. (Also a small RTL fix for the Admin Bar)

#3 @nacin
14 years ago

Looks fine.

Were we not already enqueuing the plugin-install script on this page? How else does it all work?

#4 @ocean90
14 years ago

It works, because the frame gets his height/width from the URL ...&width=600&height=550 and from the Thickbox function tb_position. 550px works, if the screen is high enough. If it's smaller, then it will be overlapped by the admin bar. The plugin-install script will fix this.

#5 @ryan
14 years ago

  • Keywords commit added

#6 @westi
14 years ago

  • Keywords dev-reviewed added

How these never got added I don't know.

#7 @nacin
14 years ago

Leaving the wp-includes/css/ change out of the commit. Pretty sure I've seen that in a related patch.

#8 @nacin
14 years ago

Ah, that diff is already in trunk.

#9 @nacin
14 years ago

  • Resolution set to fixed
  • Status changed from reviewing to closed

(In [17086]) Enqueue plugin-install scripts and styles on import.php. props ocean90, fixes #15842.

#10 @nacin
14 years ago

(In [17087]) Minify plugin-install.js. see #15842.

Note: See TracTickets for help on using tickets.