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

Props Otto42.
See #26869.

Built from https://develop.svn.wordpress.org/trunk@28348


git-svn-id: http://core.svn.wordpress.org/trunk@28176 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Drew Jaynes 2014-05-08 09:58:14 +00:00
parent 8906f83802
commit 32e674f44e
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ function get_column_headers( $screen ) {
* *
* @param array $columns An array of column headers. Default empty. * @param array $columns An array of column headers. Default empty.
*/ */
$column_headers[ $screen->id ] = apply_filters( 'manage_' . $screen->id . '_columns', array() ); $column_headers[ $screen->id ] = apply_filters( "manage_{$screen->id}_columns", array() );
} }
return $column_headers[ $screen->id ]; return $column_headers[ $screen->id ];