آیکن Disable REST API
افزونه رایگان نسخه 1.8

Disable REST API

توسعه‌دهنده: Dave McHale

توضیحات

Disable the use of the REST API on your website to site users. Now with User Role support!

تغییرات این نسخه

1.8

Tested up to WP v6.3

Added dra_error_message filter so devs can customize the access error message

Fixed bug that caused fatal errors if activating plugin on installations running the LearnPress plugin

Changed minimum requirements to PHP 5.6 (up from 5.3) and WordPress 4.9 (up from 4.4). Adding docblock comments to support minimums.

1.7

Tested up to WP v5.8

Replace use of filemtime() with plugin version number for static file enqueues. Props @tangrufus for bringing this up!

Fixed logic bug for role-based default_allow rules. Props @msp1974 for the report!

Few small code-style updates

1.6

Tested up to WP v5.6

Added support for managing endpoint access on a per-user-role basis

Soooooooo many small changes behind the scenes to support the above

1.5.1

Tested up to WP v5.5

1.5

Tested up to WP v5.3

Added enforcement for WordPress and PHP minimum version requirements

Fixed minor bug to prevent unintended empty routes

Minor text updates and adding textdomain to translation functions that didn’t have them

1.4.3

Added load_plugin_textdomain() for i18n

1.4.2

Fixed issue causing unintentional unlocking of endpoints when another WP_Error existed before this plugin did its job

1.4.1

Fixed echo of text URL to primary Plugins page in WP Dashboard

1.4

Tested for WP v4.8

Tested for PHP 5.3+

Added settings screen

Site Admins may now whitelist routes that they wish to allow unauthenticated access to

Added dra_allow_rest_api filter to the is_logged_in() check,