Changeset 2164883
- Timestamp:
- 09/28/2019 02:45:18 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
disable-wp-json-rest-api/trunk/readme.txt
r2164851 r2164883 52 52 "rest_login_required: REST API restricted to authenticated users." 53 53 54 This message may customized via the filter hook, `disable_wp_rest_api_error`.54 This message may customized via the filter hook, . 55 55 56 56 … … 58 58 59 59 For WordPress versions less than 4.7, this plugin simply disables all REST API functionality for all users. 60 61 More information available below in the FAQs section.62 60 63 61 … … 71 69 == Screenshots == 72 70 73 1. What non-logged visitors see when requesting JSON/REST API74 2. What logged-in users see when requesting JSON/REST API71 1. What rs see when requesting JSON/REST API 72 2. What rs see when requesting JSON/REST API 75 73 76 74 … … 79 77 **How to Install** 80 78 81 1. Upload the plugin to your blog and activate 82 2. Done! No further configuration is required. 83 79 1. Upload the plugin to your wordpress and activate 80 2. Done! No extra configuration is required. 84 81 85 82 **Testing** 86 83 87 To test that the plugin is working, log out of WordPress and then request `https://examples.com/wp-json/` in a browser. See FAQs for more infos. 88 84 To test that the plugin is working, log out of WordPress and then request 'https://examples.com/wp-json/' in a browser. 89 85 90 86 == Upgrade Notice == … … 93 89 94 90 Note: this plugin does not add anything to your WP database. 95 96 91 97 92 == Frequently Asked Questions == … … 112 107 113 108 1. Log out of WordPress 114 2. Using a browser, request `https://examples.com/wp-json/`109 2. Using a browser, request 115 110 116 111 If you see the following message, REST is disabled: … … 118 113 "rest_login_required: REST API restricted to authenticated users." 119 114 120 Then if you log back in and make a new request for `https://examples.com/wp-json/`, you will see that REST is working normally.115 Then if you log back in and make a new request for , you will see that REST is working normally. 121 116 122 117
Note: See TracChangeset
for help on using the changeset viewer.