LearnPress 4.2.3.5

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

Summary

Errors
No PHP errors, warnings or notices
2JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

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

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

Environment
WordPress version6.3.1
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=2f8ca4e023
Aspect after-activation
HTTP status 200
Load time 1.575 s
Memory usage 4.12 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.444 s
Memory usage 3.93 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.322 s
Memory usage 3.93 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.320 s
Memory usage 3.93 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.349 s
Memory usage 3.93 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.298 s
Memory usage 3.92 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.316 s
Memory usage 3.81 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.422 s
Memory usage 3.81 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.646 s
Memory usage 3.84 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.351 s
Memory usage 3.84 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.354 s
Memory usage 3.84 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.349 s
Memory usage 3.84 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.339 s
Memory usage 3.79 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 1.903 s
Memory usage 8.11 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.541 s
Memory usage 3.98 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.432 s
Memory usage 3.88 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.322 s
Memory usage 3.84 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.276 s
Memory usage 3.95 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.582 s
Memory usage 3.91 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.334 s
Memory usage 3.87 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.317 s
Memory usage 3.83 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.585 s
Memory usage 3.87 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.382 s
Memory usage 3.85 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.408 s
Memory usage 3.85 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.372 s
Memory usage 3.8 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.242 s
Memory usage 4.04 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.520 s
Memory usage 3.94 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 2.486 s
Memory usage 6.71 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read properties of undefined (reading 'SVG')\n    at Object../node_modules/@wordpress/icons/build-module/library/page.js (/wp-content/plugins/learnpress/assets/js/dist/blocks/archive-course.js?ver=6502d923399b8:21:131)\n    at __webpack_require__ (/wp-content/plugins/learnpress/assets/js/dist/blocks/archive-course.js?ver=6502d923399b8:172:41)\n    at Object../assets/src/apps/js/blocks/archive-course/edit.js (/wp-content/plugins/learnpress/assets/js/dist/blocks/archive-course.js?ver=6502d923399b8:44:74)\n    at __webpack_require__ (/wp-content/plugins/learnpress/assets/js/dist/blocks/archive-course.js?ver=6502d923399b8:172:41)\n    at /wp-content/plugins/learnpress/assets/js/dist/blocks/archive-course.js?ver=6502d923399b8:227:63\n    at /wp-content/plugins/learnpress/assets/js/dist/blocks/archive-course.js?ver=6502d923399b8:244:2\n    at /wp-content/plugins/learnpress/assets/js/dist/blocks/archive-course.js?ver=6502d923399b8:245:12",
        "trace": null,
        "code": null
    },
    {
        "message": "TypeError: Cannot read properties of undefined (reading 'SVG')\n    at Object../node_modules/@wordpress/icons/build-module/library/page.js (/wp-content/plugins/learnpress/assets/js/dist/blocks/single-course.js?ver=6502d923399cc:21:131)\n    at __webpack_require__ (/wp-content/plugins/learnpress/assets/js/dist/blocks/single-course.js?ver=6502d923399cc:172:41)\n    at Object../assets/src/apps/js/blocks/single-course/edit.js (/wp-content/plugins/learnpress/assets/js/dist/blocks/single-course.js?ver=6502d923399cc:44:74)\n    at __webpack_require__ (/wp-content/plugins/learnpress/assets/js/dist/blocks/single-course.js?ver=6502d923399cc:172:41)\n    at /wp-content/plugins/learnpress/assets/js/dist/blocks/single-course.js?ver=6502d923399cc:227:63\n    at /wp-content/plugins/learnpress/assets/js/dist/blocks/single-course.js?ver=6502d923399cc:244:2\n    at /wp-content/plugins/learnpress/assets/js/dist/blocks/single-course.js?ver=6502d923399cc:245:12",
        "trace": null,
        "code": null
    }
]
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.302 s0.639 s+0.337 s2.82 MiB3.94 MiB+ 1.12 MiB
/wp-admin/edit.php0.193 s0.412 s+0.219 s2.85 MiB3.95 MiB+ 1.11 MiB
/wp-admin/post-new.php0.717 s1.065 s+0.348 s5.21 MiB6.8 MiB+ 1.59 MiB
/wp-admin/upload.php0.536 s0.740 s+0.204 s2.77 MiB3.81 MiB+ 1.05 MiB
/wp-admin/options-writing.php0.203 s0.441 s+0.238 s2.76 MiB3.8 MiB+ 1.04 MiB
/wp-admin/media-new.php0.308 s0.289 s-0.019 s2.74 MiB3.8 MiB+ 1.06 MiB
/wp-admin/edit-tags.php?taxonomy=category0.178 s0.322 s+0.144 s2.76 MiB3.82 MiB+ 1.06 MiB
/wp-admin/post-new.php?post_type=page0.555 s0.752 s+0.197 s5.21 MiB6.8 MiB+ 1.59 MiB
/wp-admin/options-discussion.php0.199 s0.423 s+0.224 s2.75 MiB3.8 MiB+ 1.05 MiB
/wp-admin/edit-comments.php0.184 s0.335 s+0.151 s2.78 MiB3.83 MiB+ 1.05 MiB
/0.259 s0.341 s+0.082 s3.13 MiB4.04 MiB+ 929.5 KiB
Average 0.330 s0.524 s+0.193 s3.25 MiB4.4 MiB+ 1.15 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
PHP56.3%74,24932,142720
CSS24.1%31,80330017
JavaScript10.5%13,860966168
PO File5.6%7,4344,9742
XML3.2%4,22803
JSON0.1%15806
Markdown0.1%11201
SVG0.0%2309
HTML0.0%4144
Total 131,871 38,396 930

PHP Code Analysis | More results »

Lines of code 60,816
Total complexity 11,811
Median class complexity 10.0
Median method complexity 2.0
Most complex class LP_Page_Controller
Most complex function LP_REST_Jwt_Posts_Controller::prepare_item_for_database()
Classes 353
Methods 3,139
Functions 557

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 13

Options wp_options 19

User Metadata wp_usermeta 1

Custom Post Types 5

ID Name
lp_courseCourses
lp_lessonLessons
lp_quizQuizzes
lp_questionQuestion Bank
lp_orderOrders

Sidebar Widgets 7

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
learnpress_widget_course_filterLearnPress - Course Filter

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

The log file is empty.

See also: All tests for this plugin, How to Hide LearnPress Admin Menus and More