Fixed phpcs flag

This commit is contained in:
Claudio Sanches 2020-07-28 10:36:28 -03:00
parent 2df7324b0d
commit cc42af2f6e
1 changed files with 2 additions and 1 deletions

View File

@ -43,9 +43,10 @@ class WC_Admin_Pointers {
* Pointers for creating a product.
*/
public function create_product_tutorial() {
if ( ! isset( $_GET['tutorial'] ) || ! current_user_can( 'manage_options' ) ) { // phpcs:ignore
if ( ! isset( $_GET['tutorial'] ) || ! current_user_can( 'manage_options' ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended
return;
}
// These pointers will chain - they will not be shown at once.
$pointers = array(
'pointers' => array(