LearnPress 4.2.3.3-beta-3

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

Summary

Errors
1Unrecognized messages in the PHP error log
2JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

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

Page speed impact: 0.207 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=768312d243
Aspect after-activation
HTTP status 200
Load time 1.430 s
Memory usage 4.39 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.581 s
Memory usage 4.19 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.388 s
Memory usage 4.19 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.297 s
Memory usage 4.19 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.280 s
Memory usage 4.19 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.262 s
Memory usage 4.19 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.321 s
Memory usage 4.07 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.395 s
Memory usage 4.07 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.352 s
Memory usage 4.11 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.318 s
Memory usage 4.1 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.293 s
Memory usage 4.1 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.282 s
Memory usage 4.11 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.433 s
Memory usage 4.05 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.837 s
Memory usage 8.38 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.400 s
Memory usage 4.23 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.269 s
Memory usage 4.14 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.334 s
Memory usage 4.11 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.351 s
Memory usage 4.22 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.562 s
Memory usage 4.18 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.313 s
Memory usage 4.13 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.300 s
Memory usage 4.1 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.626 s
Memory usage 4.14 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.377 s
Memory usage 4.11 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.296 s
Memory usage 4.12 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.523 s
Memory usage 4.07 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.325 s
Memory usage 3.93 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.470 s
Memory usage 4.2 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.180 s
Memory usage 6.56 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=64d1a28c351f2:25:131)\n    at __webpack_require__ (/wp-content/plugins/learnpress/assets/js/dist/blocks/archive-course.js?ver=64d1a28c351f2:174: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=64d1a28c351f2:48:74)\n    at __webpack_require__ (/wp-content/plugins/learnpress/assets/js/dist/blocks/archive-course.js?ver=64d1a28c351f2:174:41)\n    at /wp-content/plugins/learnpress/assets/js/dist/blocks/archive-course.js?ver=64d1a28c351f2:229:63\n    at /wp-content/plugins/learnpress/assets/js/dist/blocks/archive-course.js?ver=64d1a28c351f2:246:3\n    at /wp-content/plugins/learnpress/assets/js/dist/blocks/archive-course.js?ver=64d1a28c351f2:248: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=64d1a28c35205:25:131)\n    at __webpack_require__ (/wp-content/plugins/learnpress/assets/js/dist/blocks/single-course.js?ver=64d1a28c35205:174: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=64d1a28c35205:48:74)\n    at __webpack_require__ (/wp-content/plugins/learnpress/assets/js/dist/blocks/single-course.js?ver=64d1a28c35205:174:41)\n    at /wp-content/plugins/learnpress/assets/js/dist/blocks/single-course.js?ver=64d1a28c35205:229:63\n    at /wp-content/plugins/learnpress/assets/js/dist/blocks/single-course.js?ver=64d1a28c35205:246:3\n    at /wp-content/plugins/learnpress/assets/js/dist/blocks/single-course.js?ver=64d1a28c35205:248:12",
        "trace": null,
        "code": null
    }
]
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.262 s0.563 s+0.301 s3.07 MiB4.2 MiB+ 1.13 MiB
/wp-admin/edit.php0.170 s0.336 s+0.166 s3.1 MiB4.22 MiB+ 1.12 MiB
/wp-admin/post-new.php0.718 s1.318 s+0.600 s5.02 MiB6.62 MiB+ 1.6 MiB
/wp-admin/upload.php0.560 s0.741 s+0.181 s3.02 MiB4.08 MiB+ 1.06 MiB
/wp-admin/options-writing.php0.157 s0.312 s+0.155 s3.01 MiB4.06 MiB+ 1.05 MiB
/wp-admin/media-new.php0.483 s0.361 s-0.122 s2.99 MiB4.06 MiB+ 1.07 MiB
/wp-admin/edit-tags.php?taxonomy=category0.170 s0.289 s+0.119 s3.01 MiB4.08 MiB+ 1.07 MiB
/wp-admin/post-new.php?post_type=page0.662 s0.938 s+0.276 s5.02 MiB6.61 MiB+ 1.59 MiB
/wp-admin/options-discussion.php0.180 s0.510 s+0.330 s3 MiB4.06 MiB+ 1.06 MiB
/wp-admin/edit-comments.php0.186 s0.476 s+0.290 s3.03 MiB4.15 MiB+ 1.13 MiB
/0.280 s0.256 s-0.024 s2.97 MiB3.93 MiB+ 979.14 KiB
Average 0.348 s0.555 s+0.207 s3.39 MiB4.55 MiB+ 1.17 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.0%72,71032,312696
CSS24.5%31,77529415
JavaScript10.4%13,469953166
PO File5.7%7,4344,9742
XML3.3%4,22803
JSON0.1%15806
Markdown0.1%11201
SVG0.0%2307
HTML0.0%4144
Total 129,913 38,547 900

PHP Code Analysis | More results »

Lines of code 59,641
Total complexity 11,727
Median class complexity 11.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 338
Methods 3,113
Functions 556

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 1 lines

[08-Aug-2023 02:03:18 UTC] cURL error 28: Operation timed out after 5001 milliseconds with 0 out of 0 bytes received
See also: All tests for this plugin, How to Hide LearnPress Admin Menus and More