Plugin Directory

Changeset 2391388


Ignore:
Timestamp:
10/01/2020 06:24:05 AM (5 years ago)
Author:
labs64
Message:

Preparing for 1.1.17 release

Location:
credit-tracker/trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • credit-tracker/trunk/README.md

    r2016074 r2391388  
    1010[![WordPress Plugin Rating](https://img.shields.io/wordpress/plugin/r/credit-tracker.svg?style=flat-square)](https://wordpress.org/plugins/credit-tracker/)
    1111[![License](https://img.shields.io/badge/license-GPLv2-red.svg?style=flat-square)](https://opensource.org/licenses/GPL-3.0)
    12 [![Stories in Ready](https://badge.waffle.io/labs64/credit-tracker.svg?label=ready&title=Ready)](https://waffle.io/labs64/credit-tracker)
    1312
    1413---
     
    4241## Showcase
    4342
    44 * [Media Credits page at labs64.com](https://www.labs64.com/legal/media-credits/ "Media Credits")
     43* [Media Credits page at labs64.com](https://www.labs64.com "Media Credits")
    4544
    4645## Documentation
  • credit-tracker/trunk/credit-tracker-functions.php

    r1956590 r2391388  
    4242        'size' => 'thumbnail',
    4343        'include' => '0',
    44         'numberposts' => -1
     44        'numberposts' => -1,
     45        'orderby' => 'post__in',
     46        'order' => 'DESC',
    4547    );
    4648
     
    4951    extract($attr);
    5052
     53    // User input sanity checking. Don't allow invalid values.
     54    if ( 'date' != $orderby && 'post__in' != $orderby ) {
     55        $orderby = 'post__in';
     56    }
     57    if ( 'asc' != $order && 'desc' != $order ) {
     58        $order = 'DESC';
     59    }
     60
    5161    $args = array(
    5262        'include' => $include,
     
    5464        'post_type' => 'attachment',
    5565        'post_mime_type' => 'image',
    56         'orderby' => 'post__in',
     66        'orderby' => $orderby,
     67        'order' => $order,
    5768        'numberposts' => $numberposts
    5869    );
  • credit-tracker/trunk/credit-tracker-shortcodes.php

    r2002491 r2391388  
    4343                'include_columns' => $columns_set,
    4444                'only_current_post' => false,
     45                'orderby' => 'post__in',
     46                'order' => 'DESC',
    4547            ), $atts)
    4648    );
     
    6365        'size' => $size,
    6466        'include' => $id,
     67        'orderby' => $orderby,
     68        'order' => $order,
    6569    );
    6670
  • credit-tracker/trunk/credit-tracker.php

    r2016074 r2391388  
    77 * Author:      Labs64
    88 * Author URI:  https://www.labs64.com
    9  * Version:     1.1.16
     9 * Version:     1.1.17
    1010 * Text Domain: credit-tracker
    1111 * Domain Path: /languages
     
    1313 * License URI: https://www.gnu.org/licenses/gpl-2.0.txt
    1414 * Requires at least: 4.0
    15  * Tested up to: 5.0.3
     15 * Tested up to: 5.5.1
    1616 *
    1717 * @package   Credit_Tracker
     
    3131 * Plugin version, used for cache-busting of style and script file references.
    3232 */
    33 define('CREDITTRACKER_VERSION', '1.1.16');
     33define('CREDITTRACKER_VERSION', '1.1.17');
    3434
    3535/**
  • credit-tracker/trunk/options.php

    r2016074 r2391388  
    329329                    Valid values include "true" or "false".
    330330                    The default value is "" - which defaults to "false".</p>
     331                <p>&nbsp;&nbsp;<strong>orderby</strong> <i>(optional)</i> - Which value to sort the table on.
     332                    The only valid value for this field is "date".
     333                    The default order value will be used if this is not provided.</p>
     334                <p>&nbsp;&nbsp;<strong>order</strong> <i>(optional)</i> - Sort results ascending or descending.
     335                    Valid values include "asc" or "desc".
     336                    The default value is "desc" - no effect by default, sorts reverse chronologically when sorting by date.</p>
    331337                <br/>
    332338
     
    348354
    349355                <p>Generate table with the specified columns only and defined columns order</p>
     356                <br />
     357
     358                <p><code>[credit_tracker_table orderby="date" order="desc"]</code></p>
     359
     360                <p>Generate table sorted by date the image was added to the Media Library, showing most recent at the top.</p>
    350361            </td>
    351362        </tr>
  • credit-tracker/trunk/readme.txt

    r2016074 r2391388  
    33Tags: credit, attribution, legal, copyright, owner, author, media library, media, image, photo, license, royalty-free, RF, Creative Commons, stock, attachment, flickr, fotolia, unsplash, bildnachweis, impressum, imprint, microdata, NetLicensing
    44Requires at least: 4.0
    5 Tested up to: 5.0.3
    6 Stable tag: 1.1.16
     5Tested up to: 5.5.1
     6Stable tag: 1.1.17
    77License: GPL-2.0+
    88License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    4141= Showcase =
    4242
    43 * [Media Credits page at labs64.com](https://www.labs64.com/legal/media-credits/ "Media Credits")
     43* [Media Credits page at labs64.com](https://www.labs64.com "Media Credits")
    4444
    4545= Get Involved =
     
    149149== Changelog ==
    150150
     151= 1.1.17 =
     152* Sort attribute credit_tracker_table - [#41](https://github.com/Labs64/credit-tracker/issues/46)
     153* Test and approve plugin for WordPress 5.5.1
     154
    151155= 1.1.16 =
    152156* Enable Adobe Stock parser
     
    168172
    169173= 1.1.12 =
    170 * Set minimum requirements to Wordpress 4.0, PHP 5.6 and NetLicensing [2.3.8](https://www.labs64.de/confluence/display/NLICPUB/Release+Notes)
     174* Set minimum requirements to Wordpress 4.0, PHP 5.6 and NetLicensing [2.3.8](https://netlicensing.io/wiki/netlicensing-2-3-8-final)
    171175* Fix "Undefined index: only_current_post"
    172176
Note: See TracChangeset for help on using the changeset viewer.