mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-01 11:14:36 +00:00
Plugins: Replace usage of $this in action and filter parameter docblocks with more appropriate variable names.
See #51800, #52217 Fixes #52243 git-svn-id: https://develop.svn.wordpress.org/trunk@49946 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1258,7 +1258,7 @@ final class WP_Theme implements ArrayAccess {
|
||||
* @since 4.9.6
|
||||
*
|
||||
* @param string[] $post_templates Array of template header names keyed by the template file name.
|
||||
* @param WP_Theme $this The theme object.
|
||||
* @param WP_Theme $theme The theme object.
|
||||
* @param WP_Post|null $post The post being edited, provided for context, or null.
|
||||
* @param string $post_type Post type to get the templates for.
|
||||
*/
|
||||
@@ -1274,7 +1274,7 @@ final class WP_Theme implements ArrayAccess {
|
||||
* @since 4.7.0 Added the `$post_type` parameter.
|
||||
*
|
||||
* @param string[] $post_templates Array of template header names keyed by the template file name.
|
||||
* @param WP_Theme $this The theme object.
|
||||
* @param WP_Theme $theme The theme object.
|
||||
* @param WP_Post|null $post The post being edited, provided for context, or null.
|
||||
* @param string $post_type Post type to get the templates for.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user