PluginProbe
WindPress – Tailwind CSS integration for WordPress / 3.2.89
WindPress – Tailwind CSS integration for WordPress v3.2.89
3.2.89 3.2.88 3.2.87 3.2.86 3.2.85 3.2.84 3.2.83 3.2.82 3.2.81 trunk 3.0.0 3.0.1 3.0.10 3.0.11 3.0.12 3.0.13 3.0.14 3.0.15 3.0.16 3.0.17 3.0.2 3.0.3 3.0.4 3.0.5 3.0.6 All 143 releases
← All changes | src/Api/AbstractApi.php +2 -2 3.0.143.2.89 View file →
@@ -15,9 +15,9 @@
15 15 use WP_REST_Request;
16 16 class AbstractApi
17 17 {
18 18 public const API_NAMESPACE = WIND_PRESS::REST_NAMESPACE;
19 - protected function permission_callback(WP_REST_Request $wprestRequest) : bool
19 + protected function permission_callback(WP_REST_Request $wprestRequest): bool
20 20 {
21 - return \wp_verify_nonce($wprestRequest->get_header('X-WP-Nonce'), 'wp_rest') && \current_user_can('manage_options');
21 + return wp_verify_nonce($wprestRequest->get_header('X-WP-Nonce'), 'wp_rest') && current_user_can('manage_options');
22 22 }
23 23 }