Make WordPress Core


Ignore:
Timestamp:
12/14/2016 04:17:38 AM (9 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-list-table.php

    r38672 r39600  
    733733         * @param int $per_page Number of items to be displayed. Default 20.
    734734         */
    735         return (int) apply_filters( $option, $per_page );
     735        return (int) apply_filters( "{$option}", $per_page );
    736736    }
    737737
Note: See TracChangeset for help on using the changeset viewer.