WordPress.org

Make WordPress Core


Ignore:
Timestamp:
11/14/2010 03:50:02 PM (9 years ago)
Author:
scribu
Message:

Improve hook readability via curly brackets. Props jjj for initial patch. Fixes #15422

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/functions.php

    r16340 r16365  
    42274227
    42284228    if ( $context != '' ) {
    4229         $extra_headers = apply_filters( "extra_$context".'_headers', array() );
     4229        $extra_headers = apply_filters( "extra_{$context}".'_headers', array() );
    42304230
    42314231        $extra_headers = array_flip( $extra_headers );
Note: See TracChangeset for help on using the changeset viewer.