mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +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:
@@ -794,7 +794,7 @@ final class WP_Screen {
|
||||
* {@see get_current_screen()->remove_help_tab()} instead.
|
||||
*
|
||||
* @param array $old_compat_help Old contextual help.
|
||||
* @param WP_Screen $this Current WP_Screen instance.
|
||||
* @param WP_Screen $screen Current WP_Screen instance.
|
||||
*/
|
||||
self::$_old_compat_help = apply_filters_deprecated(
|
||||
'contextual_help_list',
|
||||
@@ -814,7 +814,7 @@ final class WP_Screen {
|
||||
*
|
||||
* @param string $old_help Help text that appears on the screen.
|
||||
* @param string $screen_id Screen ID.
|
||||
* @param WP_Screen $this Current WP_Screen instance.
|
||||
* @param WP_Screen $screen Current WP_Screen instance.
|
||||
*/
|
||||
$old_help = apply_filters_deprecated(
|
||||
'contextual_help',
|
||||
@@ -935,7 +935,7 @@ final class WP_Screen {
|
||||
*
|
||||
* @param array $empty_columns Empty array.
|
||||
* @param string $screen_id Screen ID.
|
||||
* @param WP_Screen $this Current WP_Screen instance.
|
||||
* @param WP_Screen $screen Current WP_Screen instance.
|
||||
*/
|
||||
$columns = apply_filters( 'screen_layout_columns', array(), $this->id, $this );
|
||||
|
||||
@@ -1087,7 +1087,7 @@ final class WP_Screen {
|
||||
*
|
||||
* @param bool $show_button Whether to show Screen Options submit button.
|
||||
* Default false.
|
||||
* @param WP_Screen $this Current WP_Screen instance.
|
||||
* @param WP_Screen $screen Current WP_Screen instance.
|
||||
*/
|
||||
$show_button = apply_filters( 'screen_options_show_submit', false, $this );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user