Add configurable API rate limits with subtabs in settings (v0.10.0)
- Make rate limiting configurable via WordPress options - Add subtabs to API settings: General, Rate Limits, Endpoints - Add HTTP method badges for endpoint documentation - Update CHANGELOG with rate limiting configuration details Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -491,6 +491,37 @@
|
||||
height: 16px;
|
||||
}
|
||||
|
||||
/* API Method Badges */
|
||||
.wp-bnb-method {
|
||||
display: inline-block;
|
||||
padding: 2px 8px;
|
||||
border-radius: 3px;
|
||||
font-size: 11px;
|
||||
font-weight: 600;
|
||||
text-transform: uppercase;
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||
}
|
||||
|
||||
.wp-bnb-method.get {
|
||||
background: #e7f5e7;
|
||||
color: #1e7e1e;
|
||||
}
|
||||
|
||||
.wp-bnb-method.post {
|
||||
background: #e7f0f5;
|
||||
color: #1e5f7e;
|
||||
}
|
||||
|
||||
.wp-bnb-method.patch {
|
||||
background: #f5f0e7;
|
||||
color: #7e5f1e;
|
||||
}
|
||||
|
||||
.wp-bnb-method.delete {
|
||||
background: #f5e7e7;
|
||||
color: #7e1e1e;
|
||||
}
|
||||
|
||||
/* Form Tables */
|
||||
.form-table th {
|
||||
width: 200px;
|
||||
|
||||
Reference in New Issue
Block a user