Coding Standards: Mark the handful of hook names with uppercase characters or hyphens as ignored.
See #47632. Built from https://develop.svn.wordpress.org/trunk@45599 git-svn-id: http://core.svn.wordpress.org/trunk@45410 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -507,7 +507,7 @@ function wp_plugin_update_row( $file, $plugin_data ) {
|
||||
* @type string $package Plugin update package URL.
|
||||
* }
|
||||
*/
|
||||
do_action( "in_plugin_update_message-{$file}", $plugin_data, $response );
|
||||
do_action( "in_plugin_update_message-{$file}", $plugin_data, $response ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
|
||||
|
||||
echo '</p></div></td></tr>';
|
||||
}
|
||||
@@ -646,7 +646,7 @@ function wp_theme_update_row( $theme_key, $theme ) {
|
||||
* @type string $package Theme update package URL.
|
||||
* }
|
||||
*/
|
||||
do_action( "in_theme_update_message-{$theme_key}", $theme, $response );
|
||||
do_action( "in_theme_update_message-{$theme_key}", $theme, $response ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
|
||||
|
||||
echo '</p></div></td></tr>';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user