- Timestamp:
- 11/20/2010 01:38:21 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/class-wp-plugin-install-list-table.php
r16182 r16499 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 } … … 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>';
Note: See TracChangeset
for help on using the changeset viewer.