WP Page Templates 1.1.16

Does WP Page Templates work with WordPress 6.7.1 and PHP 8.1.12? A smoke test was performed on .

Summary

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

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

Page speed impact: insignificant.
The plugin didn't make the site noticeably slower.

Environment
WordPress version6.7.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 500+
WordPress.org page https://wordpress.org/plugins/custom-page-templates-by-vegacorp/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 5

WP Templates ‹ Test site — WordPress

Page screenshot: WP Templates ‹ Test site — WordPress
URL /wp-admin/admin.php?page=wcpt_welcome_page
Requested URL /wp-admin/plugins.php?action=activate&plugin=custom-page-templates-by-vegacorp%2Fpage-layouts.php&plugin_status=all&paged=1&s&_wpnonce=3b353aaf05
Aspect after-activation
HTTP status 200
Load time 1.072 s
Memory usage 3.97 MiB
JS errors None
Resource errors None

WP Templates

Page screenshot: WP Templates
URL /wp-admin/admin.php?page=wcpt_welcome_page
Aspect menu-item
HTTP status 200
Load time 0.159 s
Memory usage 3.59 MiB
JS errors None
Resource errors None

WP Templates → Upgrade  ➤

Page screenshot: WP Templates → Upgrade  ➤
URL /wp-admin/admin.php?page=wcpt_welcome_page-pricing
Aspect menu-item
HTTP status 200
Load time 0.284 s
Memory usage 3.6 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.265 s
Memory usage 3.49 MiB
JS errors None
Resource errors None

Add New Page ‹ Test site — WordPress

Page screenshot: Add New Page ‹ Test site — WordPress
URL /wp-admin/post-new.php?post_type=page
Aspect new-meta-boxes
HTTP status 200
Load time 0.793 s
Memory usage 6.06 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.339 s0.302 s-0.037 s3.48 MiB3.67 MiB+ 193.54 KiB
/wp-admin/edit.php0.205 s0.192 s-0.013 s3.54 MiB3.7 MiB+ 156.47 KiB
/wp-admin/post-new.php0.780 s0.962 s+0.182 s5.92 MiB6.06 MiB+ 142.01 KiB
/wp-admin/upload.php0.587 s0.350 s-0.237 s3.5 MiB3.61 MiB+ 118 KiB
/wp-admin/options-writing.php0.221 s0.318 s+0.097 s3.47 MiB3.59 MiB+ 122.55 KiB
/wp-admin/media-new.php0.381 s0.241 s-0.140 s3.46 MiB3.59 MiB+ 130.25 KiB
/wp-admin/edit-tags.php?taxonomy=category0.195 s0.195 s+0.000 s3.48 MiB3.61 MiB+ 135.92 KiB
/wp-admin/post-new.php?post_type=page0.560 s0.645 s+0.085 s5.92 MiB6.05 MiB+ 134.89 KiB
/wp-admin/options-discussion.php0.450 s0.263 s-0.187 s3.47 MiB3.59 MiB+ 119.05 KiB
/wp-admin/edit-comments.php0.244 s0.214 s-0.030 s3.49 MiB3.61 MiB+ 118.55 KiB
/0.304 s0.215 s-0.089 s3.48 MiB3.49 MiB+ 8.3 KiB
Average 0.388 s0.354 s-0.034 s3.93 MiB4.05 MiB+ 125.41 KiB

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
JavaScript
Language % Lines of code Comment lines Files
PHP71.3%660357
JavaScript25.5%236181
CSS3.2%3001
Total 926 53 9

PHP Code Analysis | More results »

Lines of code 562
Total complexity 68
Median class complexity 65.0
Median method complexity 2.0
Most complex class VG_Page_Layouts
Most complex function VG_Page_Layouts::render_section_fields()
Classes 1
Methods 19
Functions 2

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.

Options wp_options 6

Meta Boxes

{
    "page": {
        "vg-page-layouts": {
            "title": "Page layout",
            "context": "side"
        }
    }
}

PHP Error Log 12 lines

[25-Nov-2024 01:56:18 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7329
[25-Nov-2024 01:56:18 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2189
[25-Nov-2024 01:56:18 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7329
[25-Nov-2024 01:56:18 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2189
[25-Nov-2024 01:56:20 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7329
[25-Nov-2024 01:56:20 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2189
[25-Nov-2024 01:56:20 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7329
[25-Nov-2024 01:56:20 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2189
[25-Nov-2024 01:56:21 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7329
[25-Nov-2024 01:56:21 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2189
[25-Nov-2024 01:56:21 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7329
[25-Nov-2024 01:56:21 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2189
See also: All tests for this plugin, How to Hide WP Page Templates Admin Menus and Meta Boxes