Changeset 3170423
- Timestamp:
- 10/17/2024 02:50:17 AM (18 months ago)
- Location:
- blogify-ai
- Files:
-
- 5 edited
- 15 copied
-
tags/1.1.1 (copied) (copied from blogify-ai/trunk)
-
tags/1.1.1/README.txt (copied) (copied from blogify-ai/trunk/README.txt) (1 diff)
-
tags/1.1.1/admin (copied) (copied from blogify-ai/trunk/admin)
-
tags/1.1.1/admin/actions/rest.php (copied) (copied from blogify-ai/trunk/admin/actions/rest.php) (1 diff)
-
tags/1.1.1/admin/api/blog.php (copied) (copied from blogify-ai/trunk/admin/api/blog.php)
-
tags/1.1.1/admin/assets/css/dialog.css (copied) (copied from blogify-ai/trunk/admin/assets/css/dialog.css)
-
tags/1.1.1/admin/ui/all-blogs.php (copied) (copied from blogify-ai/trunk/admin/ui/all-blogs.php) (2 diffs)
-
tags/1.1.1/admin/ui/components/blog-item.php (copied) (copied from blogify-ai/trunk/admin/ui/components/blog-item.php)
-
tags/1.1.1/admin/ui/components/dialog.php (copied) (copied from blogify-ai/trunk/admin/ui/components/dialog.php)
-
tags/1.1.1/admin/ui/components/pagination.php (copied) (copied from blogify-ai/trunk/admin/ui/components/pagination.php)
-
tags/1.1.1/admin/ui/dashboard.php (copied) (copied from blogify-ai/trunk/admin/ui/dashboard.php)
-
tags/1.1.1/blogify-ai.php (copied) (copied from blogify-ai/trunk/blogify-ai.php) (2 diffs)
-
tags/1.1.1/changelog.md (copied) (copied from blogify-ai/trunk/changelog.md) (1 diff)
-
tags/1.1.1/index.php (copied) (copied from blogify-ai/trunk/index.php)
-
tags/1.1.1/uninstall.php (copied) (copied from blogify-ai/trunk/uninstall.php)
-
trunk/README.txt (modified) (1 diff)
-
trunk/admin/actions/rest.php (modified) (1 diff)
-
trunk/admin/ui/all-blogs.php (modified) (2 diffs)
-
trunk/blogify-ai.php (modified) (2 diffs)
-
trunk/changelog.md (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
blogify-ai/tags/1.1.1/README.txt
r3170410 r3170423 4 4 Requires at least: 6.0 5 5 Tested up to: 6.6 6 Stable tag: 1.1. 06 Stable tag: 1.1.1 7 7 Requires PHP: 7.4 8 8 License: GPLv2 or later -
blogify-ai/tags/1.1.1/admin/actions/rest.php
r3170410 r3170423 15 15 function v4uuid(): string 16 16 { 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); 18 18 $b = str_pad(dechex(random_int(0x0000, 0xffff)), '0', STR_PAD_LEFT); 19 19 $c = dechex(random_int(0x4000, 0x4fff)); 20 20 $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); 22 22 return "$a-$b-$c-$d-$e"; 23 23 } -
blogify-ai/tags/1.1.1/admin/ui/all-blogs.php
r3170410 r3170423 15 15 $blogs = blogify_get_blogs($page_number, $page_size); 16 16 if ( 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'] )) : null17 $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 18 18 ) { 19 19 $blog = blogify_fetch_blog($blog_id); … … 60 60 if ($blogs['data']): 61 61 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); 63 63 endforeach; ?> 64 64 <?php else: ?> -
blogify-ai/tags/1.1.1/blogify-ai.php
r3170410 r3170423 13 13 * Plugin URI: https://blogify.ai/ 14 14 * 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. 015 * Version: 1.1.1 16 16 * Requires at least: 6.0 17 17 * Requires PHP: 7.4 … … 31 31 32 32 // Constants 33 DEFINE('BLOGIFY_VERSION', '1.1. 0');33 DEFINE('BLOGIFY_VERSION', '1.1.1'); 34 34 35 35 DEFINE('BLOGIFY_PLUGIN_DIR', plugin_dir_path(__FILE__)); -
blogify-ai/tags/1.1.1/changelog.md
r3170410 r3170423 5 5 The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), 6 6 and 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() 7 14 8 15 ## [1.1.0] - 2024-Oct-17 -
blogify-ai/trunk/README.txt
r3170410 r3170423 4 4 Requires at least: 6.0 5 5 Tested up to: 6.6 6 Stable tag: 1.1. 06 Stable tag: 1.1.1 7 7 Requires PHP: 7.4 8 8 License: GPLv2 or later -
blogify-ai/trunk/admin/actions/rest.php
r3170410 r3170423 15 15 function v4uuid(): string 16 16 { 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); 18 18 $b = str_pad(dechex(random_int(0x0000, 0xffff)), '0', STR_PAD_LEFT); 19 19 $c = dechex(random_int(0x4000, 0x4fff)); 20 20 $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); 22 22 return "$a-$b-$c-$d-$e"; 23 23 } -
blogify-ai/trunk/admin/ui/all-blogs.php
r3170410 r3170423 15 15 $blogs = blogify_get_blogs($page_number, $page_size); 16 16 if ( 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'] )) : null17 $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 18 18 ) { 19 19 $blog = blogify_fetch_blog($blog_id); … … 60 60 if ($blogs['data']): 61 61 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); 63 63 endforeach; ?> 64 64 <?php else: ?> -
blogify-ai/trunk/blogify-ai.php
r3170410 r3170423 13 13 * Plugin URI: https://blogify.ai/ 14 14 * 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. 015 * Version: 1.1.1 16 16 * Requires at least: 6.0 17 17 * Requires PHP: 7.4 … … 31 31 32 32 // Constants 33 DEFINE('BLOGIFY_VERSION', '1.1. 0');33 DEFINE('BLOGIFY_VERSION', '1.1.1'); 34 34 35 35 DEFINE('BLOGIFY_PLUGIN_DIR', plugin_dir_path(__FILE__)); -
blogify-ai/trunk/changelog.md
r3170410 r3170423 5 5 The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), 6 6 and 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() 7 14 8 15 ## [1.1.0] - 2024-Oct-17
Note: See TracChangeset
for help on using the changeset viewer.