PluginProbe
Tutor LMS – eLearning and online course solution / 2.2.2
Tutor LMS – eLearning and online course solution v2.2.2
4.0.7 4.0.6 4.0.5 4.0.4 4.0.3 4.0.2 4.0.1 4.0.0 3.9.15 3.9.14 3.9.13 3.9.12 3.9.11 trunk 1.0.0 1.0.0-alpha 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.0.8 1.0.9 All 191 releases
← All changes | classes/Tools.php +1 -5 4.0.72.2.2 View file →
@@ -53,14 +53,10 @@
53 53 $option_key = tutor_utils()->array_get( 'option_key', $page );
54 54 $page_id = tutor_utils()->array_get( 'page_id', $page );
55 55
56 56 $page_content = '';
57 - if ( 'tutor_login_page' === $option_key ) {
57 + if ( $option_key === 'tutor_login_page' ) {
58 58 $page_content = '[tutor_login]';
59 - }
60 -
61 - if ( 'membership_pricing_page_id' === $option_key ) {
62 - $page_content = '[tutor_membership_pricing]';
63 59 }
64 60
65 61 if ( ! $visible ) {
66 62 $page_arg = array(