Advanced Post Block 1.12.7

Does Advanced Post Block work with WordPress 6.4.2 and PHP 8.1.12? A smoke test was performed on .

Summary

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

Memory usage: 166.27 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.4.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 10,000+
WordPress.org page https://wordpress.org/plugins/advanced-post-block/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 5

‹ Test site — WordPress

Page screenshot: ‹ Test site — WordPress
URL /wp-admin/admin.php?page=advanced-post-block
Requested URL /wp-admin/plugins.php?action=activate&plugin=advanced-post-block%2Fplugin.php&plugin_status=all&paged=1&s&_wpnonce=4082038188
Aspect after-activation
HTTP status 200
Load time 0.626 s
Memory usage 3.46 MiB
JS errors None
Resource errors None

Advanced Posts

Page screenshot: Advanced Posts
URL /wp-admin/admin.php?page=apb-help
Aspect menu-item
HTTP status 200
Load time 0.251 s
Memory usage 3.46 MiB
JS errors None
Resource errors None

Advanced Posts → Help

Page screenshot: Advanced Posts → Help
URL /wp-admin/edit.php?post_type=apb&page=apb-help
Aspect menu-item
HTTP status 200
Load time 0.198 s
Memory usage 3.47 MiB
JS errors None
Resource errors None

Advanced Posts → Upgrade

Page screenshot: Advanced Posts → Upgrade
URL /wp-admin/edit.php?post_type=apb&page=apb-upgrade
Aspect menu-item
HTTP status 200
Load time 0.985 s
Memory usage 3.47 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read properties of null (reading 'substring')\n    at https://wp.freemius.com/pricing/?plugin_id=14262&plugin_public_key=pk_87f141adce326dfb96ba4e12d8a36:690:40\n    at https://wp.freemius.com/pricing/?plugin_id=14262&plugin_public_key=pk_87f141adce326dfb96ba4e12d8a36:761:15",
        "trace": null,
        "code": null
    }
]
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.348 s
Memory usage 3.45 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.384 s0.415 s+0.031 s3.38 MiB3.55 MiB+ 178.92 KiB
/wp-admin/edit.php0.225 s0.239 s+0.014 s3.41 MiB3.58 MiB+ 179.03 KiB
/wp-admin/post-new.php1.016 s0.840 s-0.176 s5.46 MiB5.67 MiB+ 217.47 KiB
/wp-admin/upload.php0.716 s0.277 s-0.439 s3.32 MiB3.48 MiB+ 162.25 KiB
/wp-admin/options-writing.php0.228 s0.196 s-0.032 s3.32 MiB3.47 MiB+ 155.98 KiB
/wp-admin/media-new.php0.331 s0.211 s-0.120 s3.29 MiB3.47 MiB+ 175.2 KiB
/wp-admin/edit-tags.php?taxonomy=category0.213 s0.380 s+0.167 s3.31 MiB3.49 MiB+ 178.61 KiB
/wp-admin/post-new.php?post_type=page0.853 s0.695 s-0.158 s5.45 MiB5.6 MiB+ 159 KiB
/wp-admin/options-discussion.php0.312 s0.263 s-0.049 s3.3 MiB3.46 MiB+ 164.99 KiB
/wp-admin/edit-comments.php0.266 s0.232 s-0.034 s3.33 MiB3.49 MiB+ 161.29 KiB
/0.294 s0.224 s-0.070 s3.36 MiB3.45 MiB+ 96.28 KiB
Average 0.440 s0.361 s-0.079 s3.72 MiB3.88 MiB+ 166.27 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
JSON
PO File
JavaScript
Language % Lines of code Comment lines Files
PHP34.1%8883815
JSON21.8%56805
PO File18.9%4914692
JavaScript18.2%4732411
Sass7.1%18453
Total 2,604 536 36

PHP Code Analysis | More results »

Lines of code 851
Total complexity 150
Median class complexity 8.0
Median method complexity 1.0
Most complex class Activate
Most complex function APBPlugin::query()
Classes 11
Methods 67
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 1

Custom Post Types 1

ID Name
apbAdvanced Posts

PHP Error Log 1 lines

[25-Jan-2024 08:30:58 UTC] PHP Deprecated:  strip_tags(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-admin/admin-header.php on line 36
See also: All tests for this plugin, How to Hide Advanced Post Block Admin Menus