Specific Content for Mobile 0.2.3

Does Specific Content for Mobile work with WordPress 6.6.2 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: 86.84 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.2
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=91f6741c1b
Aspect after-activation
HTTP status 200
Load time 0.888 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.174 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.198 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 0.604 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.554 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.330 s0.281 s-0.049 s3.47 MiB3.54 MiB+ 72.15 KiB
/wp-admin/edit.php0.198 s0.185 s-0.013 s3.54 MiB3.61 MiB+ 70.8 KiB
/wp-admin/post-new.php0.727 s1.007 s+0.280 s5.75 MiB5.87 MiB+ 124.02 KiB
/wp-admin/upload.php0.528 s0.527 s-0.001 s3.49 MiB3.54 MiB+ 52.66 KiB
/wp-admin/options-writing.php0.395 s0.259 s-0.136 s3.41 MiB3.52 MiB+ 115.47 KiB
/wp-admin/media-new.php0.259 s0.257 s-0.002 s3.4 MiB3.52 MiB+ 128.85 KiB
/wp-admin/edit-tags.php?taxonomy=category0.204 s0.206 s+0.002 s3.47 MiB3.54 MiB+ 75.52 KiB
/wp-admin/post-new.php?post_type=page0.628 s0.685 s+0.057 s5.75 MiB5.86 MiB+ 117.95 KiB
/wp-admin/options-discussion.php0.203 s0.217 s+0.014 s3.41 MiB3.52 MiB+ 117.16 KiB
/wp-admin/edit-comments.php0.431 s0.235 s-0.196 s3.49 MiB3.54 MiB+ 52.66 KiB
/0.350 s0.197 s-0.153 s3.4 MiB3.43 MiB+ 27.98 KiB
Average 0.387 s0.369 s-0.018 s3.87 MiB3.96 MiB+ 86.84 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
PHP83.4%1,5551498
CSS8.0%14901
PO File4.8%90231
JavaScript3.8%7002
Total 1,864 172 12

PHP Code Analysis | More results »

Lines of code 1,275
Total complexity 397
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 66

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

[12-Sep-2024 00:06:03 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 405
See also: All tests for this plugin, How to Hide Specific Content for Mobile Admin Menus and Meta Boxes