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

Props Otto42.
See #26869.


git-svn-id: https://develop.svn.wordpress.org/trunk@28348 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Drew Jaynes (DrewAPicture) 2014-05-08 09:57:11 +00:00
parent 30c21227be
commit bbd130fe15
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.
*/
$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 ];