diff --git a/README.html b/README.html
index 169cde0029..089d9a4e0a 100644
--- a/README.html
+++ b/README.html
@@ -13,7 +13,7 @@
Shortcodes
-Debug: lms_log($message)
+Debug: llms_log($message)
*Logs message to wp-contents/debug.log
@@ -24,6 +24,25 @@ Examples
CHANGELOG
+v1.2.3 - 2015-03-12
+
+
+- Achievement design and functionality updates
+- Achievemnt shortcode added
+- Better searching added to engagement screen
+- Achievement bug fixes
+- On screen error reporting added to activation for trouble shooting
+- Custom engagement methods added to certificate, achievement and sections
+- Corrected new user registration engagement bug
+- LifterLMS access reduced from manage_options to edit_posts
+- Filters added to analytics to allow custom developement
+- Engagment bug fix: Section and Lesson bug select
+- Syllabus bug corrected: No longer displays lessons in section box if no sections exist.
+- Removed depreciated achievement template
+- Membership Bug fix: Membership restriction will now only display on single posts.
+
+
+
v1.2.2 - 2015-02-23
diff --git a/README.md b/README.md
index e0ab32b5a1..b39f39cbd9 100644
--- a/README.md
+++ b/README.md
@@ -11,7 +11,7 @@ LIFTER LMS
**Accepts arguments: order, orderby and per_page
-###Debug: lms_log($message)
+###Debug: llms_log($message)
*Logs message to wp-contents/debug.log
####Examples
@@ -25,6 +25,23 @@ LIFTER LMS
CHANGELOG
=========
+v1.2.3 - 2015-03-12
+-------------------
++ Achievement design and functionality updates
++ Achievemnt shortcode added
++ Better searching added to engagement screen
++ Achievement bug fixes
++ On screen error reporting added to activation for trouble shooting
++ Custom engagement methods added to certificate, achievement and sections
++ Corrected new user registration engagement bug
++ LifterLMS access reduced from manage_options to edit_posts
++ Filters added to analytics to allow custom developement
++ Engagment bug fix: Section and Lesson bug select
++ Syllabus bug corrected: No longer displays lessons in section box if no sections exist.
++ Removed depreciated achievement template
++ Membership Bug fix: Membership restriction will now only display on single posts.
+
+
v1.2.2 - 2015-02-23
-------------------
+ Corrected drip content bug
diff --git a/includes/class.llms.ajax.php b/includes/class.llms.ajax.php
index 61b1d638be..d8c18accb5 100644
--- a/includes/class.llms.ajax.php
+++ b/includes/class.llms.ajax.php
@@ -52,7 +52,6 @@ public function __construct() {
* @return array
*/
public function get_all_posts(){
- llms_log( $_REQUEST );
$post_type = llms_clean( $_REQUEST['post_type'] );
diff --git a/includes/class.llms.emails.php b/includes/class.llms.emails.php
index e13c720a80..da072a9e6b 100644
--- a/includes/class.llms.emails.php
+++ b/includes/class.llms.emails.php
@@ -256,7 +256,7 @@ function lesson_completed( $person_id, $email_id ) {
function custom_email_earned( $person_id, $email_id, $engagement_id ) {
if ( ! $person_id )
return;
-llms_log('made it to the email method custom email earned');
+
$email = $this->emails['LLMS_Email_Engagement'];
$email->trigger( $person_id, $email_id );
diff --git a/includes/class.llms.engagements.php b/includes/class.llms.engagements.php
index 72f40de3f1..84149e747d 100644
--- a/includes/class.llms.engagements.php
+++ b/includes/class.llms.engagements.php
@@ -127,8 +127,7 @@ public function get_engagement_hooks($lesson_id) {
* @return void
*/
public function llms_user_register($user) {
- llms_log('made it here');
-llms_log( $user);
+
if ( ! $user )
return;
@@ -149,14 +148,14 @@ public function llms_user_register($user) {
$all_posts = get_posts($args);
if ($all_posts) {
-llms_log( $all_posts);
+
foreach ( $all_posts as $key => $value ) {
$engagement_meta = get_post_meta($value->ID);
$achievement_id = $engagement_meta['_llms_engagement'][0];
if ($engagement_meta['_llms_engagement_type'][0] == 'email') {
- llms_log( 'found email');
+
do_action( 'lifterlms_custom_engagement', $user, $achievement_id, $value->ID );
}
diff --git a/includes/functions/llms.functions.access.php b/includes/functions/llms.functions.access.php
index d789d17761..ced377d787 100644
--- a/includes/functions/llms.functions.access.php
+++ b/includes/functions/llms.functions.access.php
@@ -92,7 +92,6 @@ function llms_page_restricted($post_id) {
'is_restricted' => $restricted,
'reason' => $reason
);
- llms_log( $results );
return apply_filters( 'llms_page_restricted', $results );
diff --git a/includes/widgets/class.llms.widget.course.syllabus.php b/includes/widgets/class.llms.widget.course.syllabus.php
index 15a69c50b6..01fff3f7fe 100644
--- a/includes/widgets/class.llms.widget.course.syllabus.php
+++ b/includes/widgets/class.llms.widget.course.syllabus.php
@@ -45,15 +45,8 @@ public function widget_contents() {
$course_syllabus = $course->get_syllabus();
- //if ( LLMS_Course::check_enrollment( $course->id, get_current_user_id() ) ) {
- // $syllabus = $course_syllabus;
- //} else {
- $syllabus = $course->get_student_progress();
- //}
-
-
- llms_log($syllabus);
- //var_dump( $syllabus );
+ $syllabus = $course->get_student_progress();
+
$html = '