Changeset 2016074
- Timestamp:
- 01/21/2019 07:40:28 AM (7 years ago)
- Location:
- credit-tracker/trunk
- Files:
-
- 2 added
- 6 edited
-
README.md (modified) (1 diff)
-
credit-tracker.php (modified) (3 diffs)
-
docker-compose.yml (modified) (1 diff)
-
options.php (modified) (2 diffs)
-
php/parser/adobestock.php (added)
-
php/parser/istockphoto.php (modified) (1 diff)
-
readme.txt (modified) (3 diffs)
-
uploads.ini (added)
Legend:
- Unmodified
- Added
- Removed
-
credit-tracker/trunk/README.md
r2002491 r2016074 32 32 ## Features 33 33 34 * Retrieve Media information from the different stock agencies (Flickr, Fotolia, iStockphoto etc.)34 * Retrieve Media information from the different stock agencies (Flickr, Fotolia, iStockphoto, Adobe Stock etc.) 35 35 * Append credits to the Media Library elements 36 36 * Configurable copyright format string -
credit-tracker/trunk/credit-tracker.php
r2014064 r2016074 7 7 * Author: Labs64 8 8 * Author URI: https://www.labs64.com 9 * Version: 1.1.1 59 * Version: 1.1.16 10 10 * Text Domain: credit-tracker 11 11 * Domain Path: /languages … … 31 31 * Plugin version, used for cache-busting of style and script file references. 32 32 */ 33 define('CREDITTRACKER_VERSION', '1.1.1 5');33 define('CREDITTRACKER_VERSION', '1.1.16'); 34 34 35 35 /** … … 61 61 require_once(plugin_dir_path(__FILE__) . '/php/parser/unsplash.php'); 62 62 require_once(plugin_dir_path(__FILE__) . '/php/parser/depositphotos.php'); 63 require_once(plugin_dir_path(__FILE__) . '/php/parser/adobestock.php'); 63 64 64 65 // Register hooks that are fired when the plugin is activated, deactivated, and uninstalled, respectively. -
credit-tracker/trunk/docker-compose.yml
r1750568 r2016074 26 26 volumes: 27 27 - .:/var/www/html/wp-content/plugins/credit-tracker 28 - ./uploads.ini:/usr/local/etc/php/conf.d/uploads.ini -
credit-tracker/trunk/options.php
r2002491 r2016074 708 708 'copyright' => 'credittracker_get_depositphotos_copyright', 709 709 'retriever' => 'credittracker_get_depositphotos_metadata' 710 ), 711 'Adobe_Stock' => array( 712 'caption' => 'Adobe Stock', 713 'copyright' => 'credittracker_get_adobestock_copyright', 714 'retriever' => 'credittracker_get_adobestock_metadata' 710 715 ) 711 716 ); … … 921 926 } 922 927 928 /** 929 * Adobe Stock: copyright 930 */ 931 function credittracker_get_adobestock_copyright() 932 { 933 return CTAdobeStock::COPYRIGHT; 934 } 935 936 /** 937 * Adobe Stock: metadata 938 */ 939 function credittracker_get_adobestock_metadata($number) 940 { 941 $parser = new CTAdobeStock(); 942 return $parser->execute($number); 943 } 944 945 923 946 ?> -
credit-tracker/trunk/php/parser/istockphoto.php
r2014064 r2016074 10 10 { 11 11 12 const COPYRIGHT = '© iStock.com/%author%';12 const COPYRIGHT = '© iStock.com/%author%'; 13 13 14 14 const BASE_URL = 'https://www.istockphoto.com/foto/'; -
credit-tracker/trunk/readme.txt
r2014064 r2016074 4 4 Requires at least: 4.0 5 5 Tested up to: 5.0.3 6 Stable tag: 1.1.1 56 Stable tag: 1.1.16 7 7 License: GPL-2.0+ 8 8 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 31 31 = Features = 32 32 33 * Retrieve Media information from the different stock agencies (Flickr, Fotolia, iStockphoto etc.)33 * Retrieve Media information from the different stock agencies (Flickr, Fotolia, iStockphoto, Adobe Stock etc.) 34 34 * Append credits to the Media Library elements 35 35 * Configurable copyright format string … … 149 149 == Changelog == 150 150 151 = 1.1.16 = 152 * Enable Adobe Stock parser 153 * Change iStockphoto copyright 154 151 155 = 1.1.15 = 152 156 * Change iStockphoto copyright
Note: See TracChangeset
for help on using the changeset viewer.