Advanced Post Block 1.12.2

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

Summary

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

Memory usage: 164.07 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.1
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 4

‹ 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=3074b2255e
Aspect after-activation
HTTP status 200
Load time 0.573 s
Memory usage 3.46 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read properties of null (reading 'insertAdjacentElement')\n    at HTMLDocument.<anonymous> (/wp-content/plugins/advanced-post-block/dist/admin.js?ver=1.12.2:1:1588)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Advanced Posts

Page screenshot: Advanced Posts
URL /wp-admin/admin.php?page=apb-upgrade
Aspect menu-item
HTTP status 200
Load time 0.991 s
Memory usage 3.46 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read properties of null (reading 'insertAdjacentElement')\n    at HTMLDocument.<anonymous> (/wp-content/plugins/advanced-post-block/dist/admin.js?ver=1.12.2:1:1588)",
        "trace": null,
        "code": null
    }
]
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.526 s
Memory usage 3.46 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read properties of null (reading 'insertAdjacentElement')\n    at HTMLDocument.<anonymous> (/wp-content/plugins/advanced-post-block/dist/admin.js?ver=1.12.2:1:1588)",
        "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.196 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.423 s0.297 s-0.126 s3.38 MiB3.55 MiB+ 177.63 KiB
/wp-admin/edit.php0.234 s0.528 s+0.294 s3.41 MiB3.58 MiB+ 177.64 KiB
/wp-admin/post-new.php0.950 s1.263 s+0.313 s5.46 MiB5.67 MiB+ 213.02 KiB
/wp-admin/upload.php0.616 s0.351 s-0.265 s3.32 MiB3.48 MiB+ 159.95 KiB
/wp-admin/options-writing.php0.268 s0.239 s-0.029 s3.32 MiB3.47 MiB+ 153.43 KiB
/wp-admin/media-new.php0.370 s0.192 s-0.178 s3.29 MiB3.46 MiB+ 174.22 KiB
/wp-admin/edit-tags.php?taxonomy=category0.234 s0.214 s-0.020 s3.31 MiB3.48 MiB+ 175.8 KiB
/wp-admin/post-new.php?post_type=page0.628 s0.904 s+0.276 s5.45 MiB5.6 MiB+ 155.73 KiB
/wp-admin/options-discussion.php0.596 s0.296 s-0.300 s3.3 MiB3.46 MiB+ 163.41 KiB
/wp-admin/edit-comments.php0.266 s0.241 s-0.025 s3.34 MiB3.49 MiB+ 158.63 KiB
/0.331 s0.239 s-0.092 s3.36 MiB3.45 MiB+ 95.26 KiB
Average 0.447 s0.433 s-0.014 s3.72 MiB3.88 MiB+ 164.07 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
PHP32.4%8493814
JSON21.7%56805
PO File18.7%4914682
JavaScript18.5%4842412
Sass7.0%18453
CSS1.7%4501
Total 2,621 535 37

PHP Code Analysis | More results »

Lines of code 812
Total complexity 142
Median class complexity 10.5
Median method complexity 1.0
Most complex class Activate
Most complex function APBPlugin::query()
Classes 10
Methods 63
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

[20-Nov-2023 15:49:57 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