LearnPress 4.2.2.4

Does LearnPress work with WordPress 6.2.2 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
1PHP notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 1.05 MiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.118 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version6.2.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 90,000+
WordPress.org page https://wordpress.org/plugins/learnpress/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 28

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?plugin_status=all&paged=1&s
Requested URL /wp-admin/plugins.php?action=activate&plugin=learnpress%2Flearnpress.php&plugin_status=all&paged=1&s&_wpnonce=acd101f664
Aspect after-activation
HTTP status 200
Load time 1.464 s
Memory usage 4.22 MiB
JS errors None
Resource errors None

LearnPress

Page screenshot: LearnPress
URL /wp-admin/edit.php?post_type=lp_course
Aspect menu-item
HTTP status 200
Load time 0.347 s
Memory usage 4.09 MiB
JS errors None
Resource errors None

LearnPress → Lessons

Page screenshot: LearnPress → Lessons
URL /wp-admin/edit.php?post_type=lp_lesson
Aspect menu-item
HTTP status 200
Load time 0.239 s
Memory usage 4.09 MiB
JS errors None
Resource errors None

LearnPress → Quizzes

Page screenshot: LearnPress → Quizzes
URL /wp-admin/edit.php?post_type=lp_quiz
Aspect menu-item
HTTP status 200
Load time 0.249 s
Memory usage 4.09 MiB
JS errors None
Resource errors None

LearnPress → Questions

Page screenshot: LearnPress → Questions
URL /wp-admin/edit.php?post_type=lp_question
Aspect menu-item
HTTP status 200
Load time 0.244 s
Memory usage 4.09 MiB
JS errors None
Resource errors None

LearnPress → Orders

Page screenshot: LearnPress → Orders
URL /wp-admin/edit.php?post_type=lp_order
Aspect menu-item
HTTP status 200
Load time 0.231 s
Memory usage 4.08 MiB
JS errors None
Resource errors None

LearnPress → Categories

Page screenshot: LearnPress → Categories
URL /wp-admin/edit-tags.php?taxonomy=course_category
Aspect menu-item
HTTP status 200
Load time 0.263 s
Memory usage 3.95 MiB
JS errors None
Resource errors None

LearnPress → Tags

Page screenshot: LearnPress → Tags
URL /wp-admin/edit-tags.php?taxonomy=course_tag
Aspect menu-item
HTTP status 200
Load time 0.312 s
Memory usage 3.95 MiB
JS errors None
Resource errors None

LearnPress → Statistics

Page screenshot: LearnPress → Statistics
URL /wp-admin/admin.php?page=learn-press-statistics
Aspect menu-item
HTTP status 200
Load time 0.272 s
Memory usage 3.97 MiB
JS errors None
Resource errors None

LearnPress → Statistics → Users

Page screenshot: LearnPress → Statistics → Users
URL /wp-admin/admin.php?page=learn-press-statistics&tab=users
Aspect menu-item-tab
HTTP status 200
Load time 0.278 s
Memory usage 3.96 MiB
JS errors None
Resource errors None

LearnPress → Statistics → Courses

Page screenshot: LearnPress → Statistics → Courses
URL /wp-admin/admin.php?page=learn-press-statistics&tab=courses
Aspect menu-item-tab
HTTP status 200
Load time 0.243 s
Memory usage 3.96 MiB
JS errors None
Resource errors None

LearnPress → Statistics → Orders

Page screenshot: LearnPress → Statistics → Orders
URL /wp-admin/admin.php?page=learn-press-statistics&tab=orders
Aspect menu-item-tab
HTTP status 200
Load time 0.259 s
Memory usage 3.97 MiB
JS errors None
Resource errors None

LearnPress → Add-ons

Page screenshot: LearnPress → Add-ons
URL /wp-admin/admin.php?page=learn-press-addons
Aspect menu-item
HTTP status 200
Load time 0.303 s
Memory usage 3.93 MiB
JS errors None
Resource errors None

LearnPress → Themes

Page screenshot: LearnPress → Themes
URL /wp-admin/admin.php?page=learn-press-themes
Aspect menu-item
HTTP status 200
Load time 2.170 s
Memory usage 8.2 MiB
JS errors None
Resource errors None

LearnPress → Settings

Page screenshot: LearnPress → Settings
URL /wp-admin/admin.php?page=learn-press-settings
Aspect menu-item
HTTP status 200
Load time 0.359 s
Memory usage 4.1 MiB
JS errors None
Resource errors None

LearnPress → Settings → Courses

