Skip to content

Commit

Permalink
3.28.2
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasplevy committed Feb 11, 2019
1 parent 45833e9 commit 277df93
Show file tree
Hide file tree
Showing 13 changed files with 530 additions and 466 deletions.
26 changes: 19 additions & 7 deletions _readme/changelog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,24 @@
== Changelog ==


= v3.28.2 - 2019-02-11 =
------------------------

##### Updates

+ Updated default country list to remove non-existant countries and resolve capitilization issues, thanks [nrherron92](https://github.com/nrherron92)!

##### Bug fixes

+ Fixed an issue causing the email notification content getter to use the same filter as popover notifications.
+ Fixed an issue preventing default blog date & time settings from being used when displaying an access plan's access expiration date on course and membership pricing tables.
+ Fixed an issue causing 404s on paginated dashboard endpoints when the permalink structure is set to anything other than `%postname%`.

##### Deprecations

+ `LLMS_Query->set_dashboard_pagination()`


= v3.28.1 - 2019-02-01 =
------------------------

Expand Down Expand Up @@ -136,10 +154,4 @@
+ Adds a filter (`llms_blocks_is_post_migrated`) to allow determining if a course or lesson has been migrated to the WP 5.0 block editor.
+ Added a filter (`llms_dashboard_courses_wp_query_args`) to the WP_Query used to display courses on the student dashboard.
+ Fixed issue on course builder causing prerequisites to not be saved when the first lesson in a course was selected as the prereq.
+ Fixed issue on course builder causing lesson settings to be inaccessible without first saving the lesson to the database.


= v3.25.3 - 2018-12-14 =
------------------------

+ Fixed compatibility issue with the Classic Editor plugin when it was added after a post was migrated to the new editor structure.
+ Fixed issue on course builder causing lesson settings to be inaccessible without first saving the lesson to the database.
2 changes: 1 addition & 1 deletion _readme/header.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Tags: learning management system, LMS, membership, elearning, online courses, qu
Requires at least: 4.8
Requires PHP: 7.2
Tested up to: 5.0.3
Stable tag: 3.28.1
Stable tag: 3.28.2
License: GPLv3
License URI: https://www.gnu.org/licenses/gpl-3.0.html

Expand Down
4 changes: 2 additions & 2 deletions includes/abstracts/llms.abstract.notification.view.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Notification View Abstract
* @since 3.8.0
* @version [version]
* @version 3.28.2
*/

defined( 'ABSPATH' ) || exit;
Expand Down Expand Up @@ -277,7 +277,7 @@ public function get_date_relative( $date = 'created' ) {
* Get the html for an email notification
* @return string
* @since 3.8.0
* @version [version]
* @version 3.28.2
*/
private function get_email_html() {
return apply_filters( $this->get_filter( 'get_email_html' ), $this->get_body(), $this );
Expand Down
8 changes: 4 additions & 4 deletions includes/class.llms.query.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Handles queries and endpoints.
*
* @since 1.0.0
* @version [version]
* @version 3.28.2
*/

defined( 'ABSPATH' ) || exit;
Expand All @@ -24,7 +24,7 @@ class LLMS_Query {
* Constructor
*
* @since 1.0.0
* @version [version]
* @version 3.28.2
*/
public function __construct() {

Expand All @@ -47,7 +47,7 @@ public function __construct() {
* Add Query Endpoints
*
* @since 1.0.0
* @version [version]
* @version 3.28.2
*/
public function add_endpoints() {
foreach ( $this->get_query_vars() as $key => $var ) {
Expand Down Expand Up @@ -234,7 +234,7 @@ public function pre_get_posts( $query ) {
* @return void
* @since 3.14.0
* @version 3.14.0
* @deprecated [version] $paged automatically set via add_rewrite_rule() in $this->add_endpoints() method.
* @deprecated 3.28.2 $paged automatically set via add_rewrite_rule() in $this->add_endpoints() method.
*/
public function set_dashboard_pagination() {

Expand Down
4 changes: 2 additions & 2 deletions includes/class.llms.student.dashboard.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Retrieve data sets used by various other classes and functions
*
* @since 3.0.0
* @version [version]
* @version 3.28.2
*/

defined( 'ABSPATH' ) || exit;
Expand Down Expand Up @@ -125,7 +125,7 @@ public static function get_current_tab( $return = 'data' ) {
* Retrieve all dashboard tabs and related data
* @return array
* @since 3.0.0
* @version [version]
* @version 3.28.2
*/
public static function get_tabs() {

Expand Down
4 changes: 2 additions & 2 deletions includes/functions/llms.functions.currency.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Currency and Price related functions for LifterLMS Products
* @since 1.0.0
* @version [version]
* @version 3.28.2
*/

defined( 'ABSPATH' ) || exit;
Expand Down Expand Up @@ -43,7 +43,7 @@ function llms_format_decimal( $number, $dp = false, $trim_zeros = false ) {
*
* @return array
* @since 1.0.0
* @version [version]
* @version 3.28.2
*/
function get_lifterlms_countries() {
return array_unique( apply_filters( 'lifterlms_countries', array(
Expand Down
4 changes: 2 additions & 2 deletions includes/models/model.llms.access.plan.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* @package LifterLMS/Models
* @since 3.0.0
* @version [version]
* @version 3.28.2
*
* @property $access_expiration (string) Expiration type [lifetime|limited-period|limited-date]
* @property $access_expires (string) Date access expires in m/d/Y format. Only applicable when $access_expiration is "limited-date"
Expand Down Expand Up @@ -346,7 +346,7 @@ public function get_enroll_text() {
* Get a sentence explaining plan expiration details
* @return string
* @since 3.0.0
* @version [version]
* @version 3.28.2
*/
public function get_expiration_details() {

Expand Down
Loading

0 comments on commit 277df93

Please sign in to comment.