LearnPress Version 18.104.22.168
~ Modified: read items, read course sections. (optimize reading speed)
Adjust the way to read course items and course sections. Instead of querying joins from learnpress_section_items and learnpress_sections tables. This process will be called one time only when course and cache are saved in post_meta as ‘_lp_info_extra_fast_query’ meta key. From now, the reading data order will start from Cache (if available) to (post_meta)(if available) as course ID, reduce heavy query.
~ Modified: ‘set_viewing_item’ method.
Optimize code, remove redundant code, add new code following new data standard. In the future, “view course” will not be misunderstood as “view item”.
~ Modified: set thumbnail image size on the ‘Profile Page’ by width setting on ‘Avatar Dimensions’.
Remove profile avatar frame, allow you to set full image as your profile avatar, image will no longer be cropped.
~ Fixed: LP_Shortcode_Course_Curriculum with Elementor error.
~ Sanitize, ESC.
Fix security issues.
~ Deleted: attributes folder and following files: ‘class-lp-gdpr.php’, ‘class-lp-hard-cache.php’, ‘class-lp-repair-database.php’, ‘class-lp-utils.php’.
Remove redundant folder and files.
~ Clear, optimize codes.
Optimize, reorganize code, improve plugin loading speed.
~ Style: FAQs on single course, spacing items progress, space in single tab.
~ Fixed: ESC course content ESC error, course items make iframe and embed not working.
~ Fixed: Complete lesson error when do quiz on mobile app.