Page screenshot: LearnPress → Settings → Courses
URL /wp-admin/admin.php?page=learn-press-settings&tab=courses
Aspect menu-item-tab
HTTP status 200
Load time 0.258 s
Memory usage 3.98 MiB
JS errors None
Resource errors None

LearnPress → Settings → Profile

Page screenshot: LearnPress → Settings → Profile
URL /wp-admin/admin.php?page=learn-press-settings&tab=profile
Aspect menu-item-tab
HTTP status 200
Load time 0.287 s
Memory usage 3.98 MiB
JS errors None
Resource errors None

LearnPress → Settings → Payments

Page screenshot: LearnPress → Settings → Payments
URL /wp-admin/admin.php?page=learn-press-settings&tab=payments
Aspect menu-item-tab
HTTP status 200
Load time 0.241 s
Memory usage 4.1 MiB
JS errors None
Resource errors None

LearnPress → Settings → Emails

Page screenshot: LearnPress → Settings → Emails
URL /wp-admin/admin.php?page=learn-press-settings&tab=emails
Aspect menu-item-tab
HTTP status 200
Load time 0.490 s
Memory usage 4.06 MiB
JS errors None
Resource errors None

LearnPress → Settings → Permalinks

Page screenshot: LearnPress → Settings → Permalinks
URL /wp-admin/admin.php?page=learn-press-settings&tab=permalink
Aspect menu-item-tab
HTTP status 200
Load time 0.253 s
Memory usage 4.01 MiB
JS errors None
Resource errors None

LearnPress → Settings → Advanced

Page screenshot: LearnPress → Settings → Advanced
URL /wp-admin/admin.php?page=learn-press-settings&tab=advanced
Aspect menu-item-tab
HTTP status 200
Load time 0.241 s
Memory usage 3.98 MiB
JS errors None
Resource errors None

LearnPress → Tools

Page screenshot: LearnPress → Tools
URL /wp-admin/admin.php?page=learn-press-tools
Aspect menu-item
HTTP status 200
Load time 0.441 s
Memory usage 4 MiB
JS errors None
Resource errors None

LearnPress → Tools → Database

Page screenshot: LearnPress → Tools → Database
URL /wp-admin/admin.php?page=learn-press-tools&tab=database
Aspect menu-item-tab
HTTP status 200
Load time 0.331 s
Memory usage 3.99 MiB
JS errors None
Resource errors None

LearnPress → Tools → Templates

Page screenshot: LearnPress → Tools → Templates
URL /wp-admin/admin.php?page=learn-press-tools&tab=template
Aspect menu-item-tab
HTTP status 200
Load time 0.436 s
Memory usage 3.98 MiB
JS errors None
Resource errors None

LearnPress → Tools → LearnPress Beta Version

Page screenshot: LearnPress → Tools → LearnPress Beta Version
URL /wp-admin/admin.php?page=learn-press-tools&tab=lp_beta_version
Aspect menu-item-tab
HTTP status 200
Load time 0.396 s
Memory usage 3.95 MiB
JS errors None
Resource errors None

Test site – Just another WordPress site

Page screenshot: Test site – Just another WordPress site
URL /
Aspect front-page
HTTP status 200
Load time 0.249 s
Memory usage 3.85 MiB
JS errors None
Resource errors None

Dashboard ‹ Test site — WordPress

Page screenshot: Dashboard ‹ Test site — WordPress
URL /wp-admin/index.php
Aspect new-meta-boxes
HTTP status 200
Load time 0.379 s
Memory usage 4.09 MiB
JS errors None
Resource errors None

Widgets ‹ Test site — WordPress

Page screenshot: Widgets ‹ Test site — WordPress
URL /wp-admin/widgets.php
Aspect new-sidebar-widgets
HTTP status 200
Load time 1.095 s
Memory usage 6.45 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.777 s0.449 s-0.328 s3.07 MiB4.09 MiB+ 1.01 MiB
/wp-admin/edit.php0.175 s0.304 s+0.129 s3.1 MiB4.11 MiB+ 1.01 MiB
/wp-admin/post-new.php0.693 s1.078 s+0.385 s5.02 MiB6.5 MiB+ 1.48 MiB
/wp-admin/upload.php0.490 s0.674 s+0.184 s3.02 MiB3.96 MiB+ 963.08 KiB
/wp-admin/options-writing.php0.155 s0.250 s+0.095 s3.01 MiB3.94 MiB+ 951.97 KiB
/wp-admin/media-new.php0.266 s0.325 s+0.059 s2.99 MiB3.94 MiB+ 972.33 KiB
/wp-admin/edit-tags.php?taxonomy=category0.198 s0.278 s+0.080 s3.01 MiB3.96 MiB+ 977.77 KiB
/wp-admin/post-new.php?post_type=page0.586 s0.983 s+0.397 s5.01 MiB6.49 MiB+ 1.48 MiB
/wp-admin/options-discussion.php0.203 s0.438 s+0.235 s3 MiB3.94 MiB+ 965.7 KiB
/wp-admin/edit-comments.php0.189 s0.312 s+0.123 s3.03 MiB3.97 MiB+ 967.22 KiB
/0.287 s0.223 s-0.064 s2.97 MiB3.85 MiB+ 903.79 KiB
Average 0.365 s0.483 s+0.118 s3.38 MiB4.43 MiB+ 1.05 MiB

