Skip to content

Commit

Permalink
fix for bmlt drupal module
Browse files Browse the repository at this point in the history
  • Loading branch information
pjaudiomv committed Jan 26, 2020
1 parent 2ff9354 commit 1653b5c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ This section describes how to install the plugin and get it working.

# Changelog

= 1.3.1 =

* Fix for BMLT Drupal download link.

= 1.3.0 =

* Added settings page for GitHub API Token.
Expand Down
5 changes: 3 additions & 2 deletions bmlt-versions/bmlt-versions.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Description: A simple content generator to display the versions and links of the various BMLT components. Add [bmlt_versions] to a page or a post to generate the list.
Author: BMLT Authors
Author URI: https://bmlt.app
Version: 1.3.0
Version: 1.3.1
Install: Drop this directory into the "wp-content/plugins/" directory and activate it.
*/
/* Disallow direct access to the plugin file */
Expand Down Expand Up @@ -160,8 +160,9 @@ public function bmltVersionsFunc($atts = [])
}
if ($drupal) {
$drupal_date = $this->githubLatestReleaseDate('bmlt-drupal');
$drupal_version = $this->githubLatestReleaseVersion('bmlt-drupal');
$content .= '<li class="bmlt_versions_li_drupal">';
$content .= '<a href ="https://github.com/bmlt-enabled/bmlt-drupal/raw/master/bmlt-drupal7.zip">Drupal 7 Module (zip file) - ' . $drupal_date . '</a>';
$content .= '<a href ="https://github.com/bmlt-enabled/bmlt-drupal/releases/download/' . $drupal_version . '/bmlt-drupal7.zip">Drupal 7 Module (zip file) - ' . $drupal_date . '</a>';
$content .= '</li>';
}
if ($basic) {
Expand Down
6 changes: 5 additions & 1 deletion bmlt-versions/readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Contributors: pjaudiomv, radius314
Tags: bmlt, meeting list
Tested up to: 5.3.2
Stable tag: 1.3.0
Stable tag: 1.3.1
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -35,6 +35,10 @@ This section describes how to install the plugin and get it working.

== Changelog ==

= 1.3.1 =

* Fix for BMLT Drupal download link.

= 1.3.0 =

* Added settings page for GitHub API Token.
Expand Down

0 comments on commit 1653b5c

Please sign in to comment.