Skip to content

Commit

Permalink
Merge pull request #2471 from gocodebox/dev
Browse files Browse the repository at this point in the history
Release Version 7.3.0
  • Loading branch information
eri-trabiccolo committed Aug 8, 2023
2 parents 05b2260 + cc68bc1 commit b257ecb
Show file tree
Hide file tree
Showing 65 changed files with 1,425 additions and 843 deletions.
2 changes: 1 addition & 1 deletion .wordpress-org/readme/01-header.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
=== LifterLMS - WordPress LMS Plugin for eLearning ===
Contributors: thomasplevy, chrisbadgett, d4z_c0nf, pondermatic, nrherron, lifterlms, codeboxllc
Contributors: chrisbadgett, strangerstudios, kimannwall, d4z_c0nf, blockify, actuallyakash, codeboxllc
Donate link: {{__PROJECT_URI__}}
Tags: course, elearning, learning management system, online courses, quiz
License: {{__LICENSE__}}
Expand Down
39 changes: 39 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,45 @@
LifterLMS Changelog
===================

v7.3.0 - 2023-08-08
-------------------

##### Updates and Enhancements

+ When a notice is shown for an access plan on the course edit screen (e.g. When using the WooCommerce integration and no product has been associated to the access plan.) Also display a warning icon next to the access plan title.
+ Made sure only who can `view_others_lifterlms_reports` will be able to see the analytics widget content in the WordPress admin.
+ Better rounding of float values on some reporting screens.
+ Avoid creating a post revision when cloning a course/lesson.
+ When creating pages via `llms_create_pages()`: strip all tags from the page title and slash the page data prior to inserting the page in the db via `wp_insert_post()` to prevent slashes from being stripped from the page title.
+ Updated the WordPress tested version up to 6.3.
+ Improved compatibility with the Divi theme by fixing an issue with the quiz attempt result clarifications not being visible when the Divi option `Defer jQuery And jQuery Migrate` was enabled. [#2470](https://github.com/gocodebox/lifterlms/issues/2470)

##### Bug Fixes

+ Fix spacer block when creating new certificate templates in WP 6.3.
+ Fixed PHP Warning when no course/membership catalog page was set or if the selected page doesn't exist anymore. [#2496](https://github.com/gocodebox/lifterlms/issues/2496)
+ Don't include WordPress default sidebar.php template when using a block theme. [#2488](https://github.com/gocodebox/lifterlms/issues/2488)
+ Updated Kazakhstani Tenge's currency symbol. [#2475](https://github.com/gocodebox/lifterlms/issues/2475)
+ Make the dashboard widget visible only if the current user has LMS Manager capabilities. [#2500](https://github.com/gocodebox/lifterlms/issues/2500)
+ Fixed issue with LifterLMS Navigation Link block and block visibility settings. [#2474](https://github.com/gocodebox/lifterlms/issues/2474)
+ Use student dashboard as default value for navigation link block. [#2465](https://github.com/gocodebox/lifterlms/issues/2465)
+ Fixed typo in a function name that could potentially produce a fatal. Thanks [@kamalahmed](https://github.com/kamalahmed)!

##### Developer Notes

+ Added the parameter `$tab` (ID/slug of the tab) to the `lifterlms_reporting_tab_cap` filter hook. Thanks [@sapayth](https://github.com/sapayth)! [#2468](https://github.com/gocodebox/lifterlms/issues/2468)
+ Added new filter hook `llms_can_analytics_widget_be_processed` that will allow to filter whether or not an analytics widget can be processed/displayed.
+ Added new filter `llms_install_get_pages`.
+ Added new public static method `LLMS_Admin_Dashboard_Widget::get_dashboard_widget_data()`.
+ Added `llms_dashboard_checklist` and `llms_dashboard_widget_data` filters to adjust dashboard content. [#2491](https://github.com/gocodebox/lifterlms/issues/2491)

##### Updated Templates

+ [templates/admin/reporting/tabs/widgets.php](https://github.com/gocodebox/lifterlms/blob/7.3.0/templates/admin/reporting/tabs/widgets.php)
+ [templates/global/sidebar.php](https://github.com/gocodebox/lifterlms/blob/7.3.0/templates/global/sidebar.php)
+ [templates/quiz/results-attempt-questions-list.php](https://github.com/gocodebox/lifterlms/blob/7.3.0/templates/quiz/results-attempt-questions-list.php)


v7.2.1 - 2023-06-13
-------------------

Expand Down
10 changes: 10 additions & 0 deletions assets/css/admin-rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -2669,6 +2669,9 @@ a.llms-view-as {
.llms-collapsible .llms-collapsible-header .dashicons.dashicons-warning, .llms-collapsible .llms-collapsible-header .dashicons.dashicons-warning:hover, .llms-collapsible .llms-collapsible-header .dashicons.dashicons-trash:hover, .llms-collapsible .llms-collapsible-header .dashicons.dashicons-no:hover {
color: #e5554e;
}
.llms-collapsible .llms-collapsible-header .dashicons.dashicons-warning.medium-danger, .llms-collapsible .llms-collapsible-header .dashicons.dashicons-warning.medium-danger:hover {
color: #ff922b;
}
.llms-collapsible .llms-collapsible-body {
display: none;
padding: 10px;
Expand Down Expand Up @@ -2818,6 +2821,9 @@ body:not(.admin-color-fresh) .llms-award-engagement-submitbox .llms-mb-list.post
.llms-metabox .llms-access-plans .llms-invalid .dashicons-warning {
display: inline;
}
.llms-metabox .llms-access-plans .llms-needs-attention .dashicons-warning.medium-danger {
display: inline;
}
.llms-metabox .llms-access-plans .dashicons-warning {
display: none;
}
Expand All @@ -2841,6 +2847,9 @@ body:not(.admin-color-fresh) .llms-award-engagement-submitbox .llms-mb-list.post
color: #e5554e;
margin-right: 3px;
}
.llms-metabox .llms-access-plan .notice {
margin-right: 0;
}

.llms-metabox-students .llms-table tr .name {
text-align: right;
Expand Down Expand Up @@ -3494,6 +3503,7 @@ body:not(.admin-color-fresh) .llms-award-engagement-submitbox .llms-mb-list.post
background: #efefef;
margin: 0 0 10px;
position: relative;
list-style-type: none;
}
.llms-quiz-attempt-results .llms-quiz-attempt-question .toggle-answer {
color: inherit;
Expand Down
2 changes: 1 addition & 1 deletion assets/css/admin-rtl.min.css

Large diffs are not rendered by default.

10 changes: 10 additions & 0 deletions assets/css/admin.css

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

2 changes: 1 addition & 1 deletion assets/css/admin.min.css

Large diffs are not rendered by default.

62 changes: 33 additions & 29 deletions assets/css/lifterlms-rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -2024,65 +2024,66 @@ ul.llms-certificates-loop.loop-cols-5 li.llms-certificate-loop-item,
text-decoration: none;
}

.single-llms_quiz .llms-quiz-attempt-results {
.single-llms_quiz #llms-quiz-wrapper .llms-quiz-attempt-results {
margin: 0;
padding: 0;
list-style-type: none;
}
.single-llms_quiz .llms-quiz-attempt-results .llms-quiz-attempt-question {
.single-llms_quiz #llms-quiz-wrapper .llms-quiz-attempt-results .llms-quiz-attempt-question {
background: #efefef;
margin: 0 0 10px;
position: relative;
list-style-type: none;
}
.single-llms_quiz .llms-quiz-attempt-results .llms-quiz-attempt-question .toggle-answer {
.single-llms_quiz #llms-quiz-wrapper .llms-quiz-attempt-results .llms-quiz-attempt-question .toggle-answer {
color: inherit;
display: block;
padding: 10px 10px 10px 35px;
text-decoration: none;
}
.single-llms_quiz .llms-quiz-attempt-results .llms-quiz-attempt-question .toggle-answer:before, .single-llms_quiz .llms-quiz-attempt-results .llms-quiz-attempt-question .toggle-answer:after {
.single-llms_quiz #llms-quiz-wrapper .llms-quiz-attempt-results .llms-quiz-attempt-question .toggle-answer:before, .single-llms_quiz #llms-quiz-wrapper .llms-quiz-attempt-results .llms-quiz-attempt-question .toggle-answer:after {
content: " ";
display: table;
}
.single-llms_quiz .llms-quiz-attempt-results .llms-quiz-attempt-question .toggle-answer:after {
.single-llms_quiz #llms-quiz-wrapper .llms-quiz-attempt-results .llms-quiz-attempt-question .toggle-answer:after {
clear: both;
}
.single-llms_quiz .llms-quiz-attempt-results .llms-quiz-attempt-question.status--waiting.correct, .single-llms_quiz .llms-quiz-attempt-results .llms-quiz-attempt-question.status--waiting.incorrect {
.single-llms_quiz #llms-quiz-wrapper .llms-quiz-attempt-results .llms-quiz-attempt-question.status--waiting.correct, .single-llms_quiz #llms-quiz-wrapper .llms-quiz-attempt-results .llms-quiz-attempt-question.status--waiting.incorrect {
background: rgba(255, 146, 43, 0.2);
}
.single-llms_quiz .llms-quiz-attempt-results .llms-quiz-attempt-question.status--waiting.correct .llms-status-icon, .single-llms_quiz .llms-quiz-attempt-results .llms-quiz-attempt-question.status--waiting.incorrect .llms-status-icon {
.single-llms_quiz #llms-quiz-wrapper .llms-quiz-attempt-results .llms-quiz-attempt-question.status--waiting.correct .llms-status-icon, .single-llms_quiz #llms-quiz-wrapper .llms-quiz-attempt-results .llms-quiz-attempt-question.status--waiting.incorrect .llms-status-icon {
background-color: #ff922b;
}
.single-llms_quiz .llms-quiz-attempt-results .llms-quiz-attempt-question.status--graded.correct {
.single-llms_quiz #llms-quiz-wrapper .llms-quiz-attempt-results .llms-quiz-attempt-question.status--graded.correct {
background: rgba(131, 195, 115, 0.2);
}
.single-llms_quiz .llms-quiz-attempt-results .llms-quiz-attempt-question.status--graded.correct .llms-status-icon {
.single-llms_quiz #llms-quiz-wrapper .llms-quiz-attempt-results .llms-quiz-attempt-question.status--graded.correct .llms-status-icon {
background-color: #83c373;
}
.single-llms_quiz .llms-quiz-attempt-results .llms-quiz-attempt-question.status--graded.incorrect {
.single-llms_quiz #llms-quiz-wrapper .llms-quiz-attempt-results .llms-quiz-attempt-question.status--graded.incorrect {
background: rgba(229, 85, 78, 0.2);
}
.single-llms_quiz .llms-quiz-attempt-results .llms-quiz-attempt-question.status--graded.incorrect .llms-status-icon {
.single-llms_quiz #llms-quiz-wrapper .llms-quiz-attempt-results .llms-quiz-attempt-question.status--graded.incorrect .llms-status-icon {
background-color: #e5554e;
}
.single-llms_quiz .llms-quiz-attempt-results .llms-quiz-attempt-question pre {
.single-llms_quiz #llms-quiz-wrapper .llms-quiz-attempt-results .llms-quiz-attempt-question pre {
overflow: auto;
}
.single-llms_quiz .llms-quiz-attempt-results .llms-quiz-attempt-question .llms-question-title {
.single-llms_quiz #llms-quiz-wrapper .llms-quiz-attempt-results .llms-quiz-attempt-question .llms-question-title {
float: right;
margin: 0;
line-height: 1;
}
.single-llms_quiz .llms-quiz-attempt-results .llms-quiz-attempt-question .llms-points {
.single-llms_quiz #llms-quiz-wrapper .llms-quiz-attempt-results .llms-quiz-attempt-question .llms-points {
float: left;
line-height: 1;
}
.single-llms_quiz .llms-quiz-attempt-results .llms-quiz-attempt-question .llms-status-icon-tip {
.single-llms_quiz #llms-quiz-wrapper .llms-quiz-attempt-results .llms-quiz-attempt-question .llms-status-icon-tip {
position: absolute;
left: -12px;
top: -2px;
}
.single-llms_quiz .llms-quiz-attempt-results .llms-quiz-attempt-question .llms-status-icon {
.single-llms_quiz #llms-quiz-wrapper .llms-quiz-attempt-results .llms-quiz-attempt-question .llms-status-icon {
color: rgba(255, 255, 255, 0.65);
border-radius: 50%;
font-size: 30px;
Expand All @@ -2091,55 +2092,55 @@ ul.llms-certificates-loop.loop-cols-5 li.llms-certificate-loop-item,
text-align: center;
width: 40px;
}
.single-llms_quiz .llms-quiz-attempt-results .llms-quiz-attempt-question .llms-quiz-attempt-question-main {
.single-llms_quiz #llms-quiz-wrapper .llms-quiz-attempt-results .llms-quiz-attempt-question .llms-quiz-attempt-question-main {
display: none;
padding: 0 10px 10px;
}
.single-llms_quiz .llms-quiz-attempt-results .llms-quiz-attempt-question .llms-quiz-attempt-question-main .llms-quiz-results-label {
.single-llms_quiz #llms-quiz-wrapper .llms-quiz-attempt-results .llms-quiz-attempt-question .llms-quiz-attempt-question-main .llms-quiz-results-label {
font-weight: 700;
margin-bottom: 10px;
}
.single-llms_quiz .llms-quiz-attempt-results .llms-quiz-attempt-question .llms-quiz-attempt-question-main ul.llms-quiz-attempt-answers {
.single-llms_quiz #llms-quiz-wrapper .llms-quiz-attempt-results .llms-quiz-attempt-question .llms-quiz-attempt-question-main ul.llms-quiz-attempt-answers {
margin: 0;
padding: 0;
}
.single-llms_quiz .llms-quiz-attempt-results .llms-quiz-attempt-question .llms-quiz-attempt-question-main ul.llms-quiz-attempt-answers li.llms-quiz-attempt-answer {
.single-llms_quiz #llms-quiz-wrapper .llms-quiz-attempt-results .llms-quiz-attempt-question .llms-quiz-attempt-question-main ul.llms-quiz-attempt-answers li.llms-quiz-attempt-answer {
padding: 0;
margin: 0 30px 0 0;
}
.single-llms_quiz .llms-quiz-attempt-results .llms-quiz-attempt-question .llms-quiz-attempt-question-main ul.llms-quiz-attempt-answers li.llms-quiz-attempt-answer:only-child {
.single-llms_quiz #llms-quiz-wrapper .llms-quiz-attempt-results .llms-quiz-attempt-question .llms-quiz-attempt-question-main ul.llms-quiz-attempt-answers li.llms-quiz-attempt-answer:only-child {
list-style-type: none;
margin-right: 0;
}
.single-llms_quiz .llms-quiz-attempt-results .llms-quiz-attempt-question .llms-quiz-attempt-question-main img {
.single-llms_quiz #llms-quiz-wrapper .llms-quiz-attempt-results .llms-quiz-attempt-question .llms-quiz-attempt-question-main img {
height: auto;
max-width: 200px;
}
.single-llms_quiz .llms-quiz-attempt-results .llms-quiz-attempt-question .llms-quiz-attempt-question-main .llms-quiz-attempt-answer-section {
.single-llms_quiz #llms-quiz-wrapper .llms-quiz-attempt-results .llms-quiz-attempt-question .llms-quiz-attempt-question-main .llms-quiz-attempt-answer-section {
border-top: 2px solid rgba(255, 255, 255, 0.5);
margin-top: 20px;
padding-top: 20px;
}
.single-llms_quiz .llms-quiz-attempt-results .llms-quiz-attempt-question .llms-quiz-attempt-question-main .llms-quiz-attempt-answer-section:first-child {
.single-llms_quiz #llms-quiz-wrapper .llms-quiz-attempt-results .llms-quiz-attempt-question .llms-quiz-attempt-question-main .llms-quiz-attempt-answer-section:first-child {
border-top: none;
margin-top: 0;
padding-top: 0;
}
.single-llms_quiz .llms-quiz-attempt-results .llms-quiz-attempt-question.type--picture_choice ul.llms-quiz-attempt-answers, .single-llms_quiz .llms-quiz-attempt-results .llms-quiz-attempt-question.type--picture_reorder ul.llms-quiz-attempt-answers {
.single-llms_quiz #llms-quiz-wrapper .llms-quiz-attempt-results .llms-quiz-attempt-question.type--picture_choice ul.llms-quiz-attempt-answers, .single-llms_quiz #llms-quiz-wrapper .llms-quiz-attempt-results .llms-quiz-attempt-question.type--picture_reorder ul.llms-quiz-attempt-answers {
list-style-type: none;
margin: 0;
padding: 0;
}
.single-llms_quiz .llms-quiz-attempt-results .llms-quiz-attempt-question.type--picture_choice ul.llms-quiz-attempt-answers li.llms-quiz-attempt-answer, .single-llms_quiz .llms-quiz-attempt-results .llms-quiz-attempt-question.type--picture_reorder ul.llms-quiz-attempt-answers li.llms-quiz-attempt-answer {
.single-llms_quiz #llms-quiz-wrapper .llms-quiz-attempt-results .llms-quiz-attempt-question.type--picture_choice ul.llms-quiz-attempt-answers li.llms-quiz-attempt-answer, .single-llms_quiz #llms-quiz-wrapper .llms-quiz-attempt-results .llms-quiz-attempt-question.type--picture_reorder ul.llms-quiz-attempt-answers li.llms-quiz-attempt-answer {
display: inline-block;
list-style-type: none;
margin: 0;
padding: 5px;
}
.single-llms_quiz .llms-quiz-attempt-results .llms-quiz-attempt-question.type--removed {
.single-llms_quiz #llms-quiz-wrapper .llms-quiz-attempt-results .llms-quiz-attempt-question.type--removed {
opacity: 0.5;
}
.single-llms_quiz .llms-quiz-attempt-results .llms-quiz-attempt-question.type--removed .llms-question-title {
.single-llms_quiz #llms-quiz-wrapper .llms-quiz-attempt-results .llms-quiz-attempt-question.type--removed .llms-question-title {
font-style: italic;
font-weight: normal;
}
Expand Down Expand Up @@ -2183,9 +2184,12 @@ ul.llms-certificates-loop.loop-cols-5 li.llms-certificate-loop-item,
}
.single-llms_quiz .llms-quiz-results .llms-quiz-results-main,
.single-llms_quiz .llms-quiz-results .llms-quiz-results-history {
float: right;
float: left;
width: calc(100% - 300px);
}
.single-llms_quiz .llms-quiz-results .llms-quiz-results-history {
clear: left;
}
}
.single-llms_quiz ul.llms-quiz-meta-info,
.single-llms_quiz ul.llms-quiz-meta-info li {
Expand Down
2 changes: 1 addition & 1 deletion assets/css/lifterlms-rtl.min.css

Large diffs are not rendered by default.

Loading

0 comments on commit b257ecb

Please sign in to comment.