LearnPress 4.2.2

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

Summary

Errors
12PHP warnings
4PHP deprecation warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

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

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

Environment
WordPress version6.1.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=269abf7fe6
Aspect after-activation
HTTP status 200
Load time 1.391 s
Memory usage 4.27 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.515 s
Memory usage 4.11 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.438 s
Memory usage 4.11 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.344 s
Memory usage 4.11 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.434 s
Memory usage 4.11 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.389 s
Memory usage 4.11 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.453 s
Memory usage 3.97 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.385 s
Memory usage 3.97 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.417 s
Memory usage 4 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.382 s
Memory usage 4 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.367 s
Memory usage 4 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.386 s
Memory usage 4 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.434 s
Memory usage 3.96 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.809 s
Memory usage 8.19 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.409 s
Memory usage 4.11 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.512 s
Memory usage 4.01 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.364 s
Memory usage 4 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.393 s
Memory usage 4.11 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.343 s
Memory usage 4.05 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.390 s
Memory usage 4.02 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.346 s
Memory usage 3.99 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.558 s
Memory usage 4.04 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.546 s
Memory usage 4.01 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.434 s
Memory usage 4.02 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.465 s
Memory usage 3.97 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.235 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.478 s
Memory usage 4.1 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.364 s
Memory usage 6.48 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.289 s0.549 s+0.260 s3.05 MiB4.1 MiB+ 1.06 MiB
/wp-admin/edit.php0.184 s0.340 s+0.156 s3.07 MiB4.14 MiB+ 1.06 MiB
/wp-admin/post-new.php0.785 s1.096 s+0.311 s4.97 MiB6.53 MiB+ 1.57 MiB
/wp-admin/upload.php0.641 s0.794 s+0.153 s2.99 MiB3.95 MiB+ 985.35 KiB
/wp-admin/options-writing.php0.174 s0.348 s+0.174 s2.99 MiB3.96 MiB+ 996.02 KiB
/wp-admin/media-new.php0.265 s0.428 s+0.163 s2.97 MiB3.96 MiB+ 1011.48 KiB
/wp-admin/edit-tags.php?taxonomy=category0.191 s0.386 s+0.195 s2.98 MiB3.98 MiB+ 1022.13 KiB
/wp-admin/post-new.php?post_type=page0.642 s0.778 s+0.136 s4.96 MiB6.52 MiB+ 1.56 MiB
/wp-admin/options-discussion.php0.212 s0.503 s+0.291 s2.97 MiB3.96 MiB+ 1009.87 KiB
/wp-admin/edit-comments.php0.211 s0.403 s+0.192 s3 MiB3.99 MiB+ 1009.37 KiB
/0.286 s0.249 s-0.037 s2.94 MiB3.85 MiB+ 929.59 KiB
Average 0.353 s0.534 s+0.181 s3.35 MiB4.45 MiB+ 1.1 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.3%67,58230,378635
CSS24.7%30,17526611
JavaScript10.2%12,517808156
PO File6.1%7,4344,9742
XML3.5%4,22803
JSON0.1%12903
Markdown0.1%11201
HTML0.0%4164
Total 122,181 36,442 815

PHP Code Analysis | More results »

Lines of code 55,990
Total complexity 11,261
Median class complexity 12.5
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 302
Methods 2,952
Functions 559

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 18

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

[01-Mar-2023 07:39:14 UTC] PHP Warning:  Undefined array key "HTTP_HOST" in /wp-config.php on line 174
[01-Mar-2023 07:39:14 UTC] PHP Warning:  Undefined array key "HTTP_HOST" in /wp-config.php on line 175
[01-Mar-2023 07:39:14 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 689
[01-Mar-2023 07:39:14 UTC] PHP Deprecated:  strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-includes/canonical.php on line 689
[01-Mar-2023 07:39:14 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 690
[01-Mar-2023 07:39:14 UTC] PHP Deprecated:  strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-includes/canonical.php on line 690
[01-Mar-2023 07:39:14 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 698
[01-Mar-2023 07:39:14 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 701
[01-Mar-2023 07:39:14 UTC] PHP Warning:  Undefined array key "scheme" in /wp-includes/canonical.php on line 722
[01-Mar-2023 07:39:14 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 689
[01-Mar-2023 07:39:14 UTC] PHP Deprecated:  strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-includes/canonical.php on line 689
[01-Mar-2023 07:39:14 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 690
[01-Mar-2023 07:39:14 UTC] PHP Deprecated:  strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-includes/canonical.php on line 690
[01-Mar-2023 07:39:14 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 698
[01-Mar-2023 07:39:14 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 701
[01-Mar-2023 07:39:14 UTC] PHP Warning:  Undefined array key "scheme" in /wp-includes/canonical.php on line 722
See also: All tests for this plugin, How to Hide LearnPress Admin Menus and More