Minor code beautification. Props hakre. Fixes #15569
git-svn-id: https://develop.svn.wordpress.org/trunk@16581 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
ca6171333d
commit
756645d701
@ -4226,7 +4226,7 @@ function get_file_data( $file, $default_headers, $context = '' ) {
|
||||
fclose( $fp );
|
||||
|
||||
if ( $context != '' ) {
|
||||
$extra_headers = apply_filters( "extra_{$context}".'_headers', array() );
|
||||
$extra_headers = apply_filters( "extra_{$context}_headers", array() );
|
||||
|
||||
$extra_headers = array_flip( $extra_headers );
|
||||
foreach( $extra_headers as $key=>$value ) {
|
||||
|
Loading…
Reference in New Issue
Block a user