WP Adverts 2.0.4

Does WP Adverts work with WordPress 6.2 and PHP 8.1.12? 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: 278.34 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.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/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=fc0b658a30
Aspect after-activation
HTTP status 200
Load time 0.308 s
Memory usage 3.46 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.440 s
Memory usage 3.35 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.077 s
Memory usage 3.51 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.199 s
Memory usage 3.29 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.349 s
Memory usage 3.33 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.249 s
Memory usage 3.27 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 1.074 s
Memory usage 5.2 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.287 s0.266 s-0.021 s3.07 MiB3.35 MiB+ 285.02 KiB
/wp-admin/edit.php0.184 s0.179 s-0.005 s3.1 MiB3.39 MiB+ 302.41 KiB
/wp-admin/post-new.php0.764 s1.146 s+0.382 s5.02 MiB5.3 MiB+ 288.4 KiB
/wp-admin/upload.php0.551 s0.476 s-0.075 s3.02 MiB3.28 MiB+ 273.05 KiB
/wp-admin/options-writing.php0.150 s0.139 s-0.011 s3.01 MiB3.27 MiB+ 259.81 KiB
/wp-admin/media-new.php0.270 s0.160 s-0.110 s2.99 MiB3.27 MiB+ 285.24 KiB
/wp-admin/edit-tags.php?taxonomy=category0.192 s0.164 s-0.028 s3.01 MiB3.29 MiB+ 295.02 KiB
/wp-admin/post-new.php?post_type=page0.624 s0.724 s+0.100 s5.01 MiB5.23 MiB+ 218.3 KiB
/wp-admin/options-discussion.php0.200 s0.248 s+0.048 s3 MiB3.27 MiB+ 273.44 KiB
/wp-admin/edit-comments.php0.194 s0.185 s-0.009 s3.03 MiB3.29 MiB+ 273.05 KiB
/0.312 s0.195 s-0.117 s2.97 MiB3.27 MiB+ 308 KiB
Average 0.339 s0.353 s+0.014 s3.38 MiB3.66 MiB+ 278.34 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
JavaScript31.2%22,0576,21627
PHP27.9%19,7256,344132
PO File27.5%19,4879,46018
CSS11.7%8,28217416
SVG1.0%708023
JSON0.7%47806
Total 70,737 22,194 222

PHP Code Analysis | More results »

Lines of code 16,649
Total complexity 2,751
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 316

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-Mar-2023 10:33:10 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 5788
[31-Mar-2023 10:33:10 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 5788
[31-Mar-2023 10:33:14 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 5788
[31-Mar-2023 10:33:14 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 5788
See also: All tests for this plugin, How to Hide WP Adverts Admin Menus and Meta Boxes