Specific Content for Mobile 0.5.2

Does Specific Content for Mobile work with WordPress 6.7.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: 74.23 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.7.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=1f24db5843
Aspect after-activation
HTTP status 200
Load time 0.933 s
Memory usage 3.57 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.318 s
Memory usage 3.53 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.211 s
Memory usage 3.44 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.579 s
Memory usage 6.05 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.629 s
Memory usage 6.04 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.298 s0.289 s-0.009 s3.48 MiB3.56 MiB+ 76.36 KiB
/wp-admin/edit.php0.202 s0.227 s+0.025 s3.54 MiB3.62 MiB+ 75.33 KiB
/wp-admin/post-new.php0.792 s0.661 s-0.131 s5.93 MiB6.05 MiB+ 132.59 KiB
/wp-admin/upload.php0.560 s0.281 s-0.279 s3.5 MiB3.55 MiB+ 57.19 KiB
/wp-admin/options-writing.php0.201 s0.186 s-0.015 s3.47 MiB3.53 MiB+ 61.18 KiB
/wp-admin/media-new.php0.334 s0.228 s-0.106 s3.46 MiB3.53 MiB+ 69.38 KiB
/wp-admin/edit-tags.php?taxonomy=category0.204 s0.216 s+0.012 s3.48 MiB3.55 MiB+ 80.05 KiB
/wp-admin/post-new.php?post_type=page0.568 s0.798 s+0.230 s5.92 MiB6.04 MiB+ 126.16 KiB
/wp-admin/options-discussion.php0.276 s0.260 s-0.016 s3.47 MiB3.53 MiB+ 57.68 KiB
/wp-admin/edit-comments.php0.193 s0.215 s+0.022 s3.5 MiB3.55 MiB+ 57.18 KiB
/0.302 s0.198 s-0.104 s3.42 MiB3.44 MiB+ 23.48 KiB
Average 0.357 s0.324 s-0.034 s3.92 MiB4 MiB+ 74.23 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.1%1,6391588
CSS7.6%14901
PO File4.6%90231
JavaScript3.6%7002
Total 1,948 181 12

PHP Code Analysis | More results »

Lines of code 1,365
Total complexity 404
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

[29-Dec-2024 14:49:40 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 421
See also: All tests for this plugin, How to Hide Specific Content for Mobile Admin Menus and Meta Boxes