Plugin Directory

Changeset 3382260


Ignore:
Timestamp:
10/22/2025 02:22:10 AM (5 months ago)
Author:
quickcreator
Message:

update to 0.1.17

Location:
quickcreator
Files:
4 edited
22 copied

Legend:

Unmodified
Added
Removed
  • quickcreator/tags/0.1.17/includes/quickcreator/class-quickcreator.php

    r3369497 r3382260  
    932932            return new WP_REST_Response(
    933933                array(
    934                     'error'       => __('An exception occurred', 'your-text-domain'),
     934                    'error'       => __('An exception occurred', 'quickcreator'),
    935935                    'message'     => $e->getMessage(),
    936936                    'code'        => $e->getCode(),
  • quickcreator/tags/0.1.17/includes/quickcreator/content-parsers/class-content-parser.php

    r3369497 r3382260  
    178178
    179179        $attachment_id = media_handle_sideload($file_array);
     180
     181        if (is_wp_error($attachment_id)) {
     182            throw new \Exception('Image upload failed: ' . $attachment_id->get_error_message());
     183        }
     184
    180185        update_post_meta($attachment_id, 'quickcreator_file_name', $file_name);
    181186        @unlink($tmp_directory); // phpcs:ignore
  • quickcreator/tags/0.1.17/quickcreator.php

    r3369497 r3382260  
    44 * Plugin URI: https://wordpress.org/plugins/quickcreator/
    55 * Description: Create post with Quickcreator in WordPress
    6  * Version: 0.1.16
     6 * Version: 0.1.17
    77 * Author: Quickcreator
    88 * Author URI: https://quickcreator.io
     
    2222
    2323if ( ! defined( 'QUICKCREATOR_BLOG_VERSION' ) ) {
    24     define( 'QUICKCREATOR_BLOG_VERSION', '0.1.16' );
     24    define( 'QUICKCREATOR_BLOG_VERSION', '0.1.17' );
    2525}
    2626
  • quickcreator/tags/0.1.17/readme.txt

    r3369497 r3382260  
    55Requires PHP: 7.4
    66Tested up to: 6.8.1
    7 Stable tag: 0.1.16
     7Stable tag: 0.1.17
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
  • quickcreator/trunk/includes/quickcreator/class-quickcreator.php

    r3369497 r3382260  
    932932            return new WP_REST_Response(
    933933                array(
    934                     'error'       => __('An exception occurred', 'your-text-domain'),
     934                    'error'       => __('An exception occurred', 'quickcreator'),
    935935                    'message'     => $e->getMessage(),
    936936                    'code'        => $e->getCode(),
  • quickcreator/trunk/includes/quickcreator/content-parsers/class-content-parser.php

    r3369497 r3382260  
    178178
    179179        $attachment_id = media_handle_sideload($file_array);
     180
     181        if (is_wp_error($attachment_id)) {
     182            throw new \Exception('Image upload failed: ' . $attachment_id->get_error_message());
     183        }
     184
    180185        update_post_meta($attachment_id, 'quickcreator_file_name', $file_name);
    181186        @unlink($tmp_directory); // phpcs:ignore
  • quickcreator/trunk/quickcreator.php

    r3369497 r3382260  
    44 * Plugin URI: https://wordpress.org/plugins/quickcreator/
    55 * Description: Create post with Quickcreator in WordPress
    6  * Version: 0.1.16
     6 * Version: 0.1.17
    77 * Author: Quickcreator
    88 * Author URI: https://quickcreator.io
     
    2222
    2323if ( ! defined( 'QUICKCREATOR_BLOG_VERSION' ) ) {
    24     define( 'QUICKCREATOR_BLOG_VERSION', '0.1.16' );
     24    define( 'QUICKCREATOR_BLOG_VERSION', '0.1.17' );
    2525}
    2626
  • quickcreator/trunk/readme.txt

    r3369497 r3382260  
    55Requires PHP: 7.4
    66Tested up to: 6.8.1
    7 Stable tag: 0.1.16
     7Stable tag: 0.1.17
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
Note: See TracChangeset for help on using the changeset viewer.