Skip to content

Commit

Permalink
[not verified] ignore WordPress.Security.NonceVerification.Recommended
Browse files Browse the repository at this point in the history
  • Loading branch information
kangzj committed Jan 17, 2023
1 parent 975f214 commit 5b2fc15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion projects/packages/stats-admin/src/class-dashboard.php
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ protected function get_plan_features() {
*/
protected function get_current_user_capatibilites() {
// Feature lock.
if ( ! isset( $_GET['flags'] ) || $_GET['flags'] !== 'stats/ads-page' ) {
if ( ! isset( $_GET['flags'] ) || $_GET['flags'] !== 'stats/ads-page' ) {// phpcs:ignore WordPress.Security.NonceVerification.Recommended
return array();
}
// TODO: `1.0.0` is just a placeholder. Add required API and then replace with the actual version.
Expand Down

0 comments on commit 5b2fc15

Please sign in to comment.