Plugin Directory

Changeset 3236674


Ignore:
Timestamp:
02/07/2025 02:54:51 PM (10 months ago)
Author:
tusharimran
Message:

aBlocks Updated to version 1.6.3

Location:
ablocks
Files:
704 added
3 edited

Legend:

Unmodified
Added
Removed
  • ablocks/trunk/ablocks.php

    r3236611 r3236674  
    55 * Requires at least: 6.3
    66 * Requires PHP:      7.4
    7  * Version:           1.6.2
     7 * Version:           1.6.3
    88 * Author:            Academy LMS
    99 * Author URI:        https://ablocks.pro/
     
    4141     */
    4242    private function define_constants() {
    43         define( 'ABLOCKS_VERSION', '1.6.2' );
     43        define( 'ABLOCKS_VERSION', '1.6.3' );
    4444        define( 'ABLOCKS_PLUGIN_SLUG', 'ablocks' );
    4545        define( 'ABLOCKS_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
  • ablocks/trunk/includes/classes/assets-generator.php

    r3236611 r3236674  
    136136
    137137    public static function copy_build_image_folder_to_uploads( $destination_folder ) {
     138        global $wp_filesystem;
     139        if ( empty( $wp_filesystem ) ) {
     140            require_once ABSPATH . '/wp-admin/includes/file.php';
     141            WP_Filesystem();
     142        }
     143
    138144        $source_folders = [
    139145            ABLOCKS_ASSETS_PATH . 'build/images/',     // First folder
     
    142148        ];
    143149
    144         // Get WordPress filesystem instance
    145         if ( ! function_exists( 'request_filesystem_credentials' ) ) {
    146             require_once ABSPATH . '/wp-admin/includes/file.php';
    147         }
    148 
    149150        if ( ! file_exists( $destination_folder ) ) {
    150151            wp_mkdir_p( $destination_folder );
     
    160161
    161162    public static function recursive_copy( $source, $destination ) {
     163        global $wp_filesystem;
     164        if ( empty( $wp_filesystem ) ) {
     165            require_once ABSPATH . '/wp-admin/includes/file.php';
     166            WP_Filesystem();
     167        }
     168
    162169        $valid_extensions = [ 'jpg', 'jpeg', 'png', 'gif', 'bmp', 'webp' ];
    163170
  • ablocks/trunk/readme.txt

    r3236611 r3236674  
    55Tested up to: 6.7
    66Requires PHP: 7.4
    7 Stable tag: 1.6.2
     7Stable tag: 1.6.3
    88License: GPLv3
    99License URI: https://opensource.org/licenses/GPL-3.0
     
    144144== Changelog ==
    145145
     146= 1.6.3 - 07/02/2025 =
     147* Fixed - WP File System error solved
     148
    146149= 1.6.2 - 07/02/2025 =
    147150* Fixed - PCP Plugin Issue
Note: See TracChangeset for help on using the changeset viewer.