Changeset 3457988
- Timestamp:
- 02/10/2026 12:05:32 PM (10 days ago)
- Location:
- contentpen
- Files:
-
- 6 edited
- 1 copied
-
tags/1.0.9 (copied) (copied from contentpen/trunk)
-
tags/1.0.9/README.txt (modified) (3 diffs)
-
tags/1.0.9/contentpen-plugin.php (modified) (2 diffs)
-
tags/1.0.9/includes/class-contentpen-api.php (modified) (1 diff)
-
trunk/README.txt (modified) (3 diffs)
-
trunk/contentpen-plugin.php (modified) (2 diffs)
-
trunk/includes/class-contentpen-api.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
contentpen/tags/1.0.9/README.txt
r3455197 r3457988 3 3 Tags: AI, content writing, SEO, blogging, content marketing 4 4 Requires at least: 5.8 5 Tested up to: 6. 76 Stable tag: 1.0. 85 Tested up to: 6.9.1 6 Stable tag: 1.0.9 7 7 Requires PHP: 7.4 8 8 License: GPLv2 or later … … 55 55 == Changelog == 56 56 57 = 1.0.9 = 58 * Fixed REST API route registration for posts endpoint to prevent routing conflicts 59 57 60 = 1.0.8 = 58 61 * Added fallback regex-based conversion for servers without php-xml extension … … 70 73 == Upgrade Notice == 71 74 75 = 1.0.9 = 76 * Fixed REST API route registration for posts endpoint to prevent routing conflicts 77 72 78 = 1.0.8 = 73 79 * Added fallback regex-based conversion for servers without php-xml extension -
contentpen/tags/1.0.9/contentpen-plugin.php
r3455197 r3457988 5 5 * Plugin URI: https://contentpen.ai 6 6 * Description: Contentpen is an AI-powered content writing assistant designed to help businesses create, optimize, and publish SEO-friendly blog posts at scale. By combining deep research with your brand's unique voice, Contentpen crafts high-impact articles that outperform your competition. 7 * Version: 1.0. 87 * Version: 1.0.9 8 8 * Requires at least: 5.8 9 9 * Requires PHP: 7.4 … … 20 20 } 21 21 22 define('CONTENTPEN_VERSION', '1.0. 8');22 define('CONTENTPEN_VERSION', '1.0.9'); 23 23 define('CONTENTPEN_PLUGIN_DIR', plugin_dir_path(__FILE__)); 24 24 define('CONTENTPEN_PLUGIN_URL', plugin_dir_url(__FILE__)); -
contentpen/tags/1.0.9/includes/class-contentpen-api.php
r3455141 r3457988 54 54 )); 55 55 56 // Create Post endpoint56 // Posts endpoint - handles both GET (list) and POST (create) 57 57 register_rest_route($this->namespace, '/posts', array( 58 'methods' => 'POST',59 'callback' => array($this, 'create_post'),60 'permission_callback' => array($this, 'check_api_key')61 ));62 63 // Get Posts endpoint64 register_rest_route($this->namespace, '/posts', array(65 'methods' => 'GET',66 'callback' => array($this, 'get_posts'),67 'permission_callback' => array($this, 'check_api_key')58 array( 59 'methods' => 'GET', 60 'callback' => array($this, 'get_posts'), 61 'permission_callback' => array($this, 'check_api_key') 62 ), 63 array( 64 'methods' => 'POST', 65 'callback' => array($this, 'create_post'), 66 'permission_callback' => array($this, 'check_api_key') 67 ) 68 68 )); 69 69 -
contentpen/trunk/README.txt
r3455197 r3457988 3 3 Tags: AI, content writing, SEO, blogging, content marketing 4 4 Requires at least: 5.8 5 Tested up to: 6. 76 Stable tag: 1.0. 85 Tested up to: 6.9.1 6 Stable tag: 1.0.9 7 7 Requires PHP: 7.4 8 8 License: GPLv2 or later … … 55 55 == Changelog == 56 56 57 = 1.0.9 = 58 * Fixed REST API route registration for posts endpoint to prevent routing conflicts 59 57 60 = 1.0.8 = 58 61 * Added fallback regex-based conversion for servers without php-xml extension … … 70 73 == Upgrade Notice == 71 74 75 = 1.0.9 = 76 * Fixed REST API route registration for posts endpoint to prevent routing conflicts 77 72 78 = 1.0.8 = 73 79 * Added fallback regex-based conversion for servers without php-xml extension -
contentpen/trunk/contentpen-plugin.php
r3455197 r3457988 5 5 * Plugin URI: https://contentpen.ai 6 6 * Description: Contentpen is an AI-powered content writing assistant designed to help businesses create, optimize, and publish SEO-friendly blog posts at scale. By combining deep research with your brand's unique voice, Contentpen crafts high-impact articles that outperform your competition. 7 * Version: 1.0. 87 * Version: 1.0.9 8 8 * Requires at least: 5.8 9 9 * Requires PHP: 7.4 … … 20 20 } 21 21 22 define('CONTENTPEN_VERSION', '1.0. 8');22 define('CONTENTPEN_VERSION', '1.0.9'); 23 23 define('CONTENTPEN_PLUGIN_DIR', plugin_dir_path(__FILE__)); 24 24 define('CONTENTPEN_PLUGIN_URL', plugin_dir_url(__FILE__)); -
contentpen/trunk/includes/class-contentpen-api.php
r3455141 r3457988 54 54 )); 55 55 56 // Create Post endpoint56 // Posts endpoint - handles both GET (list) and POST (create) 57 57 register_rest_route($this->namespace, '/posts', array( 58 'methods' => 'POST',59 'callback' => array($this, 'create_post'),60 'permission_callback' => array($this, 'check_api_key')61 ));62 63 // Get Posts endpoint64 register_rest_route($this->namespace, '/posts', array(65 'methods' => 'GET',66 'callback' => array($this, 'get_posts'),67 'permission_callback' => array($this, 'check_api_key')58 array( 59 'methods' => 'GET', 60 'callback' => array($this, 'get_posts'), 61 'permission_callback' => array($this, 'check_api_key') 62 ), 63 array( 64 'methods' => 'POST', 65 'callback' => array($this, 'create_post'), 66 'permission_callback' => array($this, 'check_api_key') 67 ) 68 68 )); 69 69
Note: See TracChangeset
for help on using the changeset viewer.