Minor code beautification. Props hakre. Fixes #15569
git-svn-id: http://svn.automattic.com/wordpress/trunk@16581 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
37cfa3acde
commit
6e2eae9736
|
@ -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