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 Built from https://develop.svn.wordpress.org/trunk@39600 git-svn-id: http://core.svn.wordpress.org/trunk@39540 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -1162,7 +1162,7 @@ final class WP_Screen {
|
||||
$per_page = apply_filters( 'edit_categories_per_page', $per_page );
|
||||
} else {
|
||||
/** This filter is documented in wp-admin/includes/class-wp-list-table.php */
|
||||
$per_page = apply_filters( $option, $per_page );
|
||||
$per_page = apply_filters( "{$option}", $per_page );
|
||||
}
|
||||
|
||||
// Back compat
|
||||
|
||||
Reference in New Issue
Block a user