Changeset 25032
- Timestamp:
- 08/16/2013 03:46:08 PM (12 years ago)
- Location:
- trunk/src/wp-admin/includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-ms-themes-list-table.php
r24583 r25032 285 285 $actions['delete'] = '<a href="' . esc_url( wp_nonce_url( 'themes.php?action=delete-selected&checked[]=' . $theme_key . '&theme_status=' . $context . '&paged=' . $page . '&s=' . $s, 'bulk-themes' ) ) . '" title="' . esc_attr__( 'Delete this theme' ) . '" class="delete">' . __( 'Delete' ) . '</a>'; 286 286 287 $actions = apply_filters( 'theme_action_links', array_filter( $actions ), $ stylesheet, $theme, $context );288 $actions = apply_filters( "theme_action_links_$stylesheet", $actions, $ stylesheet, $theme, $context );287 $actions = apply_filters( 'theme_action_links', array_filter( $actions ), $theme, $context ); 288 $actions = apply_filters( "theme_action_links_$stylesheet", $actions, $theme, $context ); 289 289 290 290 $class = ! $allowed ? 'inactive' : 'active'; -
trunk/src/wp-admin/includes/class-wp-themes-list-table.php
r23563 r25032 150 150 151 151 $actions = apply_filters( 'theme_action_links', $actions, $theme ); 152 $actions = apply_filters( "theme_action_links_$stylesheet", $actions, $theme ); 152 153 $delete_action = isset( $actions['delete'] ) ? '<div class="delete-theme">' . $actions['delete'] . '</div>' : ''; 153 154 unset( $actions['delete'] );
Note: See TracChangeset
for help on using the changeset viewer.