Plugin Directory

Changeset 2639859


Ignore:
Timestamp:
12/06/2021 08:55:41 AM (4 years ago)
Author:
clearsite
Message:

Import changes from GitHub for version 1.0.20

Location:
branded-social-images/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branded-social-images/trunk/info.json

    r2636240 r2639859  
    55  "Author": "Internetbureau Clearsite",
    66  "Author URI": "https://www.clearsite.nl/",
    7   "Version": "1.0.19",
     7  "Version": "1.0.20",
    88  "License": "GPL2"
    99}
  • branded-social-images/trunk/lib/class.og-image-plugin.php

    r2636230 r2639859  
    12421242        $base_url = parse_url($base_url, PHP_URL_SCHEME) . '://' . parse_url($base_url, PHP_URL_HOST); // no trailing slash
    12431243
    1244         return trailingslashit($base_url . remove_query_arg(array_keys(!empty($_GET) ? $_GET : ['asd' => 1]))) . self::output_filename() . '/'; // yes, slash, WP will add it with a redirect anyway
     1244        $og_url = trailingslashit($base_url . remove_query_arg(array_keys(!empty($_GET) ? $_GET : ['asd' => 1]))) . self::output_filename() . '/'; // yes, slash, WP will add it with a redirect anyway
     1245
     1246        /**
     1247         * @since 1.0.20 allows for final filtering of the output OG:Image url.
     1248         */
     1249        return apply_filters('bsi_image_url', $og_url);
    12451250    }
    12461251
  • branded-social-images/trunk/readme.txt

    r2636240 r2639859  
    44Requires at least: 4.7
    55Tested up to: 5.8.1
    6 Stable tag: 1.0.19
     6Stable tag: 1.0.20
    77Requires PHP: 7.1
    88License: GPLv2 or later
     
    133133
    134134== Changelog ==
     135
     136= 1.0.20 =
     137* added: filter `bsi_image_url` added to allow filtering of the final output OG:Image url.
    135138
    136139= 1.0.19 =
  • branded-social-images/trunk/wp-plugin.php

    r2636240 r2639859  
    66 * Author: Internetbureau Clearsite
    77 * Author URI: https://clearsite.nl/branded-social-images
    8  * Version: 1.0.19
     8 * Version: 1.0.20
    99 * License: GPL2
    1010 */
Note: See TracChangeset for help on using the changeset viewer.