mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Docs: Replace $this in hook param docs with more appropriate names.
`$this` is a pseudo-variable that cannot be used as the name of a function parameter, so renaming these helps prevent errors when implementing hook callback functions. Fixes #53457 git-svn-id: https://develop.svn.wordpress.org/trunk@51518 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -162,7 +162,7 @@ class WP_Scripts extends WP_Dependencies {
|
||||
*
|
||||
* @since 2.6.0
|
||||
*
|
||||
* @param WP_Scripts $this WP_Scripts instance (passed by reference).
|
||||
* @param WP_Scripts $wp_scripts WP_Scripts instance (passed by reference).
|
||||
*/
|
||||
do_action_ref_array( 'wp_default_scripts', array( &$this ) );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user