WordPress.org

Make WordPress Core


Ignore:
Timestamp:
12/14/2016 04:17:38 AM (5 years ago)
Author:
johnbillion
Message:

General: Use interpolation instead of concatenation for all dynamic hook names.

This fixes the rendering of the hook names on developer.wordpress.org.

Props keesiemeijer
Fixes #39148

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/user.php

    r39486 r39600  
    12091209
    12101210            /** This filter is documented in wp-includes/post.php */
    1211             $value = apply_filters( $field, $value, $user_id, $context );
     1211            $value = apply_filters( "{$field}", $value, $user_id, $context );
    12121212        } else {
    12131213
Note: See TracChangeset for help on using the changeset viewer.