Plugin Directory

Changeset 2893752


Ignore:
Timestamp:
04/04/2023 05:04:41 PM (3 years ago)
Author:
lruizcode
Message:

Update to version 1.0.4 from GitHub

Location:
bubuku-media-library
Files:
10 edited
1 copied

Legend:

Unmodified
Added
Removed
  • bubuku-media-library/tags/1.0.4/bubuku-media-library.php

    r2809833 r2893752  
    55 * Requires at least: 5.2
    66 * Requires PHP:      7.2
    7  * Version:     1.0.3
     7 * Version:     1.0.4
    88 * Author:      Bubuku
    99 * Author URI:  https://www.bubuku.com/
  • bubuku-media-library/tags/1.0.4/readme.txt

    r2809833 r2893752  
    33Tags: images, media library, performance, Alt Text, seo
    44Requires at least: 5.2
    5 Tested up to: 6.1
     5Tested up to: 6.2
    66Requires PHP: 7.2
    7 Stable tag: 1.0.3
     7Stable tag: 1.0.4
    88License: GPLv3 or later
    99License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    20203. Red: For images of 500k or more, we assign a status of poor optimization.
    2121
    22 Thanks to this plugin, we can see if images need to be optimized and improve page load and SEO of images
     22Thanks to this plugin, we can see if images need to be optimized and improve page load and SEO of images.
     23
     24More information in Spanish about the plugin in the link [How to know if we have to reduce weight to the image and Alt SEO attribute](https://www.bubuku.com/como-saber-reducir-peso-imagen-atributo-alt-seo/)
    2325
    2426== Installation ==
     
    3335
    3436== Changelog ==
     37= 1.0.4 =
     38* Compatibility: WordPress 6.1 – WordPress 6.2
     39* Fix some PHP errors
     40* Add WordPress JavaScript dependencies
     41
    3542= 1.0.3 =
    3643* Add a Bulk Action to calculate file size in WordPress admin
  • bubuku-media-library/tags/1.0.4/src/BML_assets.php

    r2809833 r2893752  
    3030            BUBUKU_BML_PLUGIN_ASSETS_URL . '/css/admin.css',
    3131            false,
    32             '1.0.3'
     32            '1.0.4'
    3333        );
    3434
    35         $js_dependencies = ''; // ['jquery'];
     35        $js_dependencies = ['wp-blocks', 'wp-i18n', 'wp-element', 'wp-components', 'wp-editor', 'wp-compose']; // ['jquery'];
    3636           
    3737        wp_enqueue_script(
  • bubuku-media-library/tags/1.0.4/src/BML_plugin.php

    r2809833 r2893752  
    2424        define( 'BUBUKU_BML_PLUGIN_ASSETS_URL', BUBUKU_BML_PLUGIN_URL . '/assets' );
    2525        define( 'BUBUKU_BML_PLUGIN_ENDPOINTS_URL', 'bbk_medialibrary/v1' );
    26         define( 'BUBUKU_BML_PLUGIN_VERSION', '1.0.3' );
     26        define( 'BUBUKU_BML_PLUGIN_VERSION', '1.0.4' );
    2727        define( 'BUBUKU_BML_PLUGIN_NONCE', wp_create_nonce('media-library'. BUBUKU_BML_PLUGIN_VERSION) );
    2828
  • bubuku-media-library/tags/1.0.4/src/BML_restapi.php

    r2809833 r2893752  
    3333            'methods'  => 'POST',
    3434            'callback' => array ($this, 'calculate_file_size'),
    35             'args'     => array('media_id'),
     35            'args'     => array(
     36                'media_id' => array(
     37                    'required' => true,
     38                    'validate_callback' => function($param, $request, $key) {
     39                        return is_numeric( $param );
     40                    }
     41                ),
     42            ),
    3643            'permission_callback' => '__return_true'
    3744        ));
  • bubuku-media-library/trunk/bubuku-media-library.php

    r2809833 r2893752  
    55 * Requires at least: 5.2
    66 * Requires PHP:      7.2
    7  * Version:     1.0.3
     7 * Version:     1.0.4
    88 * Author:      Bubuku
    99 * Author URI:  https://www.bubuku.com/
  • bubuku-media-library/trunk/readme.txt

    r2809833 r2893752  
    33Tags: images, media library, performance, Alt Text, seo
    44Requires at least: 5.2
    5 Tested up to: 6.1
     5Tested up to: 6.2
    66Requires PHP: 7.2
    7 Stable tag: 1.0.3
     7Stable tag: 1.0.4
    88License: GPLv3 or later
    99License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    20203. Red: For images of 500k or more, we assign a status of poor optimization.
    2121
    22 Thanks to this plugin, we can see if images need to be optimized and improve page load and SEO of images
     22Thanks to this plugin, we can see if images need to be optimized and improve page load and SEO of images.
     23
     24More information in Spanish about the plugin in the link [How to know if we have to reduce weight to the image and Alt SEO attribute](https://www.bubuku.com/como-saber-reducir-peso-imagen-atributo-alt-seo/)
    2325
    2426== Installation ==
     
    3335
    3436== Changelog ==
     37= 1.0.4 =
     38* Compatibility: WordPress 6.1 – WordPress 6.2
     39* Fix some PHP errors
     40* Add WordPress JavaScript dependencies
     41
    3542= 1.0.3 =
    3643* Add a Bulk Action to calculate file size in WordPress admin
  • bubuku-media-library/trunk/src/BML_assets.php

    r2809833 r2893752  
    3030            BUBUKU_BML_PLUGIN_ASSETS_URL . '/css/admin.css',
    3131            false,
    32             '1.0.3'
     32            '1.0.4'
    3333        );
    3434
    35         $js_dependencies = ''; // ['jquery'];
     35        $js_dependencies = ['wp-blocks', 'wp-i18n', 'wp-element', 'wp-components', 'wp-editor', 'wp-compose']; // ['jquery'];
    3636           
    3737        wp_enqueue_script(
  • bubuku-media-library/trunk/src/BML_plugin.php

    r2809833 r2893752  
    2424        define( 'BUBUKU_BML_PLUGIN_ASSETS_URL', BUBUKU_BML_PLUGIN_URL . '/assets' );
    2525        define( 'BUBUKU_BML_PLUGIN_ENDPOINTS_URL', 'bbk_medialibrary/v1' );
    26         define( 'BUBUKU_BML_PLUGIN_VERSION', '1.0.3' );
     26        define( 'BUBUKU_BML_PLUGIN_VERSION', '1.0.4' );
    2727        define( 'BUBUKU_BML_PLUGIN_NONCE', wp_create_nonce('media-library'. BUBUKU_BML_PLUGIN_VERSION) );
    2828
  • bubuku-media-library/trunk/src/BML_restapi.php

    r2809833 r2893752  
    3333            'methods'  => 'POST',
    3434            'callback' => array ($this, 'calculate_file_size'),
    35             'args'     => array('media_id'),
     35            'args'     => array(
     36                'media_id' => array(
     37                    'required' => true,
     38                    'validate_callback' => function($param, $request, $key) {
     39                        return is_numeric( $param );
     40                    }
     41                ),
     42            ),
    3643            'permission_callback' => '__return_true'
    3744        ));
Note: See TracChangeset for help on using the changeset viewer.