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


git-svn-id: https://develop.svn.wordpress.org/trunk@39600 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
John Blackbourn
2016-12-14 04:17:38 +00:00
parent c0bb5e4972
commit ca92da24da
12 changed files with 31 additions and 21 deletions

View File

@@ -732,7 +732,7 @@ class WP_List_Table {
*
* @param int $per_page Number of items to be displayed. Default 20.
*/
return (int) apply_filters( $option, $per_page );
return (int) apply_filters( "{$option}", $per_page );
}
/**