WordPress.org

Make WordPress Core


Ignore:
Timestamp:
08/22/2019 07:07:57 PM (3 months ago)
Author:
desrosj
Message:

Coding Standards: Dynamic hooks should be named using interpolation not concatenation.

Props arena, desrosj.
Fixes #47052.

File:
1 edited

Legend:

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

    r45583 r45881  
    205205
    206206            /** This filter is documented in wp-admin/includes/class-wp-ms-themes-list-table.php */
    207             $actions       = apply_filters( "theme_action_links_$stylesheet", $actions, $theme, 'all' );
     207            $actions       = apply_filters( "theme_action_links_{$stylesheet}", $actions, $theme, 'all' );
    208208            $delete_action = isset( $actions['delete'] ) ? '<div class="delete-theme">' . $actions['delete'] . '</div>' : '';
    209209            unset( $actions['delete'] );
Note: See TracChangeset for help on using the changeset viewer.