Skip to content

Commit

Permalink
fix Podlove Subscribe Button language parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
eteubert committed May 1, 2018
1 parent 2ff8a6d commit 6b3d1d3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/modules/subscribe_button/subscribe_button.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,10 @@ function ($widgets) {
}

// shortcode function
public static function button($args) {
public static function button($args = array()) {

if (!is_array($args))
$args = [];

$podcast = Model\Podcast::get();

Expand Down
4 changes: 4 additions & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,10 @@ Second, you need to deal with the existing `request_id`s. There is a new "DSGVO"

In case you have a lot of downloads (let's say much more than 50.000), you may want to do this via command line because that will be _much_ quicker than via the tools section. You need [wp-cli](https://wp-cli.org/), then simply call `wp eval 'podlove_rehash_tracking_request_ids();'`. On a multisite, pass the blog id as a parameter: `wp eval 'podlove_rehash_tracking_request_ids(42);'`.

**Other**

* fix Podlove Subscribe Button language parameter

= 2.7.4 =

No changes, but the previous release is not delivered correctly by WordPress, so this is simply a re-release attempt to fix it.
Expand Down

0 comments on commit 6b3d1d3

Please sign in to comment.