Specific Content for Mobile 0.2.2

Does Specific Content for Mobile work with WordPress 6.6.1 and PHP 8.1.12? A smoke test was performed on .

Summary

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

Memory usage: 81.67 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.6.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 5,000+
WordPress.org page https://wordpress.org/plugins/specific-content-for-mobile/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 5

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=specific-content-for-mobile%2Fspecific-content-for-mobile.php&plugin_status=all&paged=1&s&_wpnonce=eb63e60c37
Aspect after-activation
HTTP status 200
Load time 0.839 s
Memory usage 3.55 MiB
JS errors None
Resource errors None

Specific Content For Mobile

Page screenshot: Specific Content For Mobile
URL /wp-admin/admin.php?page=eos_scfm
Aspect menu-item
HTTP status 200
Load time 0.171 s
Memory usage 3.52 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.186 s
Memory usage 3.43 MiB
JS errors None
Resource errors None

Add New Post ‹ Test site — WordPress

Page screenshot: Add New Post ‹ Test site — WordPress
URL /wp-admin/post-new.php
Aspect new-meta-boxes
HTTP status 200
Load time 1.242 s
Memory usage 5.87 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.708 s
Memory usage 5.86 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.406 s0.348 s-0.058 s3.47 MiB3.54 MiB+ 71.77 KiB
/wp-admin/edit.php0.274 s0.186 s-0.088 s3.54 MiB3.61 MiB+ 70.42 KiB
/wp-admin/post-new.php0.759 s1.065 s+0.306 s5.75 MiB5.87 MiB+ 123.6 KiB
/wp-admin/upload.php0.603 s0.472 s-0.131 s3.49 MiB3.54 MiB+ 52.28 KiB
/wp-admin/options-writing.php0.244 s0.184 s-0.060 s3.41 MiB3.52 MiB+ 115.09 KiB
/wp-admin/media-new.php0.229 s0.242 s+0.013 s3.4 MiB3.52 MiB+ 128.47 KiB
/wp-admin/edit-tags.php?taxonomy=category0.212 s0.191 s-0.021 s3.47 MiB3.54 MiB+ 75.14 KiB
/wp-admin/post-new.php?post_type=page1.058 s0.717 s-0.341 s5.75 MiB5.86 MiB+ 117.55 KiB
/wp-admin/options-discussion.php0.311 s0.247 s-0.064 s3.41 MiB3.52 MiB+ 116.77 KiB
/wp-admin/edit-comments.php0.274 s0.240 s-0.034 s3.49 MiB3.54 MiB+ 52.27 KiB
/0.323 s0.258 s-0.065 s3.45 MiB3.43 MiB- 25.01 KiB
Average 0.427 s0.377 s-0.049 s3.88 MiB3.96 MiB+ 81.67 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
CSS
Language % Lines of code Comment lines Files
PHP83.3%1,5371488
CSS8.1%14901
PO File4.9%90231
JavaScript3.8%7002
Total 1,846 171 12

PHP Code Analysis | More results »

Lines of code 1,257
Total complexity 389
Median class complexity 0.0
Median method complexity 0.0
Most complex class
Most complex function eos_scfm_save_metabox()
Classes 0
Methods 0
Functions 65

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

Meta Boxes

{
    "post": {
        "eos-scfm": {
            "title": "Mobile version",
            "context": "side"
        }
    },
    "page": {
        "eos-scfm": {
            "title": "Mobile version",
            "context": "side"
        }
    }
}

PHP Error Log 1 lines

[13-Aug-2024 21:36:47 UTC] PHP Deprecated:  Automatic conversion of false to array is deprecated in /wp-content/plugins/specific-content-for-mobile/specific-content-for-mobile.php on line 390
See also: All tests for this plugin, How to Hide Specific Content for Mobile Admin Menus and Meta Boxes