PluginProbe
SureForms – Contact Form Builder, AI Forms, Payment Form, Survey & Quiz / 2.12.8
SureForms – Contact Form Builder, AI Forms, Payment Form, Survey & Quiz v2.12.8
2.12.8 2.12.7 2.12.6 2.12.5 2.12.4 2.12.3 2.12.2 2.12.1 2.12.0 2.11.1 2.11.0 2.10.1 2.10.0 2.9.1 2.9.0 2.8.2 2.8.1 2.7.0 2.7.1 2.8.0 trunk 0.0.10 0.0.11 0.0.12 0.0.13 All 98 releases
← All changes | inc/abilities/abstract-ability.php +4 -0 2.10.0 → 2.12.8 View file →
@@ -221,8 +221,12 @@
221 221 }
222 222
223 223 $annotations = $this->get_annotations();
224 224
225 + // wp_register_ability() is a WP 6.9+ Abilities API function. It is only reached
226 + // after the function_exists() guard above (and via the wp_abilities_api_init hook),
227 + // so it is inert on WP 6.4-6.8. Plugin Check's static WP-version check cannot see the
228 + // runtime guard, so it reports a false positive here.
225 229 wp_register_ability(
226 230 $this->id,
227 231 [
228 232 'label' => $this->label,