LearnPress 4.2.6.7

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

Summary

Errors
No PHP errors, warnings or notices
6JavaScript 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.121 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version6.5.3
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 30

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=db7adc928d
Aspect after-activation
HTTP status 200
Load time 1.241 s
Memory usage 4.74 MiB
JS errors
[
    {
        "message": "TypeError: e(...).LP is not a function\n    at HTMLDocument.<anonymous> (/wp-content/plugins/learnpress/assets/js/dist/admin/admin.min.js?ver=4.2.6.7:1:2613)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-polyfill-inert,regenerator-runtime,wp-polyfill,wp-hooks&ver=6.5.3:2:27028)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-polyfill-inert,regenerator-runtime,wp-polyfill,wp-hooks&ver=6.5.3:2:27330)",
        "trace": null,
        "code": null
    }
]
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.402 s
Memory usage 4.54 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.299 s
Memory usage 4.55 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.278 s
Memory usage 4.54 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.285 s
Memory usage 4.55 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.274 s
Memory usage 4.55 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.264 s
Memory usage 4.41 MiB
JS errors
[
    {
        "message": "TypeError: e(...).LP is not a function\n    at HTMLDocument.<anonymous> (/wp-content/plugins/learnpress/assets/js/dist/admin/admin.min.js?ver=4.2.6.7:1:2613)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-polyfill-inert,regenerator-runtime,wp-polyfill,wp-hooks&ver=6.5.3:2:27028)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-polyfill-inert,regenerator-runtime,wp-polyfill,wp-hooks&ver=6.5.3:2:27330)",
        "trace": null,
        "code": null
    }
]
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.254 s
Memory usage 4.41 MiB
JS errors
[
    {
        "message": "TypeError: e(...).LP is not a function\n    at HTMLDocument.<anonymous> (/wp-content/plugins/learnpress/assets/js/dist/admin/admin.min.js?ver=4.2.6.7:1:2613)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-polyfill-inert,regenerator-runtime,wp-polyfill,wp-hooks&ver=6.5.3:2:27028)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-polyfill-inert,regenerator-runtime,wp-polyfill,wp-hooks&ver=6.5.3:2:27330)",
        "trace": null,
        "code": null
    }
]
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.551 s
Memory usage 4.47 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.303 s
Memory usage 4.47 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.296 s
Memory usage 4.47 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.495 s
Memory usage 4.47 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.291 s
Memory usage 4.4 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.904 s
Memory usage 8.65 MiB
JS errors
[
    {
        "message": "TypeError: e(...).LP is not a function\n    at HTMLDocument.<anonymous> (/wp-content/plugins/learnpress/assets/js/dist/admin/admin.min.js?ver=4.2.6.7:1:2613)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-polyfill-inert,regenerator-runtime,wp-polyfill,wp-hooks&ver=6.5.3:2:27028)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-polyfill-inert,regenerator-runtime,wp-polyfill,wp-hooks&ver=6.5.3:2:27330)",
        "trace": null,
        "code": null
    }
]
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.468 s
Memory usage 4.62 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.292 s
Memory usage 4.51 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.282 s
Memory usage 4.47 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.256 s
Memory usage 4.58 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.492 s
Memory usage 4.54 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.290 s
Memory usage 4.49 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.301 s
Memory usage 4.46 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.699 s
Memory usage 4.5 MiB
JS errors None
Resource errors None

LearnPress → Tools → Assign/Unassigned Course

Page screenshot: LearnPress → Tools → Assign/Unassigned Course
URL /wp-admin/admin.php?page=learn-press-tools&tab=assign_course
Aspect menu-item-tab
HTTP status 200
Load time 0.424 s
Memory usage 4.46 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.321 s
Memory usage 4.47 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.315 s
Memory usage 4.48 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.360 s
Memory usage 4.42 MiB
JS errors None
Resource errors None

LearnPress → Tools → Cache

Page screenshot: LearnPress → Tools → Cache
URL /wp-admin/admin.php?page=learn-press-tools&tab=cache
Aspect menu-item-tab
HTTP status 200
Load time 0.312 s
Memory usage 4.44 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.283 s
Memory usage 4.3 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.498 s
Memory usage 4.56 MiB
JS errors
[
    {
        "message": "TypeError: e(...).LP is not a function\n    at HTMLDocument.<anonymous> (/wp-content/plugins/learnpress/assets/js/dist/admin/admin.min.js?ver=4.2.6.7:1:2613)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-polyfill-inert,regenerator-runtime,wp-polyfill,wp-hooks&ver=6.5.3:2:27028)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-polyfill-inert,regenerator-runtime,wp-polyfill,wp-hooks&ver=6.5.3:2:27330)",
        "trace": null,
        "code": null
    }
]
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.693 s
Memory usage 7.18 MiB
JS errors
[
    {
        "message": "TypeError: e(...).LP is not a function\n    at HTMLDocument.<anonymous> (/wp-content/plugins/learnpress/assets/js/dist/admin/admin.min.js?ver=4.2.6.7:1:2613)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-polyfill-inert,regenerator-runtime,wp-polyfill,wp-hooks&ver=6.5.3:2:27028)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-polyfill-inert,regenerator-runtime,wp-polyfill,wp-hooks&ver=6.5.3:2:27330)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.350 s0.574 s+0.224 s3.44 MiB4.56 MiB+ 1.12 MiB
/wp-admin/edit.php0.211 s0.430 s+0.219 s3.46 MiB4.58 MiB+ 1.12 MiB
/wp-admin/post-new.php0.946 s1.159 s+0.213 s5.59 MiB7.28 MiB+ 1.69 MiB
/wp-admin/upload.php0.575 s0.556 s-0.019 s3.38 MiB4.42 MiB+ 1.04 MiB
/wp-admin/options-writing.php0.228 s0.243 s+0.015 s3.37 MiB4.41 MiB+ 1.04 MiB
/wp-admin/media-new.php0.309 s0.484 s+0.175 s3.35 MiB4.41 MiB+ 1.05 MiB
/wp-admin/edit-tags.php?taxonomy=category0.190 s0.329 s+0.139 s3.37 MiB4.43 MiB+ 1.06 MiB
/wp-admin/post-new.php?post_type=page0.558 s0.890 s+0.332 s5.59 MiB7.27 MiB+ 1.68 MiB
/wp-admin/options-discussion.php0.325 s0.349 s+0.024 s3.36 MiB4.4 MiB+ 1.05 MiB
/wp-admin/edit-comments.php0.298 s0.330 s+0.032 s3.39 MiB4.5 MiB+ 1.11 MiB
/0.318 s0.297 s-0.021 s3.42 MiB4.3 MiB+ 904.47 KiB
Average 0.392 s0.513 s+0.121 s3.79 MiB4.96 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
PO File
JavaScript
Language % Lines of code Comment lines Files
PHP51.7%77,48630,526750
CSS21.4%32,13233718
PO File13.8%20,62613,1855
JavaScript10.1%15,2011,179175
XML2.8%4,22803
Markdown0.1%11201
JSON0.0%6105
SVG0.0%909
HTML0.0%4144
Total 149,859 45,241 970

PHP Code Analysis | More results »

Lines of code 62,684
Total complexity 12,141
Median class complexity 10.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 376
Methods 3,242
Functions 509

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