Changeset 3398845
- Timestamp:
- 11/19/2025 10:57:15 AM (4 months ago)
- Location:
- quickcreator
- Files:
-
- 3 edited
- 22 copied
-
tags/0.1.19 (copied) (copied from quickcreator/trunk)
-
tags/0.1.19/assets/css/components.css (copied) (copied from quickcreator/trunk/assets/css/components.css)
-
tags/0.1.19/assets/fonts (copied) (copied from quickcreator/trunk/assets/fonts)
-
tags/0.1.19/includes/admin/class-quickcreator-admin.php (copied) (copied from quickcreator/trunk/includes/admin/class-quickcreator-admin.php)
-
tags/0.1.19/includes/admin/class-quickcreator-settings.php (copied) (copied from quickcreator/trunk/includes/admin/class-quickcreator-settings.php)
-
tags/0.1.19/includes/class-quickcreatorblog.php (copied) (copied from quickcreator/trunk/includes/class-quickcreatorblog.php)
-
tags/0.1.19/includes/forms/class-quickcreator-form-config-ci.php (copied) (copied from quickcreator/trunk/includes/forms/class-quickcreator-form-config-ci.php)
-
tags/0.1.19/includes/forms/class-quickcreator-form.php (copied) (copied from quickcreator/trunk/includes/forms/class-quickcreator-form.php)
-
tags/0.1.19/includes/forms/fields/class-quickcreator-form-element-header.php (copied) (copied from quickcreator/trunk/includes/forms/fields/class-quickcreator-form-element-header.php)
-
tags/0.1.19/includes/forms/fields/class-quickcreator-form-element-multichoice.php (copied) (copied from quickcreator/trunk/includes/forms/fields/class-quickcreator-form-element-multichoice.php)
-
tags/0.1.19/includes/forms/fields/class-quickcreator-form-element-select.php (copied) (copied from quickcreator/trunk/includes/forms/fields/class-quickcreator-form-element-select.php)
-
tags/0.1.19/includes/functions.php (copied) (copied from quickcreator/trunk/includes/functions.php)
-
tags/0.1.19/includes/quickcreator/class-content-importer.php (copied) (copied from quickcreator/trunk/includes/quickcreator/class-content-importer.php)
-
tags/0.1.19/includes/quickcreator/class-quickcreator.php (copied) (copied from quickcreator/trunk/includes/quickcreator/class-quickcreator.php) (2 diffs)
-
tags/0.1.19/includes/quickcreator/content-parsers/class-classic-editor-parser.php (copied) (copied from quickcreator/trunk/includes/quickcreator/content-parsers/class-classic-editor-parser.php)
-
tags/0.1.19/includes/quickcreator/content-parsers/class-content-parser.php (copied) (copied from quickcreator/trunk/includes/quickcreator/content-parsers/class-content-parser.php)
-
tags/0.1.19/includes/quickcreator/content-parsers/class-elementor-parser.php (copied) (copied from quickcreator/trunk/includes/quickcreator/content-parsers/class-elementor-parser.php)
-
tags/0.1.19/includes/quickcreator/content-parsers/class-gutenberg-parser.php (copied) (copied from quickcreator/trunk/includes/quickcreator/content-parsers/class-gutenberg-parser.php)
-
tags/0.1.19/includes/quickcreator/content-parsers/class-parsers-controller.php (copied) (copied from quickcreator/trunk/includes/quickcreator/content-parsers/class-parsers-controller.php)
-
tags/0.1.19/quickcreator.php (copied) (copied from quickcreator/trunk/quickcreator.php) (2 diffs)
-
tags/0.1.19/readme.txt (copied) (copied from quickcreator/trunk/readme.txt) (1 diff)
-
tags/0.1.19/templates/admin/settings.php (copied) (copied from quickcreator/trunk/templates/admin/settings.php)
-
trunk/includes/quickcreator/class-quickcreator.php (modified) (2 diffs)
-
trunk/quickcreator.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
quickcreator/tags/0.1.19/includes/quickcreator/class-quickcreator.php
r3383697 r3398845 225 225 register_rest_route( 226 226 'quickcreatorblog/v1', 227 '/change_post_status/', 228 array( 229 'methods' => 'POST', 230 'callback' => array($this, 'quickcreator_change_post_status'), 231 'permission_callback' => function ($request) { 232 return $this->verify_request_permission($request); 233 }, 234 'args' => array(), 235 ) 236 ); 237 238 register_rest_route( 239 'quickcreatorblog/v1', 227 240 '/version/', 228 241 array( … … 941 954 ); 942 955 } 956 } 957 958 /** 959 * Change post status 960 * 961 * @param WP_REST_Request $request - request object. 962 * @return WP_REST_Response 963 * 964 */ 965 public function quickcreator_change_post_status($request) 966 { 967 $post_id = $request->get_param('post_id'); 968 $status = $request->get_param('status'); 969 wp_update_post(array('ID' => $post_id, 'post_status' => $status)); 970 return new WP_REST_Response(array( 971 'post_id' => $post_id, 972 'post_status' => $status, 973 )); 943 974 } 944 975 -
quickcreator/tags/0.1.19/quickcreator.php
r3383697 r3398845 4 4 * Plugin URI: https://wordpress.org/plugins/quickcreator/ 5 5 * Description: Create post with Quickcreator in WordPress 6 * Version: 0.1.1 86 * Version: 0.1.19 7 7 * Author: Quickcreator 8 8 * Author URI: https://quickcreator.io … … 22 22 23 23 if ( ! defined( 'QUICKCREATOR_BLOG_VERSION' ) ) { 24 define( 'QUICKCREATOR_BLOG_VERSION', '0.1.1 8' );24 define( 'QUICKCREATOR_BLOG_VERSION', '0.1.19' ); 25 25 } 26 26 -
quickcreator/tags/0.1.19/readme.txt
r3383697 r3398845 5 5 Requires PHP: 7.4 6 6 Tested up to: 6.8.1 7 Stable tag: 0.1.1 87 Stable tag: 0.1.19 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html -
quickcreator/trunk/includes/quickcreator/class-quickcreator.php
r3383697 r3398845 225 225 register_rest_route( 226 226 'quickcreatorblog/v1', 227 '/change_post_status/', 228 array( 229 'methods' => 'POST', 230 'callback' => array($this, 'quickcreator_change_post_status'), 231 'permission_callback' => function ($request) { 232 return $this->verify_request_permission($request); 233 }, 234 'args' => array(), 235 ) 236 ); 237 238 register_rest_route( 239 'quickcreatorblog/v1', 227 240 '/version/', 228 241 array( … … 941 954 ); 942 955 } 956 } 957 958 /** 959 * Change post status 960 * 961 * @param WP_REST_Request $request - request object. 962 * @return WP_REST_Response 963 * 964 */ 965 public function quickcreator_change_post_status($request) 966 { 967 $post_id = $request->get_param('post_id'); 968 $status = $request->get_param('status'); 969 wp_update_post(array('ID' => $post_id, 'post_status' => $status)); 970 return new WP_REST_Response(array( 971 'post_id' => $post_id, 972 'post_status' => $status, 973 )); 943 974 } 944 975 -
quickcreator/trunk/quickcreator.php
r3383697 r3398845 4 4 * Plugin URI: https://wordpress.org/plugins/quickcreator/ 5 5 * Description: Create post with Quickcreator in WordPress 6 * Version: 0.1.1 86 * Version: 0.1.19 7 7 * Author: Quickcreator 8 8 * Author URI: https://quickcreator.io … … 22 22 23 23 if ( ! defined( 'QUICKCREATOR_BLOG_VERSION' ) ) { 24 define( 'QUICKCREATOR_BLOG_VERSION', '0.1.1 8' );24 define( 'QUICKCREATOR_BLOG_VERSION', '0.1.19' ); 25 25 } 26 26 -
quickcreator/trunk/readme.txt
r3383697 r3398845 5 5 Requires PHP: 7.4 6 6 Tested up to: 6.8.1 7 Stable tag: 0.1.1 87 Stable tag: 0.1.19 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html
Note: See TracChangeset
for help on using the changeset viewer.