Make WordPress Core


Ignore:
Timestamp:
08/16/2013 03:46:08 PM (12 years ago)
Author:
ryan
Message:

Be consistent with the arguments passed to the theme_action_links filter. Stop passing stylesheet from class-wp-ms-themes-list-table.php.

Props georgestephanis
fixes #24478

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-themes-list-table.php

    r23563 r25032  
    150150
    151151            $actions       = apply_filters( 'theme_action_links', $actions, $theme );
     152            $actions       = apply_filters( "theme_action_links_$stylesheet", $actions, $theme );
    152153            $delete_action = isset( $actions['delete'] ) ? '<div class="delete-theme">' . $actions['delete'] . '</div>' : '';
    153154            unset( $actions['delete'] );
Note: See TracChangeset for help on using the changeset viewer.