Plugin Directory

Changeset 3170423


Ignore:
Timestamp:
10/17/2024 02:50:17 AM (18 months ago)
Author:
u3kkasha
Message:

project(tags): deploy patched version 1.1.1

Location:
blogify-ai
Files:
5 edited
15 copied

Legend:

Unmodified
Added
Removed
  • blogify-ai/tags/1.1.1/README.txt

    r3170410 r3170423  
    44Requires at least: 6.0
    55Tested up to: 6.6
    6 Stable tag: 1.1.0
     6Stable tag: 1.1.1
    77Requires PHP: 7.4
    88License: GPLv2 or later
  • blogify-ai/tags/1.1.1/admin/actions/rest.php

    r3170410 r3170423  
    1515function v4uuid(): string
    1616{
    17     $a = str_pad(dechex(random_int(0x0000_0000, 0xffff_ffff)), '0', STR_PAD_LEFT);
     17    $a = str_pad(dechex(random_int(0x0000_0000, PHP_INT_MAX)), '0', STR_PAD_LEFT);
    1818    $b = str_pad(dechex(random_int(0x0000, 0xffff)), '0', STR_PAD_LEFT);
    1919    $c = dechex(random_int(0x4000, 0x4fff));
    2020    $d = dechex(random_int(0x8000, 0xbfff));
    21     $e = str_pad(dechex(random_int(0x0000_0000_0000, 0xffff_ffff_ffff)), '0', STR_PAD_LEFT);
     21    $e = str_pad(dechex(random_int(0x0000_0000_0000, PHP_INT_MAX)), '0', STR_PAD_LEFT);
    2222    return "$a-$b-$c-$d-$e";
    2323}
  • blogify-ai/tags/1.1.1/admin/ui/all-blogs.php

    r3170410 r3170423  
    1515$blogs = blogify_get_blogs($page_number, $page_size);
    1616if (
    17     $blog_id = wp_verify_nonce(sanitize_text_field(wp_unslash($_GET['blogify-pagination-nonce'] ?? null)), 'blogify-pagination') ? sanitize_text_field(wp_unslash($_POST['blog_id'])) : null
     17    $blog_id = wp_verify_nonce(sanitize_text_field(wp_unslash($_GET['blogify-pagination-nonce'] ?? null)), 'blogify-pagination') ? sanitize_text_field(wp_unslash($_POST['blog_id'] ?? null)) : null
    1818) {
    1919    $blog = blogify_fetch_blog($blog_id);
     
    6060                    if ($blogs['data']):
    6161                        foreach ($blogs['data'] as $index => $blog):
    62                             blogify_blog_item($index, $blog['_id'], $blog['title'], $blog['image'], $nonce, 'blogify-ai', $page_number);
     62                            blogify_blog_item($index, $blog['_id'], $blog['title'], $blog['image'] ?? null, $nonce, 'blogify-ai', $page_number);
    6363                        endforeach; ?>
    6464                    <?php else: ?>
  • blogify-ai/tags/1.1.1/blogify-ai.php

    r3170410 r3170423  
    1313 * Plugin URI:        https://blogify.ai/
    1414 * Description:       Seamlessly publish AI-generated blog posts from Blogify.ai to your WordPress site with ease, enhancing content management and SEO optimization in a few clicks.
    15  * Version:           1.1.0
     15 * Version:           1.1.1
    1616 * Requires at least: 6.0
    1717 * Requires PHP:      7.4
     
    3131
    3232// Constants
    33 DEFINE('BLOGIFY_VERSION', '1.1.0');
     33DEFINE('BLOGIFY_VERSION', '1.1.1');
    3434
    3535DEFINE('BLOGIFY_PLUGIN_DIR', plugin_dir_path(__FILE__));
  • blogify-ai/tags/1.1.1/changelog.md

    r3170410 r3170423  
    55The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
    66and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
     7
     8## [1.1.1] - 20240-Oct-17
     9
     10## Fixed
     11
     12- Undefined array key warnings for blog_id and blog['image'] in All Blogs Page
     13- Use system specific max number for random_int()
    714
    815## [1.1.0] - 2024-Oct-17
  • blogify-ai/trunk/README.txt

    r3170410 r3170423  
    44Requires at least: 6.0
    55Tested up to: 6.6
    6 Stable tag: 1.1.0
     6Stable tag: 1.1.1
    77Requires PHP: 7.4
    88License: GPLv2 or later
  • blogify-ai/trunk/admin/actions/rest.php

    r3170410 r3170423  
    1515function v4uuid(): string
    1616{
    17     $a = str_pad(dechex(random_int(0x0000_0000, 0xffff_ffff)), '0', STR_PAD_LEFT);
     17    $a = str_pad(dechex(random_int(0x0000_0000, PHP_INT_MAX)), '0', STR_PAD_LEFT);
    1818    $b = str_pad(dechex(random_int(0x0000, 0xffff)), '0', STR_PAD_LEFT);
    1919    $c = dechex(random_int(0x4000, 0x4fff));
    2020    $d = dechex(random_int(0x8000, 0xbfff));
    21     $e = str_pad(dechex(random_int(0x0000_0000_0000, 0xffff_ffff_ffff)), '0', STR_PAD_LEFT);
     21    $e = str_pad(dechex(random_int(0x0000_0000_0000, PHP_INT_MAX)), '0', STR_PAD_LEFT);
    2222    return "$a-$b-$c-$d-$e";
    2323}
  • blogify-ai/trunk/admin/ui/all-blogs.php

    r3170410 r3170423  
    1515$blogs = blogify_get_blogs($page_number, $page_size);
    1616if (
    17     $blog_id = wp_verify_nonce(sanitize_text_field(wp_unslash($_GET['blogify-pagination-nonce'] ?? null)), 'blogify-pagination') ? sanitize_text_field(wp_unslash($_POST['blog_id'])) : null
     17    $blog_id = wp_verify_nonce(sanitize_text_field(wp_unslash($_GET['blogify-pagination-nonce'] ?? null)), 'blogify-pagination') ? sanitize_text_field(wp_unslash($_POST['blog_id'] ?? null)) : null
    1818) {
    1919    $blog = blogify_fetch_blog($blog_id);
     
    6060                    if ($blogs['data']):
    6161                        foreach ($blogs['data'] as $index => $blog):
    62                             blogify_blog_item($index, $blog['_id'], $blog['title'], $blog['image'], $nonce, 'blogify-ai', $page_number);
     62                            blogify_blog_item($index, $blog['_id'], $blog['title'], $blog['image'] ?? null, $nonce, 'blogify-ai', $page_number);
    6363                        endforeach; ?>
    6464                    <?php else: ?>
  • blogify-ai/trunk/blogify-ai.php

    r3170410 r3170423  
    1313 * Plugin URI:        https://blogify.ai/
    1414 * Description:       Seamlessly publish AI-generated blog posts from Blogify.ai to your WordPress site with ease, enhancing content management and SEO optimization in a few clicks.
    15  * Version:           1.1.0
     15 * Version:           1.1.1
    1616 * Requires at least: 6.0
    1717 * Requires PHP:      7.4
     
    3131
    3232// Constants
    33 DEFINE('BLOGIFY_VERSION', '1.1.0');
     33DEFINE('BLOGIFY_VERSION', '1.1.1');
    3434
    3535DEFINE('BLOGIFY_PLUGIN_DIR', plugin_dir_path(__FILE__));
  • blogify-ai/trunk/changelog.md

    r3170410 r3170423  
    55The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
    66and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
     7
     8## [1.1.1] - 20240-Oct-17
     9
     10## Fixed
     11
     12- Undefined array key warnings for blog_id and blog['image'] in All Blogs Page
     13- Use system specific max number for random_int()
    714
    815## [1.1.0] - 2024-Oct-17
Note: See TracChangeset for help on using the changeset viewer.