Ticket #14062: 14062.patch
| File 14062.patch, 1.2 KB (added by , 15 years ago) |
|---|
-
wp-admin/includes/class-wp-plugin-install-list-table.php
103 103 $display_tabs = array(); 104 104 foreach ( (array) $tabs as $action => $text ) { 105 105 $class = ( $action == $tab ) ? ' class="current"' : ''; 106 $href = admin_url('plugin-install.php?tab=' . $action);106 $href = self_admin_url('plugin-install.php?tab=' . $action); 107 107 $display_tabs[$action] = "<a href='$href'$class>$text</a>"; 108 108 } 109 109 … … 178 178 $author = wp_kses( $author, $plugins_allowedtags ); 179 179 180 180 $action_links = array(); 181 $action_links[] = '<a href="' . admin_url( 'plugin-install.php?tab=plugin-information&plugin=' . $plugin['slug'] .181 $action_links[] = '<a href="' . self_admin_url( 'plugin-install.php?tab=plugin-information&plugin=' . $plugin['slug'] . 182 182 '&TB_iframe=true&width=600&height=550' ) . '" class="thickbox" title="' . 183 183 esc_attr( sprintf( __( 'More information about %s' ), $name ) ) . '">' . __( 'Details' ) . '</a>'; 184 184