PluginProbe
BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot / 4.9.2
BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot v4.9.2
4.9.2 4.9.1 4.9.0 4.8.2 4.8.1 4.8.0 4.7.0 4.6.2 4.6.1 4.6.0 4.5.6 4.5.5 4.5.4 4.5.3 4.5.2 4.5.1 4.5.0 4.4.1 4.4.0 3.3.4 3.4.0 3.4.1 3.4.2 3.5.0 3.5.1 All 200 releases
← All changes | includes/REST/AIEdit.php +2 -2 4.7.04.9.2 View file →
@@ -54,9 +54,9 @@
54 54 }
55 55
56 56 public function permission_check() {
57 57 // Gate on edit_others_posts to match the sibling FAQ/Glossary AI endpoints
58 - // (AIFaq/AIGlossary) and keep Author-role users from spending the OpenAI budget.
58 + // (AIFaq/AIGlossary) and keep Author-role users from spending the AI budget.
59 59 return current_user_can( 'edit_others_posts' );
60 60 }
61 61
62 62 public function generate( WP_REST_Request $request ) {
@@ -73,9 +73,9 @@
73 73 $api_key = $write_ai->get_api_key();
74 74 if ( empty( $api_key ) ) {
75 75 return $this->error(
76 76 'ai_no_key',
77 - __( 'OpenAI API key is missing. Add one in BetterDocs settings.', 'betterdocs' ),
77 + __( 'AI API key is missing. Add one in BetterDocs settings.', 'betterdocs' ),
78 78 400
79 79 );
80 80 }
81 81