WordPress.org

Make WordPress Core


Ignore:
Timestamp:
12/14/2016 04:17:38 AM (4 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-admin/includes/class-wp-screen.php

    r37488 r39600  
    11631163        } else {
    11641164            /** This filter is documented in wp-admin/includes/class-wp-list-table.php */
    1165             $per_page = apply_filters( $option, $per_page );
     1165            $per_page = apply_filters( "{$option}", $per_page );
    11661166        }
    11671167
Note: See TracChangeset for help on using the changeset viewer.