Changeset 3383697
- Timestamp:
- 10/24/2025 02:18:36 AM (5 months ago)
- Location:
- quickcreator
- Files:
-
- 5 edited
- 22 copied
-
tags/0.1.18 (copied) (copied from quickcreator/trunk)
-
tags/0.1.18/assets/css/components.css (copied) (copied from quickcreator/trunk/assets/css/components.css)
-
tags/0.1.18/assets/fonts (copied) (copied from quickcreator/trunk/assets/fonts)
-
tags/0.1.18/includes/admin/class-quickcreator-admin.php (copied) (copied from quickcreator/trunk/includes/admin/class-quickcreator-admin.php) (2 diffs)
-
tags/0.1.18/includes/admin/class-quickcreator-settings.php (copied) (copied from quickcreator/trunk/includes/admin/class-quickcreator-settings.php)
-
tags/0.1.18/includes/class-quickcreatorblog.php (copied) (copied from quickcreator/trunk/includes/class-quickcreatorblog.php)
-
tags/0.1.18/includes/forms/class-quickcreator-form-config-ci.php (copied) (copied from quickcreator/trunk/includes/forms/class-quickcreator-form-config-ci.php)
-
tags/0.1.18/includes/forms/class-quickcreator-form.php (copied) (copied from quickcreator/trunk/includes/forms/class-quickcreator-form.php)
-
tags/0.1.18/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.18/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.18/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.18/includes/functions.php (copied) (copied from quickcreator/trunk/includes/functions.php)
-
tags/0.1.18/includes/quickcreator/class-content-importer.php (copied) (copied from quickcreator/trunk/includes/quickcreator/class-content-importer.php)
-
tags/0.1.18/includes/quickcreator/class-quickcreator.php (copied) (copied from quickcreator/trunk/includes/quickcreator/class-quickcreator.php) (1 diff)
-
tags/0.1.18/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.18/includes/quickcreator/content-parsers/class-content-parser.php (copied) (copied from quickcreator/trunk/includes/quickcreator/content-parsers/class-content-parser.php) (2 diffs)
-
tags/0.1.18/includes/quickcreator/content-parsers/class-elementor-parser.php (copied) (copied from quickcreator/trunk/includes/quickcreator/content-parsers/class-elementor-parser.php)
-
tags/0.1.18/includes/quickcreator/content-parsers/class-gutenberg-parser.php (copied) (copied from quickcreator/trunk/includes/quickcreator/content-parsers/class-gutenberg-parser.php)
-
tags/0.1.18/includes/quickcreator/content-parsers/class-parsers-controller.php (copied) (copied from quickcreator/trunk/includes/quickcreator/content-parsers/class-parsers-controller.php)
-
tags/0.1.18/quickcreator.php (copied) (copied from quickcreator/trunk/quickcreator.php) (2 diffs)
-
tags/0.1.18/readme.txt (copied) (copied from quickcreator/trunk/readme.txt) (1 diff)
-
tags/0.1.18/templates/admin/settings.php (copied) (copied from quickcreator/trunk/templates/admin/settings.php)
-
trunk/includes/admin/class-quickcreator-admin.php (modified) (2 diffs)
-
trunk/includes/quickcreator/class-quickcreator.php (modified) (1 diff)
-
trunk/includes/quickcreator/content-parsers/class-content-parser.php (modified) (2 diffs)
-
trunk/quickcreator.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
quickcreator/tags/0.1.18/includes/admin/class-quickcreator-admin.php
r3250322 r3383697 140 140 private function get_debug_data() 141 141 { 142 // read content from file /dupasrala.txt143 $dupasrala = file_get_contents(Quickcreator()->get_basedir() . '/dupasrala.txt');144 142 $error_log = file_get_contents(Quickcreator()->get_basedir() . '/error.log'); 145 143 $wp_token = get_transient('quickcreator_connection_token'); … … 150 148 $content .= 'QUICKCREATOR API KEY: ' . get_option('quickcreator_api_access_key', false) . PHP_EOL . PHP_EOL; 151 149 $content .= 'QUICKCREATOR CONNECTION TOKEN: ' . $wp_token . PHP_EOL . PHP_EOL; 152 $content .= 'QUICKCREATOR DUPASRALA: ' . $dupasrala . PHP_EOL . PHP_EOL;153 150 $content .= 'QUICKCREATOR ORGANIZATION: ' . print_r(get_option('quickcreator_connection_details', null), true) . PHP_EOL . PHP_EOL; 154 151 $content .= 'QUICKCREATOR VERSION NOW: ' . QUICKCREATOR_BLOG_VERSION . PHP_EOL . PHP_EOL; -
quickcreator/tags/0.1.18/includes/quickcreator/class-quickcreator.php
r3382260 r3383697 605 605 } 606 606 607 file_put_contents(Quickcreator()->get_basedir() . '/dupasrala.txt', $received_token . ' - ' . $saved_token);608 607 return false; 609 608 } -
quickcreator/tags/0.1.18/includes/quickcreator/content-parsers/class-content-parser.php
r3382260 r3383697 138 138 $tmp_directory = download_url($image_url); 139 139 if (is_wp_error($tmp_directory)) { 140 throw new \Exception('Image download failed: ' . $tmp_directory->get_error_message()); 140 throw new \Exception( 141 sprintf( 142 'Image download failed [%s]: %s | Data: %s', 143 $tmp_directory->get_error_code(), 144 $tmp_directory->get_error_message(), 145 json_encode($tmp_directory->get_error_data(), JSON_UNESCAPED_UNICODE) 146 ) 147 ); 141 148 } 142 149 $content_type = ""; … … 180 187 181 188 if (is_wp_error($attachment_id)) { 182 throw new \Exception('Image upload failed: ' . $attachment_id->get_error_message()); 189 throw new \Exception( 190 sprintf( 191 'Image upload failed [%s]: %s | Data: %s', 192 $attachment_id->get_error_code(), 193 $attachment_id->get_error_message(), 194 json_encode($attachment_id->get_error_data(), JSON_UNESCAPED_UNICODE) 195 ) 196 ); 183 197 } 184 198 -
quickcreator/tags/0.1.18/quickcreator.php
r3382260 r3383697 4 4 * Plugin URI: https://wordpress.org/plugins/quickcreator/ 5 5 * Description: Create post with Quickcreator in WordPress 6 * Version: 0.1.1 76 * Version: 0.1.18 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 7' );24 define( 'QUICKCREATOR_BLOG_VERSION', '0.1.18' ); 25 25 } 26 26 -
quickcreator/tags/0.1.18/readme.txt
r3382260 r3383697 5 5 Requires PHP: 7.4 6 6 Tested up to: 6.8.1 7 Stable tag: 0.1.1 77 Stable tag: 0.1.18 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html -
quickcreator/trunk/includes/admin/class-quickcreator-admin.php
r3250322 r3383697 140 140 private function get_debug_data() 141 141 { 142 // read content from file /dupasrala.txt143 $dupasrala = file_get_contents(Quickcreator()->get_basedir() . '/dupasrala.txt');144 142 $error_log = file_get_contents(Quickcreator()->get_basedir() . '/error.log'); 145 143 $wp_token = get_transient('quickcreator_connection_token'); … … 150 148 $content .= 'QUICKCREATOR API KEY: ' . get_option('quickcreator_api_access_key', false) . PHP_EOL . PHP_EOL; 151 149 $content .= 'QUICKCREATOR CONNECTION TOKEN: ' . $wp_token . PHP_EOL . PHP_EOL; 152 $content .= 'QUICKCREATOR DUPASRALA: ' . $dupasrala . PHP_EOL . PHP_EOL;153 150 $content .= 'QUICKCREATOR ORGANIZATION: ' . print_r(get_option('quickcreator_connection_details', null), true) . PHP_EOL . PHP_EOL; 154 151 $content .= 'QUICKCREATOR VERSION NOW: ' . QUICKCREATOR_BLOG_VERSION . PHP_EOL . PHP_EOL; -
quickcreator/trunk/includes/quickcreator/class-quickcreator.php
r3382260 r3383697 605 605 } 606 606 607 file_put_contents(Quickcreator()->get_basedir() . '/dupasrala.txt', $received_token . ' - ' . $saved_token);608 607 return false; 609 608 } -
quickcreator/trunk/includes/quickcreator/content-parsers/class-content-parser.php
r3382260 r3383697 138 138 $tmp_directory = download_url($image_url); 139 139 if (is_wp_error($tmp_directory)) { 140 throw new \Exception('Image download failed: ' . $tmp_directory->get_error_message()); 140 throw new \Exception( 141 sprintf( 142 'Image download failed [%s]: %s | Data: %s', 143 $tmp_directory->get_error_code(), 144 $tmp_directory->get_error_message(), 145 json_encode($tmp_directory->get_error_data(), JSON_UNESCAPED_UNICODE) 146 ) 147 ); 141 148 } 142 149 $content_type = ""; … … 180 187 181 188 if (is_wp_error($attachment_id)) { 182 throw new \Exception('Image upload failed: ' . $attachment_id->get_error_message()); 189 throw new \Exception( 190 sprintf( 191 'Image upload failed [%s]: %s | Data: %s', 192 $attachment_id->get_error_code(), 193 $attachment_id->get_error_message(), 194 json_encode($attachment_id->get_error_data(), JSON_UNESCAPED_UNICODE) 195 ) 196 ); 183 197 } 184 198 -
quickcreator/trunk/quickcreator.php
r3382260 r3383697 4 4 * Plugin URI: https://wordpress.org/plugins/quickcreator/ 5 5 * Description: Create post with Quickcreator in WordPress 6 * Version: 0.1.1 76 * Version: 0.1.18 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 7' );24 define( 'QUICKCREATOR_BLOG_VERSION', '0.1.18' ); 25 25 } 26 26 -
quickcreator/trunk/readme.txt
r3382260 r3383697 5 5 Requires PHP: 7.4 6 6 Tested up to: 6.8.1 7 Stable tag: 0.1.1 77 Stable tag: 0.1.18 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.