Specific Content for Mobile 0.2.5

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: 84.79 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=c7d920a654
Aspect after-activation
HTTP status 200
Load time 0.892 s
Memory usage 3.56 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.180 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.251 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.057 s
Memory usage 5.88 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.698 s
Memory usage 5.87 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.368 s0.305 s-0.063 s3.47 MiB3.55 MiB+ 74.77 KiB
/wp-admin/edit.php0.285 s0.192 s-0.093 s3.54 MiB3.61 MiB+ 73.42 KiB
/wp-admin/post-new.php0.775 s1.077 s+0.302 s5.75 MiB5.88 MiB+ 126.63 KiB
/wp-admin/upload.php0.609 s0.603 s-0.006 s3.49 MiB3.54 MiB+ 55.28 KiB
/wp-admin/options-writing.php0.244 s0.209 s-0.035 s3.41 MiB3.53 MiB+ 118.09 KiB
/wp-admin/media-new.php0.278 s0.257 s-0.021 s3.4 MiB3.53 MiB+ 131.46 KiB
/wp-admin/edit-tags.php?taxonomy=category0.224 s0.200 s-0.024 s3.47 MiB3.55 MiB+ 78.14 KiB
/wp-admin/post-new.php?post_type=page1.024 s0.754 s-0.270 s5.75 MiB5.87 MiB+ 120.57 KiB
/wp-admin/options-discussion.php0.241 s0.246 s+0.005 s3.41 MiB3.53 MiB+ 119.77 KiB
/wp-admin/edit-comments.php0.305 s0.245 s-0.060 s3.49 MiB3.54 MiB+ 55.27 KiB
/0.537 s0.362 s-0.175 s3.45 MiB3.43 MiB- 20.67 KiB
Average 0.445 s0.405 s-0.040 s3.88 MiB3.96 MiB+ 84.79 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.8%1,5941508
CSS7.8%14901
PO File4.7%90231
JavaScript3.7%7002
Total 1,903 173 12

PHP Code Analysis | More results »

Lines of code 1,314
Total complexity 398
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 67

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-Oct-2024 16:12:15 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 412
See also: All tests for this plugin, How to Hide Specific Content for Mobile Admin Menus and Meta Boxes