Plugin Directory

Changeset 2703442


Ignore:
Timestamp:
04/01/2022 04:44:52 PM (4 years ago)
Author:
shutterstockplugins
Message:

Release version v1.3.11

Location:
shutterstock
Files:
8 edited
1 copied

Legend:

Unmodified
Added
Removed
  • shutterstock/tags/1.3.11/README.txt

    r2671597 r2703442  
    44Requires at least: 5.5
    55Tested up to: 5.9
    6 Stable tag: 1.3.10
     6Stable tag: 1.3.11
    77Requires PHP: 7.1
    88License: MIT
     
    112112
    113113== Changelog ==
     114= 1.3.11 =
     115* Filter only downloadable licenses on the "Downloads" section
     116
    114117= 1.3.10 =
    115118* Update package dependencies
  • shutterstock/tags/1.3.11/includes/class-shutterstock-api.php

    r2543701 r2703442  
    132132        $page = isset($parameters['page']) ? sanitize_text_field($parameters['page']) : 1;
    133133        $per_page = isset($parameters['per_page']) ? sanitize_text_field($parameters['per_page']) : 20;
    134         $list_image_licenses_route = $this->api_url. '/images/licenses?per_page='. $per_page .'&page=' . $page;
    135 
     134        $download_availability = isset($parameters['download_availability']) ? sanitize_text_field($parameters['download_availability']) : 'downloadable';
     135        $list_image_licenses_route = $this->api_url. '/images/licenses?download_availability='. $download_availability .'&per_page='. $per_page .'&page='. $page;
     136       
    136137        $response = $this->do_api_get_request($list_image_licenses_route);
    137138
  • shutterstock/tags/1.3.11/includes/class-shutterstock.php

    r2671597 r2703442  
    7171            $this->version = SHUTTERSTOCK_VERSION;
    7272        } else {
    73             $this->version = '1.3.10';
     73            $this->version = '1.3.11';
    7474        }
    7575        $this->shutterstock = 'shutterstock';
  • shutterstock/tags/1.3.11/shutterstock.php

    r2671597 r2703442  
    1616 * Plugin Name:       Shutterstock
    1717 * Description:       Access exceptional, royalty-free content straight from WordPress.
    18  * Version:           1.3.10
     18 * Version:           1.3.11
    1919 * Author:            Shutterstock
    2020 * License:           MIT
     
    3434 * Rename this for your plugin and update it as you release new versions.
    3535 */
    36 define( 'SHUTTERSTOCK_VERSION', '1.3.10' );
     36define( 'SHUTTERSTOCK_VERSION', '1.3.11' );
    3737
    3838/**
  • shutterstock/trunk/README.txt

    r2671597 r2703442  
    44Requires at least: 5.5
    55Tested up to: 5.9
    6 Stable tag: 1.3.10
     6Stable tag: 1.3.11
    77Requires PHP: 7.1
    88License: MIT
     
    112112
    113113== Changelog ==
     114= 1.3.11 =
     115* Filter only downloadable licenses on the "Downloads" section
     116
    114117= 1.3.10 =
    115118* Update package dependencies
  • shutterstock/trunk/includes/class-shutterstock-api.php

    r2543701 r2703442  
    132132        $page = isset($parameters['page']) ? sanitize_text_field($parameters['page']) : 1;
    133133        $per_page = isset($parameters['per_page']) ? sanitize_text_field($parameters['per_page']) : 20;
    134         $list_image_licenses_route = $this->api_url. '/images/licenses?per_page='. $per_page .'&page=' . $page;
    135 
     134        $download_availability = isset($parameters['download_availability']) ? sanitize_text_field($parameters['download_availability']) : 'downloadable';
     135        $list_image_licenses_route = $this->api_url. '/images/licenses?download_availability='. $download_availability .'&per_page='. $per_page .'&page='. $page;
     136       
    136137        $response = $this->do_api_get_request($list_image_licenses_route);
    137138
  • shutterstock/trunk/includes/class-shutterstock.php

    r2671597 r2703442  
    7171            $this->version = SHUTTERSTOCK_VERSION;
    7272        } else {
    73             $this->version = '1.3.10';
     73            $this->version = '1.3.11';
    7474        }
    7575        $this->shutterstock = 'shutterstock';
  • shutterstock/trunk/shutterstock.php

    r2671597 r2703442  
    1616 * Plugin Name:       Shutterstock
    1717 * Description:       Access exceptional, royalty-free content straight from WordPress.
    18  * Version:           1.3.10
     18 * Version:           1.3.11
    1919 * Author:            Shutterstock
    2020 * License:           MIT
     
    3434 * Rename this for your plugin and update it as you release new versions.
    3535 */
    36 define( 'SHUTTERSTOCK_VERSION', '1.3.10' );
     36define( 'SHUTTERSTOCK_VERSION', '1.3.11' );
    3737
    3838/**
Note: See TracChangeset for help on using the changeset viewer.