WordPress.org

Make WordPress Core

Changeset 28348


Ignore:
Timestamp:
05/08/14 09:57:11 (4 years ago)
Author:
DrewAPicture
Message:

Use interpolation instead of concatenation for the manage_{$screen->id}_columns hook name.

Props Otto42.
See #26869.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/screen.php

    r28303 r28348  
    3535         * @param array $columns An array of column headers. Default empty. 
    3636         */ 
    37         $column_headers[ $screen->id ] = apply_filters( 'manage_' . $screen->id . '_columns', array() ); 
     37        $column_headers[ $screen->id ] = apply_filters( "manage_{$screen->id}_columns", array() ); 
    3838    } 
    3939 
Note: See TracChangeset for help on using the changeset viewer.