WP Adverts 2.0.2

Does WP Adverts work with WordPress 6.0.3 and PHP 7.4.8? A smoke test was performed on .

Summary

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

Memory usage: 279.21 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.056 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version6.0.3
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 5,000+
WordPress.org page https://wordpress.org/plugins/wpadverts/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 7

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=wpadverts%2Fwpadverts.php&plugin_status=all&paged=1&s&_wpnonce=b70e5134f2
Aspect after-activation
HTTP status 200
Load time 0.410 s
Memory usage 4.07 MiB
JS errors None
Resource errors None

Classifieds

Page screenshot: Classifieds
URL /wp-admin/edit.php?post_type=advert
Aspect menu-item
HTTP status 200
Load time 0.490 s
Memory usage 4.03 MiB
JS errors None
Resource errors None

Classifieds → Add New

Page screenshot: Classifieds → Add New
URL /wp-admin/post-new.php?post_type=advert
Aspect menu-item
HTTP status 200
Load time 1.204 s
Memory usage 4.11 MiB
JS errors None
Resource errors None

Classifieds → Categories

Page screenshot: Classifieds → Categories
URL /wp-admin/edit-tags.php?taxonomy=advert_category&post_type=advert
Aspect menu-item
HTTP status 200
Load time 0.210 s
Memory usage 3.96 MiB
JS errors None
Resource errors None

Classifieds → Options

Page screenshot: Classifieds → Options
URL /wp-admin/edit.php?post_type=advert&page=adverts-extensions
Aspect menu-item
HTTP status 200
Load time 0.327 s
Memory usage 4 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.244 s
Memory usage 3.8 MiB
JS errors None
Resource errors None

Widgets ‹ Test site — WordPress

Page screenshot: Widgets ‹ Test site — WordPress
URL /wp-admin/widgets.php
Aspect new-sidebar-widgets
HTTP status 200
Load time 2.646 s
Memory usage 5.74 MiB
JS errors
External errors: The following JavaScript errors were probably triggered by WordPress itself, or by compatibility issues in the test runner. They are not related to the plugin.
[
    {
        "message": "TypeError: Cannot read properties of null (reading 'offsetHeight')\n    at t (/wp-includes/js/dist/widgets.min.js?ver=80e98954519d1dad7a91a2248dbc2cc9:7:10419)\n    at IntersectionObserver.n.threshold (/wp-includes/js/dist/widgets.min.js?ver=80e98954519d1dad7a91a2248dbc2cc9:7:10591)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.329 s0.270 s-0.059 s3.73 MiB4 MiB+ 272.07 KiB
/wp-admin/edit.php0.195 s0.182 s-0.013 s3.76 MiB4.05 MiB+ 289.88 KiB
/wp-admin/post-new.php0.753 s1.312 s+0.559 s5.55 MiB5.83 MiB+ 282.52 KiB
/wp-admin/upload.php0.402 s0.678 s+0.276 s3.69 MiB3.96 MiB+ 276.58 KiB
/wp-admin/options-writing.php0.142 s0.147 s+0.005 s3.62 MiB3.93 MiB+ 320.48 KiB
/wp-admin/media-new.php0.381 s0.161 s-0.220 s3.67 MiB3.94 MiB+ 276.75 KiB
/wp-admin/edit-tags.php?taxonomy=category0.237 s0.183 s-0.054 s3.69 MiB3.96 MiB+ 277.63 KiB
/wp-admin/post-new.php?post_type=page0.685 s0.844 s+0.159 s5.55 MiB5.82 MiB+ 276.41 KiB
/wp-admin/options-discussion.php0.209 s0.211 s+0.002 s3.6 MiB3.93 MiB+ 341.06 KiB
/wp-admin/edit-comments.php0.212 s0.225 s+0.013 s3.7 MiB3.97 MiB+ 276.53 KiB
/0.271 s0.217 s-0.054 s3.62 MiB3.8 MiB+ 181.38 KiB
Average 0.347 s0.403 s+0.056 s4.02 MiB4.29 MiB+ 279.21 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.

JavaScript
PHP
PO File
CSS
Language % Lines of code Comment lines Files
JavaScript35.7%26,9868,06227
PHP26.0%19,6886,333132
PO File25.8%19,4879,46018
CSS11.0%8,28217416
SVG0.9%708023
JSON0.6%47806
Total 75,629 24,029 222

PHP Code Analysis | More results »

Lines of code 16,614
Total complexity 2,738
Median class complexity 27.0
Median method complexity 2.0
Most complex class Adverts_Types_Admin
Most complex function adext_payments_page_history()
Classes 41
Methods 374
Functions 315

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 9

Custom Post Types 1

ID Name
advertClassifieds

Sidebar Widgets 2

ID Name
wpadverts-widget-categoriesAdvert Categories
wpadverts-widget-adsWPAdverts Ads

Meta Boxes

{
    "advert": {
        "adverts_data_box": {
            "title": "Additional Information",
            "context": "normal"
        },
        "adverts_gallery": {
            "title": "Gallery",
            "context": "normal"
        }
    }
}

PHP Error Log 4 lines

[18-Oct-2022 23:05:40 UTC] PHP Deprecated:  Hook block_categories is <strong>deprecated</strong> since version 5.8.0! Use block_categories_all instead. in /wp-includes/functions.php on line 5756
[18-Oct-2022 23:05:40 UTC] PHP Deprecated:  Hook block_categories is <strong>deprecated</strong> since version 5.8.0! Use block_categories_all instead. in /wp-includes/functions.php on line 5756
[18-Oct-2022 23:05:43 UTC] PHP Deprecated:  Hook block_categories is <strong>deprecated</strong> since version 5.8.0! Use block_categories_all instead. in /wp-includes/functions.php on line 5756
[18-Oct-2022 23:05:43 UTC] PHP Deprecated:  Hook block_categories is <strong>deprecated</strong> since version 5.8.0! Use block_categories_all instead. in /wp-includes/functions.php on line 5756
See also: All tests for this plugin, How to Hide WP Adverts Admin Menus and Meta Boxes