Does "Conditional Payments and Shipping for WooCommerce" work with WordPress 6.2.2 and PHP 8.1.12? A smoke test was performed on .
2 | PHP deprecation warnings |
No JavaScript exceptions | |
All test pages loaded successfully | |
No resource errors |
Memory usage: 111.89 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.
WordPress version | 6.2.2 |
---|---|
PHP version | 8.1.12 |
MySQL version | 10.6.10 |
PHP memory limit | 512M |
Last updated | |
---|---|
Active installs | 700+ |
WordPress.org page | https://wordpress.org/plugins/wc-restricted-shipping-and-payment/ |
Badges |
|
URL | /wp-admin/plugins.php?plugin_status=all&paged=1&s |
---|---|
Requested URL | /wp-admin/plugins.php?action=activate&plugin=wc-restricted-shipping-and-payment%2Frestricted-shipping-payment-for-woocommerce.php&plugin_status=all&paged=1&s&_wpnonce=75cdaf690f |
Aspect | after-activation |
HTTP status | 200 |
Load time | 0.456 s |
Memory usage | 3.33 MiB |
JS errors | None |
Resource errors | None |
URL | / |
---|---|
Aspect | front-page |
HTTP status | 200 |
Load time | 0.233 s |
Memory usage | 3.03 MiB |
JS errors | None |
Resource errors | None |
URL | Load time | Memory usage | ||||
---|---|---|---|---|---|---|
Inactive | Active | Change | Inactive | Active | Change | |
/wp-admin/index.php | 0.285 s | 0.273 s | -0.012 s | 3.07 MiB | 3.19 MiB | + 119.94 KiB |
/wp-admin/edit.php | 0.189 s | 0.188 s | -0.001 s | 3.1 MiB | 3.21 MiB | + 116.98 KiB |
/wp-admin/post-new.php | 0.749 s | 1.033 s | +0.284 s | 5.02 MiB | 5.14 MiB | + 123.76 KiB |
/wp-admin/upload.php | 0.547 s | 0.309 s | -0.238 s | 3.02 MiB | 3.11 MiB | + 100.8 KiB |
/wp-admin/options-writing.php | 0.183 s | 0.143 s | -0.040 s | 3.01 MiB | 3.1 MiB | + 90.31 KiB |
/wp-admin/media-new.php | 0.310 s | 0.205 s | -0.105 s | 2.99 MiB | 3.1 MiB | + 112.21 KiB |
/wp-admin/edit-tags.php?taxonomy=category | 0.198 s | 0.283 s | +0.085 s | 3.01 MiB | 3.12 MiB | + 119.35 KiB |
/wp-admin/post-new.php?post_type=page | 0.583 s | 0.625 s | +0.042 s | 5.01 MiB | 5.13 MiB | + 119.34 KiB |
/wp-admin/options-discussion.php | 0.206 s | 0.246 s | +0.040 s | 3 MiB | 3.1 MiB | + 103.94 KiB |
/wp-admin/edit-comments.php | 0.206 s | 0.203 s | -0.003 s | 3.03 MiB | 3.13 MiB | + 102.98 KiB |
/ | 0.301 s | 0.218 s | -0.083 s | 2.97 MiB | 3.09 MiB | + 121.19 KiB |
Average | 0.342 s | 0.339 s | -0.003 s | 3.38 MiB | 3.49 MiB | + 111.89 KiB |
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.
Language | % | Lines of code | Comment lines | Files | |
---|---|---|---|---|---|
PHP | 91.2% | 1,096 | 894 | 34 | |
JavaScript | 7.3% | 88 | 2 | 2 | |
CSS | 1.5% | 18 | 8 | 2 | |
Total | 1,202 | 904 | 38 |
Lines of code | 1,092 |
---|---|
Total complexity | 177 |
Median class complexity | 4.5 |
Median method complexity | 1.0 |
Most complex class | RSPW_Payment_Filter |
Most complex function | RSPW_Payment_Filter::exclude_payment_gateways() |
Classes | 30 |
---|---|
Methods | 103 |
Functions | 0 |
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.
ID | Name |
---|---|
shipping_condition | Shipping Conditions |
payment_condition | Payment Conditions |
{
"shipping_condition": {
"rspw_pro_promotion_box_id": {
"title": "Upgrade To Pro",
"context": "side"
},
"shipping_conditions_metabox": {
"title": "Condition Properties",
"context": "normal"
}
},
"payment_condition": {
"rspw_pro_promotion_box_id": {
"title": "Upgrade To Pro",
"context": "side"
},
"payment_conditions_metabox": {
"title": "Condition Properties",
"context": "normal"
}
}
}
[24-May-2023 12:10:44 UTC] PHP Deprecated: Optional parameter $field_escaped_value declared before required parameter $field_type_object is implicitly treated as a required parameter in /wp-content/plugins/wc-restricted-shipping-and-payment/admin/vendors/cmb-field-select2/cmb-field-select2.php on line 89
[24-May-2023 12:10:44 UTC] PHP Deprecated: Optional parameter $type declared before required parameter $field_id is implicitly treated as a required parameter in /wp-content/plugins/wc-restricted-shipping-and-payment/admin/vendors/cmb2/includes/rest-api/CMB2_REST.php on line 693