Skip to content

Commit

Permalink
Merge pull request #1541 from gocodebox/rel/4170
Browse files Browse the repository at this point in the history
Build 4.17.0
  • Loading branch information
Thomas Patrick Levy authored Feb 22, 2021
2 parents b0e4c18 + 83f5d70 commit 39e2e17
Show file tree
Hide file tree
Showing 22 changed files with 461 additions and 427 deletions.
22 changes: 22 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,28 @@
LifterLMS Changelog
===================

v4.17.0 - 2021-02-22
--------------------

##### Updates

+ The post type feature "llms-sales-page" has been added to course and membership post types, signifying they support custom sales pages.

##### Bug fixes

+ Fixed compatibility issues with Yoast SEO 15.8.
+ Fixed duplicate action hook in `content-no-access-after.php` template.
+ Added early returns to several templates to prevent undefined variables errors.
+ Fixed an undefined variable encountered in course builder JS debug logging.

##### Templates Updated

+ content-no-access-after.php
+ quiz/meta-information.php
+ quiz/results.php
+ quiz/start-button.php


v4.16.0 - 2021-02-18
--------------------

Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ Endless thanks to all our incredible contributors!
<a href="https://github.com/moorscode"><img src="https://avatars.githubusercontent.com/u/2005352?v=4" title="moorscode" width="80" height="80"></a>
<a href="https://github.com/nhandl3"><img src="https://avatars.githubusercontent.com/u/1247539?v=4" title="nhandl3" width="80" height="80"></a>
<a href="https://github.com/Nikschavan"><img src="https://avatars.githubusercontent.com/u/2931091?v=4" title="Nikschavan" width="80" height="80"></a>
<a href="https://github.com/reedhewitt"><img src="https://avatars.githubusercontent.com/u/957141?v=4" title="reedhewitt" width="80" height="80"></a>
<a href="https://github.com/edent"><img src="https://avatars.githubusercontent.com/u/837136?v=4" title="edent" width="80" height="80"></a>
<a href="https://github.com/nrherron92"><img src="https://avatars.githubusercontent.com/u/47434271?v=4" title="nrherron92" width="80" height="80"></a>
<a href="https://github.com/sujaypawar"><img src="https://avatars.githubusercontent.com/u/2222249?v=4" title="sujaypawar" width="80" height="80"></a>
Expand Down
4 changes: 2 additions & 2 deletions assets/js/builder/Controllers/Sync.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Sync builder data to the server
*
* @since 3.16.0
* @version [version]
* @version 4.17.0
*/
define( [], function() {

Expand Down Expand Up @@ -114,7 +114,7 @@ define( [], function() {
* Manually Save data via Admin AJAX when the heartbeat API has been disabled
*
* @since 3.16.7
* @since [version] Fixed undefined variable error when logging an error response.
* @since 4.17.0 Fixed undefined variable error when logging an error response.
*
* @return void
*/
Expand Down
11 changes: 6 additions & 5 deletions assets/js/llms-builder.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion assets/js/llms-builder.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/maps/js/llms-builder.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/maps/js/llms-builder.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion class-lifterlms.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ final class LifterLMS {
*
* @var string
*/
public $version = '4.16.0';
public $version = '4.17.0';

/**
* Singleton instance of LifterLMS.
Expand Down
4 changes: 2 additions & 2 deletions includes/admin/class.llms.admin.builder.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @package LifterLMS/Admin/Classes
*
* @since 3.13.0
* @version [version]
* @version 4.17.0
*/

defined( 'ABSPATH' ) || exit;
Expand Down Expand Up @@ -318,7 +318,7 @@ private static function get_template( $template, $vars = array() ) {
* @since 3.19.2 Unknown.
* @since 4.16.0 Remove all filters/actions applied to the title/content when handling the ajax_save by deafault.
* This is specially to prevent plugin conflicts, see https://github.com/gocodebox/lifterlms/issues/1530.
* @since [version] Remove `remove_all_*` hooks added in version 4.16.0.
* @since 4.17.0 Remove `remove_all_*` hooks added in version 4.16.0.
*
* @param array $request $_REQUEST
* @return array
Expand Down
4 changes: 2 additions & 2 deletions includes/class.llms.post-types.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @package LifterLMS\Classes
*
* @since 1.0.0
* @version [version]
* @version 4.17.0
*/

defined( 'ABSPATH' ) || exit;
Expand Down Expand Up @@ -344,7 +344,7 @@ public static function register_post_type( $name, $data ) {
* @since 3.33.0 `llms_question` post type is not publicly queryable anymore.
* @since 3.37.12 Added 'revisions' support to course, lesson, and llms_mebership post types.
* @since 4.5.1 Removed "excerpt" support for the course post type.
* @since [version] Add "llms-sales-page" feature to course and membership post types.
* @since 4.17.0 Add "llms-sales-page" feature to course and membership post types.
*
* @return void
*/
Expand Down
12 changes: 6 additions & 6 deletions includes/functions/llms-functions-content.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @package LifterLMS/Functions
*
* @since 3.25.1
* @version [version]
* @version 4.17.0
*/

defined( 'ABSPATH' ) || exit;
Expand All @@ -19,7 +19,7 @@
*
* @since 1.0.0
* @since 3.25.2 Unknown.
* @since [version] Refactored.
* @since 4.17.0 Refactored.
*
* @param string $content WP_Post post_content.
* @return string
Expand Down Expand Up @@ -81,7 +81,7 @@ function llms_get_post_content( $content ) {
* must be set to `content` or an empty string, and the post must have a `post_excerpt`
* property value.
*
* @since [version]
* @since 4.17.0
*
* @param WP_Post $post The post object.
* @param string $default Optional. Default content to use when no override content can be found.
Expand All @@ -102,7 +102,7 @@ function llms_get_post_sales_page_content( $post, $default = '' ) {
/**
* Filters the HTML content of a LifterLMS post type's sales page content
*
* @since [version]
* @since 4.17.0
*
* @param string $content HTML content of the sales page.
* @param WP_Post $content Post object.
Expand All @@ -122,7 +122,7 @@ function llms_get_post_sales_page_content( $post, $default = '' ) {
* other plugins that may desire running `apply_filters( 'the_content', $content )` to apply our
* plugin's filters.
*
* @since [version]
* @since 4.17.0
*
* @param callable $callback Optional. Callback function to be added as a callback for the filter `the_content`. Default 'llms_get_post_content'.
* @param integer $priority Optional. Priority used when adding the filter. Default: 10.
Expand All @@ -136,7 +136,7 @@ function llms_post_content_init( $callback = 'llms_get_post_content', $priority
/**
* Filters whether or not LifterLMS content filters should be applied.
*
* @since [version]
* @since 4.17.0
*
* @param boolean $should_filter Whether or not to filter the content.
* @param callable $callback Callback function to be added as a callback for the filter `the_content`.
Expand Down
Loading

0 comments on commit 39e2e17

Please sign in to comment.