Plugin Directory

Changeset 3151287


Ignore:
Timestamp:
09/13/2024 09:23:11 AM (19 months ago)
Author:
stockpack
Message:

Add filename filter and support for extended classic editor

Location:
stockpack/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • stockpack/trunk/readme.txt

    r3105964 r3151287  
    33Tags: stock images, adobe stock, unsplash, getty, istock, pixabay, pexels
    44Requires at least: 4.6
    5 Tested up to: 6.5.4
    6 Stable tag: 3.4.2
     5Tested up to: 6.6.2
     6Stable tag: 3.4.3
    77License: GPL
    88License URI: https://www.gnu.org/licenses/gpl-3.0.en.html
     
    3939* Automatic caption fill in to be in line with licensing requirements
    4040* Set custom filename prior to the upload
    41 * Compatible with Gutenberg, [Elementor](https://elementor.com),[Bricks] (https://bricksbuilder.io/), [Divi](https://www.elegantthemes.com/gallery/divi/), [Beaver Builder](https://www.wpbeaverbuilder.com), [Visual Composer](https://visualcomposer.com), [Avada Fusion Builder](https://theme-fusion.com/products/fusion-builder) [Oxygen Builder](https://oxygenbuilder.com) [WPBakery](https://wpbakery.com/) [Thrive Themes](https://thrivethemes.com/)
     41* Compatible with Gutenberg, [Elementor](https://elementor.com),[Bricks](https://bricksbuilder.io/), [Divi](https://www.elegantthemes.com/gallery/divi/), [Beaver Builder](https://www.wpbeaverbuilder.com), [Visual Composer](https://visualcomposer.com), [Avada Fusion Builder](https://theme-fusion.com/products/fusion-builder) [Oxygen Builder](https://oxygenbuilder.com) [WPBakery](https://wpbakery.com/) [Thrive Themes](https://thrivethemes.com/)
    4242* Compatible with [WPML](https://wpml.org)
    4343* Featured image caption
     
    134134== Changelog ==
    135135
    136 = 3.4.1 =
     136= 3.4.3 =
    137137Updated WordPress compatibility
     138Add filename filter
     139
     140= 3.4.2 =
     141Fixed tags
    138142
    139143= 3.4.1 =
  • stockpack/trunk/src/class-stockpackmedia.php

    r3105954 r3151287  
    8181            }
    8282
    83             if ( ! $admin || is_plugin_active( 'classic-editor/classic-editor.php' ) || $acfe_classic_editor ) {
     83            if ( ! $admin || is_plugin_active( 'classic-editor/classic-editor.php' ) || is_plugin_active( 'classic-editor-addon/classic-editor-addon.php' ) || $acfe_classic_editor ) {
    8484                add_thickbox();
    8585                wp_enqueue_media();
  • stockpack/trunk/src/class-stockpackquery.php

    r3051678 r3151287  
    502502            $name = $this->update_extension( $name, $type );
    503503
     504            $name = apply_filters( 'stockpack_attachment_filename', $name, $image );
     505
    504506            $mirror = wp_upload_bits( $name, '', wp_remote_retrieve_body( $get ) );
    505507            $attachment = array(
     
    516518            $this->store_attachment_meta($attach_id,$image);
    517519
    518             do_action( 'stockpack_after_attachment_uploaded', $attach_id,$image );
     520            do_action( 'stockpack_after_attachment_uploaded', $attach_id, $image );
    519521
    520522            return $attach_id;
  • stockpack/trunk/stockpack.php

    r3105964 r3151287  
    66 * Author: Derikon Development
    77 * Author URI: https://derikon.com/
    8  * Version: 3.4.2
     8 * Version:3.4.3
    99 * Text Domain: stockpack
    1010 * Domain Path: /languages
Note: See TracChangeset for help on using the changeset viewer.