Ticket #14897: 14897.6.diff
File 14897.6.diff, 1.2 KB (added by , 15 years ago) |
---|
-
wp-admin/includes/list-table-ms-themes.php
244 244 $actions['network_disable'] = '<a href="' . wp_nonce_url('themes.php?action=network-disable&theme=' . $theme_key . '&paged=' . $page . '&s=' . $s, 'disable-theme_' . $theme_key) . '" title="' . __('Disable this theme') . '">' . __('Disable') . '</a>'; 245 245 } 246 246 247 /* @todo link to theme editor248 247 if ( current_user_can('edit_themes') ) 249 $actions['edit'] = '<a href="theme-editor.php?file=' . $theme['Stylesheet Files'][0] . '" title="' . __('Open this theme in the Theme Editor') . '" class="edit">' . __('Edit') . '</a>'; 250 */ 248 $actions['edit'] = '<a href="theme-editor.php?theme=' . $theme['Name'] . '" title="' . __('Open this theme in the Theme Editor') . '" class="edit">' . __('Edit') . '</a>'; 251 249 252 250 $actions = apply_filters( 'theme_action_links', array_filter( $actions ), $theme_key, $theme, $context ); 253 251 $actions = apply_filters( "theme_action_links_$theme_key", $actions, $theme_key, $theme, $context );