Plugin Directory

Changeset 3320293


Ignore:
Timestamp:
07/01/2025 04:51:03 AM (8 months ago)
Author:
wpmessiah
Message:

fix sime minor issues

Location:
ai-image-alt-text-generator-for-wp
Files:
352 added
6 edited

Legend:

Unmodified
Added
Removed
  • ai-image-alt-text-generator-for-wp/trunk/README.txt

    r3318849 r3320293  
    44Requires at least: 5.0
    55Tested up to: 6.8
    6 Stable tag: 1.1.4
     6Stable tag: 1.1.5
    77Requires PHP: 7.0
    88License: GPLv2 or later
     
    171171Bulk generation has been further optimized
    172172Mail notification has been added after bulk generation completes
     173
     174= 1.1.5 – 01 July 2025 =
     175Fix some minor issues
  • ai-image-alt-text-generator-for-wp/trunk/boomdevs-ai-image-alt-text-generator.php

    r3318849 r3320293  
    1919 * Plugin URI:        https://aialttextgenerator.com/
    2020 * Description:       Effortlessly generate descriptive alt text for images using AI within your WordPress website.
    21  * Version:           1.1.4
     21 * Version:           1.1.5
    2222 * Author:            WP Messiah
    2323 * Author URI:        https://wpmessiah.com/
     
    4040
    4141
    42 define('BDAIATG_AI_IMAGE_ALT_TEXT_GENERATOR_VERSION', '1.1.4');
     42define('BDAIATG_AI_IMAGE_ALT_TEXT_GENERATOR_VERSION', '1.1.5');
    4343define('BDAIATG_AI_IMAGE_ALT_TEXT_GENERATOR_PATH', plugin_dir_path(__FILE__));
    4444define('BDAIATG_AI_IMAGE_ALT_TEXT_GENERATOR_URL', plugin_dir_url(__FILE__));
  • ai-image-alt-text-generator-for-wp/trunk/changelog.txt

    r3318849 r3320293  
    4747Bulk generation has been further optimized
    4848Mail notification has been added after bulk generation completes
     49
     50= 1.1.5 – 01 July 2025 =
     51Fix some minor issues
  • ai-image-alt-text-generator-for-wp/trunk/includes/class-boomdevs-ai-image-alt-text-generator-text.php

    r3309641 r3320293  
    5656        $image_title        = isset( $_REQUEST['image_title'] ) ? sanitize_text_field( $_REQUEST['image_title'] ) : '';
    5757        $image_caption      = isset( $_REQUEST['image_caption'] ) ? sanitize_text_field( $_REQUEST['image_caption'] ) : '';
    58         $image_description  = isset( $_REQUEST['image_description'] ) ? sanitize_textarea_field( $_REQUEST['image_description'] ) : '';
    59         $image_description_enable  = isset( $_REQUEST['bdaiatg_alt_description'] ) ? sanitize_textarea_field( $_REQUEST['bdaiatg_alt_description'] ) : '';
     58        $image_description  = isset( $_REQUEST['image_description'] ) ? sanitize_text_field( $_REQUEST['image_description'] ) : '';
     59        $image_description_enable  = isset( $_REQUEST['bdaiatg_alt_description'] ) ? sanitize_text_field( $_REQUEST['bdaiatg_alt_description'] ) : '';
    6060        $focus_keyword = isset( $_REQUEST['focus_keyword'] ) ? sanitize_text_field( $_REQUEST['focus_keyword'] ) : '';
    6161
     
    128128        $image_caption = isset($settings['bdaiatg_alt_text_image_wrapper']['bdaiatg_alt_text_image_caption']) ? $settings['bdaiatg_alt_text_image_wrapper']['bdaiatg_alt_text_image_caption'] : '';
    129129        $image_description = isset($settings['bdaiatg_alt_text_image_wrapper']['bdaiatg_alt_text_image_description']) ? $settings['bdaiatg_alt_text_image_wrapper']['bdaiatg_alt_text_image_description'] : '';
    130         $image_description_enable  = isset( $settings['bdaiatg_alt_description'] ) ? sanitize_textarea_field( $settings['bdaiatg_alt_description'] ) : '';
     130        $image_description_enable  = isset( $settings['bdaiatg_alt_description'] ) ? sanitize_text_field( $settings['bdaiatg_alt_description'] ) : '';
    131131        $alt_text_length = isset($settings['bdaiatg_alt_text_length']) ? $settings['bdaiatg_alt_text_length'] : '';
    132132        $focus_keyword = isset($_REQUEST['focus_keyword']) ? $_REQUEST['focus_keyword'] : '';
     
    225225                'image_suffix'  => $image_suffix,
    226226                'image_prefix'  => $image_prefix,
    227                 'bdaiatg_alt_description' => $image_description_enable,
     227                // 'bdaiatg_alt_description' => $image_description_enable,
    228228                'bdaiatg_alt_text_length' => $alt_text_length
    229229            ];
     
    331331        $image_description = isset($settings['bdaiatg_alt_text_image_wrapper']['bdaiatg_alt_text_image_description']) ? $settings['bdaiatg_alt_text_image_wrapper']['bdaiatg_alt_text_image_description'] : '';
    332332        $alt_text_length = isset($settings['bdaiatg_alt_text_length']) ? $settings['bdaiatg_alt_text_length'] : '';
    333         $image_description_enable  = isset( $settings['bdaiatg_alt_description'] ) ? sanitize_textarea_field( $settings['bdaiatg_alt_description'] ) : '';
     333        $image_description_enable  = isset( $settings['bdaiatg_alt_description'] ) ? sanitize_text_field( $settings['bdaiatg_alt_description'] ) : '';
    334334        $focus_keyword = isset($_REQUEST['focus_keyword']) ? $_REQUEST['focus_keyword'] : '';
    335335        $attachment = $_REQUEST['attachment'];
     
    383383            'focus_keyword'  => $focus_keyword,
    384384            'image_prefix'  => $image_prefix,
    385             'bdaiatg_alt_description' => $image_description_enable,
     385            // 'bdaiatg_alt_description' => $image_description_enable,
    386386            'bdaiatg_alt_text_length' => $alt_text_length
    387387        ];
     
    467467            $image_description = isset($settings['bdaiatg_alt_text_image_wrapper']['bdaiatg_alt_text_image_description']) ? $settings['bdaiatg_alt_text_image_wrapper']['bdaiatg_alt_text_image_description'] : '';
    468468            $alt_text_length = isset($settings['bdaiatg_alt_text_length']) ? $settings['bdaiatg_alt_text_length'] : '';
    469             $image_description_enable  = isset( $settings['bdaiatg_alt_description'] ) ? sanitize_textarea_field( $settings['bdaiatg_alt_description'] ) : '';
     469            $image_description_enable  = isset( $settings['bdaiatg_alt_description'] ) ? sanitize_text_field( $settings['bdaiatg_alt_description'] ) : '';
    470470
    471471            $attachment_url = wp_get_attachment_url($attachment_id);
  • ai-image-alt-text-generator-for-wp/trunk/includes/class-boomdevs-ai-image-alt-text-generator.php

    r3318849 r3320293  
    7171            $this->version = BDAIATG_AI_IMAGE_ALT_TEXT_GENERATOR_VERSION;
    7272        } else {
    73             $this->version = '1.0.8';
     73            $this->version = '1.1.5';
    7474        }
    7575        $this->plugin_name = 'ai-image-alt-text-generator-for-wp';
  • ai-image-alt-text-generator-for-wp/trunk/includes/class-boomdevs-ai-image-alt-text-image-generator-update-history.php

    r3318849 r3320293  
    99    public static function store($args = array())
    1010    {
    11         if (!current_user_can('manage_options')) {
    12             wp_send_json_error(array(
    13                 'message' => 'Permission denied!',
    14             ));
    15             return false;
    16         }
     11        // if (!current_user_can('manage_options')) {
     12        //     wp_send_json_error(array(
     13        //         'message' => 'Permission denied!',
     14        //     ));
     15        //     return false;
     16        // }
    1717        global $wpdb;
    1818
Note: See TracChangeset for help on using the changeset viewer.