original_string: public static function verifyNonce($nonce, $action)
      {
          //Safety check for multiple nonces
          if (is_array($nonce)) {
              $nonce = array_shift($nonce);
          }
  
          //Nonce generated 0-12 hours ago
          if ($nonce === self::getNonce($action)) {
              return true;
          }
  
          //Nonce generated 12-24 hours ago
          $previousTick = true;
  
          return $nonce === self::getNonce($action, $previousTick);
      }
code: public static function verifyNonce($nonce, $action)
      {
          //Safety check for multiple nonces
          if (is_array($nonce)) {
              $nonce = array_shift($nonce);
          }
  
          //Nonce generated 0-12 hours ago
          if ($nonce === self::getNonce($action)) {
              return true;
          }
  
          //Nonce generated 12-24 hours ago
          $previousTick = true;
  
          return $nonce === self::getNonce($action, $previousTick);
      }
code_tokens: public static function verifyNonce ( $ nonce , $ action ) { //Safety check for multiple nonces if ( is_array ( $ nonce ) ) { $ nonce = array_shift ( $ nonce ) ; } //Nonce generated 0-12 hours ago if ( $ nonce === self :: getNonce ( $ action ) ) { return true ; } //Nonce generated 12-24 hours ago $ previousTick = true ; return $ nonce === self :: getNonce ( $ action , $ previousTick ) ; }
docstring: Verify the passed nonce for the give action
  
  @param string|string[] $nonce  the nonce to verify
  @param string $action the action to verify the nonce to
  
  @return boolean verified or not
docstring_tokens: Verify the passed nonce for the give action