WP Adverts 2.0.1

Does WP Adverts work with WordPress 6.0.2 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: 282.86 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

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

Environment
WordPress version6.0.2
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=2f3b54a169
Aspect after-activation
HTTP status 200
Load time 0.389 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.529 s
Memory usage 4.02 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.056 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.233 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.165 s
Memory usage 3.98 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.237 s
Memory usage 3.79 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.531 s
Memory usage 5.73 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.351 s0.295 s-0.056 s3.72 MiB3.99 MiB+ 270.05 KiB
/wp-admin/edit.php0.184 s0.185 s+0.001 s3.76 MiB4.04 MiB+ 287.86 KiB
/wp-admin/post-new.php0.956 s1.601 s+0.645 s5.55 MiB5.82 MiB+ 280.5 KiB
/wp-admin/upload.php0.430 s0.527 s+0.097 s3.69 MiB3.95 MiB+ 274.55 KiB
/wp-admin/options-writing.php0.266 s0.147 s-0.119 s3.62 MiB3.93 MiB+ 318.46 KiB
/wp-admin/media-new.php0.293 s0.174 s-0.119 s3.66 MiB3.93 MiB+ 274.73 KiB
/wp-admin/edit-tags.php?taxonomy=category0.190 s0.181 s-0.009 s3.69 MiB3.96 MiB+ 275.6 KiB
/wp-admin/post-new.php?post_type=page0.870 s1.095 s+0.225 s5.54 MiB5.81 MiB+ 274.38 KiB
/wp-admin/options-discussion.php0.206 s0.210 s+0.004 s3.6 MiB3.93 MiB+ 339.04 KiB
/wp-admin/edit-comments.php0.208 s0.211 s+0.003 s3.7 MiB3.96 MiB+ 274.51 KiB
/0.328 s0.330 s+0.002 s3.55 MiB3.79 MiB+ 241.82 KiB
Average 0.389 s0.451 s+0.061 s4.01 MiB4.28 MiB+ 282.86 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.8%26,9818,06227
PHP26.0%19,5676,323130
PO File25.9%19,4879,46018
CSS10.8%8,15617316
SVG0.9%68702
JSON0.6%47806
Total 75,356 24,018 199

PHP Code Analysis | More results »

Lines of code 16,473
Total complexity 2,718
Median class complexity 28.0
Median method complexity 2.0
Most complex class Adverts_Types_Admin
Most complex function adext_payments_page_history()
Classes 40
Methods 366
Functions 312

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

[31-Aug-2022 17:59:15 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 5754
[31-Aug-2022 17:59:15 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 5754
[31-Aug-2022 17:59:19 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 5754
[31-Aug-2022 17:59:19 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 5754
See also: All tests for this plugin, How to Hide WP Adverts Admin Menus and Meta Boxes