Code Statistics

Note: Third-party libraries and minified JS/CSS files are excluded from these statistics where possible, so the numbers you see here may be lower than those reported by other tools.

PHP
CSS
JavaScript
Language % Lines of code Comment lines Files
PHP55.2%67,47230,478641
CSS24.7%30,24126611
JavaScript10.3%12,657818163
PO File6.1%7,4344,9742
XML3.5%4,22803
JSON0.1%16806
Markdown0.1%11201
HTML0.0%5185
Total 122,317 36,554 832

PHP Code Analysis | More results »

Lines of code 55,814
Total complexity 11,169
Median class complexity 12.0
Median method complexity 2.0
Most complex class LP_Jwt_Users_V1_Controller
Most complex function LP_REST_Jwt_Posts_Controller::prepare_item_for_database()
Classes 305
Methods 2,942
Functions 558

Additions

Things that the plugin adds to the site. This section is not intended to be comprehensive. The test tool only looks for a few specific types of added content.

Database Tables 12

Options wp_options 15

User Metadata wp_usermeta 1

Custom Post Types 5

ID Name
lp_courseCourses
lp_lessonLessons
lp_quizQuizzes
lp_questionQuestion Bank
lp_orderOrders

Sidebar Widgets 6

ID Name
learnpress_widget_course_extraLearnPress - Course Extra
learnpress_widget_course_infoLearnPress - Course Info
learnpress_widget_course_progressLearnPress - Course Progress
learnpress_widget_course_featuredLearnPress - Featured Courses
learnpress_widget_course_popularLearnPress - Popular Courses
learnpress_widget_course_recentLearnPress - Recent Courses

Meta Boxes

{
    "dashboard": {
        "learn_press_dashboard_order_statuses": {
            "title": "LearnPress order status",
            "context": "normal"
        },
        "learn_press_dashboard_plugin_status": {
            "title": "LearnPress status",
            "context": "normal"
        }
    },
    "lp_course": {
        "course-editor": {
            "title": "Curriculum",
            "context": "normal"
        },
        "course-settings": {
            "title": "Course Settings",
            "context": "normal"
        }
    },
    "lp_lesson": {
        "lesson_assigned": {
            "title": "Assigned",
            "context": "side"
        },
        "lesson_settings": {
            "title": "Lesson Settings",
            "context": "normal"
        }
    },
    "lp_quiz": {
        "quiz_assigned": {
            "title": "Assigned",
            "context": "side"
        },
        "quiz-editor": {
            "title": "Questions",
            "context": "normal"
        },
        "quiz_settings": {
            "title": "Quiz Settings",
            "context": "normal"
        }
    },
    "lp_question": {
        "question_assigned": {
            "title": "Assigned",
            "context": "side"
        },
        "question-editor": {
            "title": "Answer Options",
            "context": "normal"
        },
        "question_settings": {
            "title": "Question Settings",
            "context": "normal"
        }
    },
    "lp_order": {
        "order_details": {
            "title": "Order Details",
            "context": "normal"
        },
        "submitdiv": {
            "title": "Order Actions",
            "context": "side"
        },
        "order_exports": {
            "title": "Order Exports",
            "context": "side"
        }
    }
}

Roles 1

ID Name
lp_teacherLP Instructor

Capabilities 29

PHP Error Log 1 lines

[20-May-2023 09:59:21 UTC] PHP Notice:  Function wp_enqueue_script() was called <strong>incorrectly</strong>. "wp-editor" script should not be enqueued together with the new widgets editor (wp-edit-widgets or wp-customize-widgets). Please see <a href="https://wordpress.org/documentation/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.8.0.) in /wp-includes/functions.php on line 5865
See also: All tests for this plugin, How to Hide LearnPress Admin Menus and More