Specific Content for Mobile 0.5.4

Does Specific Content for Mobile work with WordPress 6.8.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: 84.5 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.8.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=8362fab018
Aspect after-activation
HTTP status 200
Load time 1.029 s
Memory usage 3.61 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.234 s
Memory usage 3.58 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.229 s
Memory usage 3.47 MiB
JS errors None
Resource errors None

Add Post ‹ Test site — WordPress

Page screenshot: Add Post ‹ Test site — WordPress
URL /wp-admin/post-new.php
Aspect new-meta-boxes
HTTP status 200
Load time 0.683 s
Memory usage 6.16 MiB
JS errors None
Resource errors None

Add Page ‹ Test site — WordPress

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

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.329 s0.398 s+0.069 s3.51 MiB3.6 MiB+ 97.33 KiB
/wp-admin/edit.php0.253 s0.250 s-0.003 s3.57 MiB3.67 MiB+ 95.93 KiB
/wp-admin/post-new.php0.952 s0.790 s-0.162 s6.06 MiB6.16 MiB+ 100.61 KiB
/wp-admin/upload.php0.841 s0.561 s-0.280 s3.52 MiB3.6 MiB+ 78.1 KiB
/wp-admin/options-writing.php0.231 s0.197 s-0.034 s3.5 MiB3.58 MiB+ 81.78 KiB
/wp-admin/media-new.php0.287 s0.425 s+0.138 s3.49 MiB3.58 MiB+ 89.98 KiB
/wp-admin/edit-tags.php?taxonomy=category0.206 s0.271 s+0.065 s3.5 MiB3.6 MiB+ 100.65 KiB
/wp-admin/post-new.php?post_type=page0.777 s0.635 s-0.142 s6.05 MiB6.14 MiB+ 95.4 KiB
/wp-admin/options-discussion.php0.371 s0.366 s-0.005 s3.5 MiB3.58 MiB+ 78.28 KiB
/wp-admin/edit-comments.php0.233 s0.275 s+0.042 s3.52 MiB3.6 MiB+ 77.78 KiB
/0.364 s0.240 s-0.124 s3.43 MiB3.47 MiB+ 33.72 KiB
Average 0.440 s0.401 s-0.040 s3.97 MiB4.05 MiB+ 84.5 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
Language % Lines of code Comment lines Files
PHP84.3%1,6551588
CSS7.6%14901
PO File4.6%90231
JavaScript3.6%7002
Total 1,964 181 12

PHP Code Analysis | More results »

Lines of code 1,381
Total complexity 405
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 69

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": {
        "specific-content-for-mobile": {
            "title": "Mobile version",
            "context": "side"
        }
    },
    "page": {
        "specific-content-for-mobile": {
            "title": "Mobile version",
            "context": "side"
        }
    }
}

PHP Error Log 1 lines

[01-May-2025 23:24:41 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 435
See also: All tests for this plugin, How to Hide Specific Content for Mobile Admin Menus and Meta Boxes