From 32e674f44ebe930f68fc5934575b5634c38ed7da Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Thu, 8 May 2014 09:58:14 +0000 Subject: [PATCH] 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 --- wp-admin/includes/screen.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/includes/screen.php b/wp-admin/includes/screen.php index ac08274116..4d43872f5a 100644 --- a/wp-admin/includes/screen.php +++ b/wp-admin/includes/screen.php @@ -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 ];