Version 1.0.0-beta.7
·
599 commits
to trunk
since this release
v1.0.0-beta.7 - 2019-09-27
Updates
- Added the following properties to the lesson schema and response object:
drip_date
,drip_days
,drip_method
,public
,quiz
. - Added the following links to lesson objects:
prerequisite
andquiz
. - Use
WP_Error::$errors
in place ofWP_Error::has_errors()
to support WordPress version prior to 5.1. - Added
llms_rest_lesson_item_schema
,llms_rest_pre_insert_lesson
,llms_rest_prepare_lesson_object_response
,llms_rest_lesson_links
filter hooks. - Course properties
access_opens_date
,access_closes_date
,enrollment_opens_date
,enrollment_closes_date
are now nullable. - Course properties
prerequisite
andprerequisite_track
can be be cleared (set to0
to signify no prerequisite exists). - Added prerequisite validation for courses, if
prerequisite
is not a valid course the courseprerequisite
will be set to0
and ifprerequisite_track
is not a valid course track, the courseprerequisite_track
will be set to0
.
Bug Fixes
- Fixed lesson
siblings
link that was using the parent course's id instead of the parent section's id. - Fixed lesson
parent
link href, replacing 'section' with 'sections'. - Fixed lesson progression callback name when defining the filters to be removed while preparing the item for response.
- Fixed description of the
post_id
path parameter for student enrollments resources. Thanks @pondermatic. - Fixed section parent course object retrieval method when building the resource links.