Does Restrict Content work with WordPress 6.2.2 and PHP 8.1.12? A smoke test was performed on .
73 | PHP deprecation warnings |
1 | Database errors |
1 | JavaScript exceptions |
All test pages loaded successfully | |
No resource errors |
Memory usage: 683.33 KiB
The average PHP memory usage increased by this amount after activating by the plugin.
Page speed impact:
0.041 seconds
The average page load time increased by this amount after activating the plugin.
WordPress version | 6.2.2 |
---|---|
PHP version | 8.1.12 |
MySQL version | 10.6.10 |
PHP memory limit | 512M |
Last updated | |
---|---|
Active installs | 10,000+ |
WordPress.org page | https://wordpress.org/plugins/restrict-content/ |
Badges |
|
URL | /wp-admin/admin.php?page=restrict-content-welcome |
---|---|
Requested URL | /wp-admin/plugins.php?action=activate&plugin=restrict-content%2Frestrictcontent.php&plugin_status=all&paged=1&s&_wpnonce=5c41612158 |
Aspect | after-activation |
HTTP status | 200 |
Load time | 1.078 s |
Memory usage | 3.74 MiB |
JS errors |
|
Resource errors | None |
URL | /wp-admin/edit.php?page=rcp-restrict-post-type |
---|---|
Aspect | menu-item |
HTTP status | 200 |
Load time | 0.218 s |
Memory usage | 3.74 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/edit.php?post_type=page&page=rcp-restrict-post-type-page |
---|---|
Aspect | menu-item |
HTTP status | 200 |
Load time | 0.182 s |
Memory usage | 3.67 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/admin.php?page=rcp-members |
---|---|
Aspect | menu-item |
HTTP status | 200 |
Load time | 0.225 s |
Memory usage | 3.85 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/admin.php?page=rcp-customers |
---|---|
Aspect | menu-item |
HTTP status | 200 |
Load time | 0.263 s |
Memory usage | 3.75 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/admin.php?page=rcp-member-levels |
---|---|
Aspect | menu-item |
HTTP status | 200 |
Load time | 0.226 s |
Memory usage | 3.83 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/admin.php?page=rcp-payments |
---|---|
Aspect | menu-item |
HTTP status | 200 |
Load time | 0.258 s |
Memory usage | 3.86 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/admin.php?page=rcp-settings |
---|---|
Aspect | menu-item |
HTTP status | 200 |
Load time | 1.077 s |
Memory usage | 3.81 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/admin.php?page=rcp-settings |
---|---|
Aspect | menu-item-tab |
HTTP status | 200 |
Load time | 0.899 s |
Memory usage | 3.81 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/admin.php?page=rcp-settings |
---|---|
Aspect | menu-item-tab |
HTTP status | 200 |
Load time | 0.774 s |
Memory usage | 3.81 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/admin.php?page=rcp-settings |
---|---|
Aspect | menu-item-tab |
HTTP status | 200 |
Load time | 0.799 s |
Memory usage | 3.81 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/admin.php?page=rcp-settings |
---|---|
Aspect | menu-item-tab |
HTTP status | 200 |
Load time | 0.707 s |
Memory usage | 3.81 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/admin.php?page=rcp-tools |
---|---|
Aspect | menu-item |
HTTP status | 200 |
Load time | 0.399 s |
Memory usage | 4.16 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/admin.php?page=rcp-tools&tab=debug |
---|---|
Aspect | menu-item-tab |
HTTP status | 200 |
Load time | 0.209 s |
Memory usage | 3.67 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/admin.php?page=rcp-tools&tab=import |
---|---|
Aspect | menu-item-tab |
HTTP status | 200 |
Load time | 0.213 s |
Memory usage | 3.69 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/admin.php?page=rcp-tools&tab=export |
---|---|
Aspect | menu-item-tab |
HTTP status | 200 |
Load time | 0.232 s |
Memory usage | 3.68 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/admin.php?page=rcp-need-help |
---|---|
Aspect | menu-item |
HTTP status | 200 |
Load time | 0.283 s |
Memory usage | 3.67 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/admin.php?page=rcp-addons |
---|---|
Aspect | menu-item |
HTTP status | 200 |
Load time | 0.461 s |
Memory usage | 3.67 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/admin.php?page=rcp-why-go-pro |
---|---|
Aspect | menu-item |
HTTP status | 200 |
Load time | 0.358 s |
Memory usage | 3.66 MiB |
JS errors | None |
Resource errors | None |
URL | / |
---|---|
Aspect | front-page |
HTTP status | 200 |
Load time | 0.299 s |
Memory usage | 3.55 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/post-new.php |
---|---|
Aspect | new-meta-boxes |
HTTP status | 200 |
Load time | 0.740 s |
Memory usage | 5.66 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/post-new.php?post_type=page |
---|---|
Aspect | new-meta-boxes |
HTTP status | 200 |
Load time | 0.710 s |
Memory usage | 5.64 MiB |
JS errors | None |
Resource errors | None |
URL | Load time | Memory usage | ||||
---|---|---|---|---|---|---|
Inactive | Active | Change | Inactive | Active | Change | |
/wp-admin/index.php | 0.300 s | 0.387 s | +0.087 s | 3.07 MiB | 3.8 MiB | + 741.67 KiB |
/wp-admin/edit.php | 0.209 s | 0.223 s | +0.014 s | 3.1 MiB | 3.85 MiB | + 771.03 KiB |
/wp-admin/post-new.php | 0.799 s | 1.055 s | +0.256 s | 5.02 MiB | 5.67 MiB | + 663.95 KiB |
/wp-admin/upload.php | 0.622 s | 0.603 s | -0.019 s | 3.02 MiB | 3.68 MiB | + 682.98 KiB |
/wp-admin/options-writing.php | 0.192 s | 0.173 s | -0.019 s | 3.01 MiB | 3.67 MiB | + 671.26 KiB |
/wp-admin/media-new.php | 0.378 s | 0.219 s | -0.159 s | 2.99 MiB | 3.67 MiB | + 695.44 KiB |
/wp-admin/edit-tags.php?taxonomy=category | 0.201 s | 0.321 s | +0.120 s | 3.01 MiB | 3.71 MiB | + 725.02 KiB |
/wp-admin/post-new.php?post_type=page | 0.622 s | 0.806 s | +0.184 s | 5.01 MiB | 5.64 MiB | + 645 KiB |
/wp-admin/options-discussion.php | 0.233 s | 0.288 s | +0.055 s | 3 MiB | 3.67 MiB | + 684.98 KiB |
/wp-admin/edit-comments.php | 0.234 s | 0.252 s | +0.018 s | 3.03 MiB | 3.71 MiB | + 701.09 KiB |
/ | 0.341 s | 0.258 s | -0.083 s | 3.03 MiB | 3.55 MiB | + 534.21 KiB |
Average | 0.376 s | 0.417 s | +0.041 s | 3.39 MiB | 4.06 MiB | + 683.33 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 | |
---|---|---|---|---|---|
PO File | 49.3% | 82,884 | 46,774 | 17 | |
PHP | 44.9% | 75,441 | 50,986 | 593 | |
CSS | 2.3% | 3,803 | 131 | 24 | |
JavaScript | 2.1% | 3,531 | 1,001 | 23 | |
Markdown | 1.0% | 1,744 | 0 | 5 | |
SVG | 0.2% | 293 | 0 | 36 | |
JSON | 0.2% | 270 | 0 | 5 | |
Sass | 0.0% | 54 | 0 | 2 | |
XML | 0.0% | 31 | 0 | 1 | |
make | 0.0% | 29 | 0 | 1 | |
Total | 168,080 | 98,892 | 707 |
Lines of code | 62,573 |
---|---|
Total complexity | 14,114 |
Median class complexity | 4.0 |
Median method complexity | 2.0 |
Most complex class | Freemius |
Most complex function | rcp_tools_system_info_report() |
Classes | 385 |
---|---|
Methods | 2,883 |
Functions | 798 |
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.
wp_options
19ID | Name |
---|---|
wp_log | Logs |
{
"post": {
"rcp_meta_box": {
"title": "Restrict this content",
"context": "normal"
}
},
"page": {
"rcp_meta_box": {
"title": "Restrict this content",
"context": "normal"
}
}
}
[22-Jun-2023 16:08:53 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'CONTAINS '[restrict]' OR
post_content CONTAINS '[n...' at line 2 for query SELECT * FROM wp_posts WHERE
post_content CONTAINS '[restrict]' OR
post_content CONTAINS '[not_logged_in]' OR
post_content CONTAINS '[login_form]' OR
post_content CONTAINS '[register_form]' OR
LIMIT 1 made by activate_plugin, plugin_sandbox_scrape, include_once('/plugins/restrict-content/restrictcontent.php'), RC_Requirements_Check->__construct, RC_Requirements_Check->load, RC_Requirements_Check->restrict_content_check_posts_for_shortcode
[22-Jun-2023 16:08:53 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[22-Jun-2023 16:08:53 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2165
[22-Jun-2023 16:08:53 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[22-Jun-2023 16:08:53 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2165
[22-Jun-2023 16:08:53 UTC] PHP Deprecated: strip_tags(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-admin/admin-header.php on line 36
[22-Jun-2023 16:08:54 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[22-Jun-2023 16:08:54 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2165
[22-Jun-2023 16:08:55 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[22-Jun-2023 16:08:55 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2165
[22-Jun-2023 16:08:56 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[22-Jun-2023 16:08:56 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2165
[22-Jun-2023 16:08:57 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[22-Jun-2023 16:08:57 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2165
[22-Jun-2023 16:08:58 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[22-Jun-2023 16:08:58 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2165
[22-Jun-2023 16:08:59 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[22-Jun-2023 16:08:59 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2165
[22-Jun-2023 16:09:00 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[22-Jun-2023 16:09:00 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2165
[22-Jun-2023 16:09:01 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[22-Jun-2023 16:09:01 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2165
[22-Jun-2023 16:09:03 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[22-Jun-2023 16:09:03 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2165
[22-Jun-2023 16:09:05 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[22-Jun-2023 16:09:05 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2165
[22-Jun-2023 16:09:07 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[22-Jun-2023 16:09:07 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2165
[22-Jun-2023 16:09:09 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[22-Jun-2023 16:09:09 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2165
[22-Jun-2023 16:09:11 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[22-Jun-2023 16:09:11 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2165
[22-Jun-2023 16:09:12 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[22-Jun-2023 16:09:12 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2165
[22-Jun-2023 16:09:13 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[22-Jun-2023 16:09:13 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2165
[22-Jun-2023 16:09:14 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[22-Jun-2023 16:09:14 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2165
[22-Jun-2023 16:09:15 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[22-Jun-2023 16:09:15 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2165
[22-Jun-2023 16:09:16 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[22-Jun-2023 16:09:16 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2165
[22-Jun-2023 16:09:17 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[22-Jun-2023 16:09:17 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2165
[22-Jun-2023 16:09:20 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[22-Jun-2023 16:09:20 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2165
[22-Jun-2023 16:09:20 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[22-Jun-2023 16:09:20 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2165
[22-Jun-2023 16:09:20 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[22-Jun-2023 16:09:20 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2165
[22-Jun-2023 16:09:23 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[22-Jun-2023 16:09:23 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2165
[22-Jun-2023 16:09:24 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[22-Jun-2023 16:09:24 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2165
[22-Jun-2023 16:09:24 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[22-Jun-2023 16:09:24 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2165
[22-Jun-2023 16:09:24 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[22-Jun-2023 16:09:24 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2165
[22-Jun-2023 16:09:25 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[22-Jun-2023 16:09:25 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2165
[22-Jun-2023 16:09:27 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[22-Jun-2023 16:09:27 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2165
[22-Jun-2023 16:09:28 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[22-Jun-2023 16:09:28 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2165
[22-Jun-2023 16:09:28 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[22-Jun-2023 16:09:28 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2165
[22-Jun-2023 16:09:29 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[22-Jun-2023 16:09:29 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2165
[22-Jun-2023 16:09:32 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[22-Jun-2023 16:09:32 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2165
[22-Jun-2023 16:09:35 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[22-Jun-2023 16:09:35 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2165
[22-Jun-2023 16:09:36 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[22-Jun-2023 16:09:36 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2165