Does Restrict Content work with WordPress 6.2 and PHP 8.1.12? A smoke test was performed on .
74 | PHP deprecation warnings |
1 | Database errors |
1 | JavaScript exceptions |
All test pages loaded successfully | |
No resource errors |
Memory usage: 719.98 KiB
The average PHP memory usage increased by this amount after activating by the plugin.
Page speed impact:
0.036 seconds
The average page load time increased by this amount after activating the plugin.
WordPress version | 6.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=d68e5657ef |
Aspect | after-activation |
HTTP status | 200 |
Load time | 0.721 s |
Memory usage | 3.77 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.277 s |
Memory usage | 3.77 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.158 s |
Memory usage | 3.7 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/admin.php?page=rcp-members |
---|---|
Aspect | menu-item |
HTTP status | 200 |
Load time | 0.180 s |
Memory usage | 3.88 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/admin.php?page=rcp-customers |
---|---|
Aspect | menu-item |
HTTP status | 200 |
Load time | 0.207 s |
Memory usage | 3.77 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.176 s |
Memory usage | 3.86 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/admin.php?page=rcp-payments |
---|---|
Aspect | menu-item |
HTTP status | 200 |
Load time | 0.216 s |
Memory usage | 3.89 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/admin.php?page=rcp-settings |
---|---|
Aspect | menu-item |
HTTP status | 200 |
Load time | 0.932 s |
Memory usage | 3.86 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.595 s |
Memory usage | 3.86 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.610 s |
Memory usage | 3.86 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.575 s |
Memory usage | 3.86 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.599 s |
Memory usage | 3.86 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/admin.php?page=rcp-tools |
---|---|
Aspect | menu-item |
HTTP status | 200 |
Load time | 0.287 s |
Memory usage | 4.19 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.164 s |
Memory usage | 3.7 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.175 s |
Memory usage | 3.71 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.184 s |
Memory usage | 3.71 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.217 s |
Memory usage | 3.7 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/admin.php?page=rcp-addons |
---|---|
Aspect | menu-item |
HTTP status | 200 |
Load time | 0.319 s |
Memory usage | 3.7 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.257 s |
Memory usage | 3.69 MiB |
JS errors | None |
Resource errors | None |
URL | / |
---|---|
Aspect | front-page |
HTTP status | 200 |
Load time | 0.234 s |
Memory usage | 3.58 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/post-new.php |
---|---|
Aspect | new-meta-boxes |
HTTP status | 200 |
Load time | 0.654 s |
Memory usage | 5.68 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.603 s |
Memory usage | 5.67 MiB |
JS errors | None |
Resource errors | None |
URL | Load time | Memory usage | ||||
---|---|---|---|---|---|---|
Inactive | Active | Change | Inactive | Active | Change | |
/wp-admin/index.php | 0.385 s | 0.297 s | -0.088 s | 3.07 MiB | 3.85 MiB | + 798.22 KiB |
/wp-admin/edit.php | 0.151 s | 0.192 s | +0.041 s | 3.1 MiB | 3.88 MiB | + 799.45 KiB |
/wp-admin/post-new.php | 0.669 s | 1.044 s | +0.375 s | 5.02 MiB | 5.7 MiB | + 692.37 KiB |
/wp-admin/upload.php | 0.386 s | 0.384 s | -0.002 s | 3.02 MiB | 3.71 MiB | + 711.41 KiB |
/wp-admin/options-writing.php | 0.234 s | 0.143 s | -0.091 s | 3.01 MiB | 3.7 MiB | + 699.68 KiB |
/wp-admin/media-new.php | 0.232 s | 0.193 s | -0.039 s | 2.99 MiB | 3.7 MiB | + 723.86 KiB |
/wp-admin/edit-tags.php?taxonomy=category | 0.165 s | 0.175 s | +0.010 s | 3.01 MiB | 3.74 MiB | + 753.44 KiB |
/wp-admin/post-new.php?post_type=page | 0.531 s | 0.722 s | +0.191 s | 5.01 MiB | 5.67 MiB | + 673.45 KiB |
/wp-admin/options-discussion.php | 0.178 s | 0.248 s | +0.070 s | 3 MiB | 3.7 MiB | + 713.41 KiB |
/wp-admin/edit-comments.php | 0.204 s | 0.202 s | -0.002 s | 3.03 MiB | 3.74 MiB | + 729.51 KiB |
/ | 0.264 s | 0.199 s | -0.065 s | 2.97 MiB | 3.58 MiB | + 624.95 KiB |
Average | 0.309 s | 0.345 s | +0.036 s | 3.38 MiB | 4.09 MiB | + 719.98 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.4% | 82,884 | 46,774 | 17 | |
PHP | 44.8% | 75,257 | 50,960 | 595 | |
CSS | 2.3% | 3,834 | 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 | 167,927 | 98,866 | 709 |
Lines of code | 62,392 |
---|---|
Total complexity | 14,118 |
Median class complexity | 4.0 |
Median method complexity | 2.0 |
Most complex class | Freemius |
Most complex function | rcp_tools_system_info_report() |
Classes | 387 |
---|---|
Methods | 2,876 |
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"
}
}
}
[30-Mar-2023 23:01:26 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
[30-Mar-2023 23:01:26 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[30-Mar-2023 23:01:26 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
[30-Mar-2023 23:01:26 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[30-Mar-2023 23:01:26 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
[30-Mar-2023 23:01:26 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
[30-Mar-2023 23:01:27 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[30-Mar-2023 23:01: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
[30-Mar-2023 23:01:28 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[30-Mar-2023 23:01: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
[30-Mar-2023 23:01:28 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[30-Mar-2023 23:01: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
[30-Mar-2023 23:01:29 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[30-Mar-2023 23:01: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
[30-Mar-2023 23:01:30 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[30-Mar-2023 23:01:30 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
[30-Mar-2023 23:01:31 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[30-Mar-2023 23:01:31 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
[30-Mar-2023 23:01:32 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[30-Mar-2023 23:01: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
[30-Mar-2023 23:01:32 UTC] PHP Deprecated: round(): Passing null to parameter #1 ($num) of type int|float is deprecated in /wp-content/plugins/restrict-content/core/includes/class-rcp-payments.php on line 1043
[30-Mar-2023 23:01:33 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[30-Mar-2023 23:01:33 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
[30-Mar-2023 23:01:34 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[30-Mar-2023 23:01:34 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
[30-Mar-2023 23:01:36 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[30-Mar-2023 23:01: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
[30-Mar-2023 23:01:38 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[30-Mar-2023 23:01:38 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
[30-Mar-2023 23:01:40 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[30-Mar-2023 23:01:40 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
[30-Mar-2023 23:01:42 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[30-Mar-2023 23:01:42 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
[30-Mar-2023 23:01:43 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[30-Mar-2023 23:01:43 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
[30-Mar-2023 23:01:44 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[30-Mar-2023 23:01:44 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
[30-Mar-2023 23:01:45 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[30-Mar-2023 23:01:45 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
[30-Mar-2023 23:01:45 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[30-Mar-2023 23:01:45 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
[30-Mar-2023 23:01:46 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[30-Mar-2023 23:01:46 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
[30-Mar-2023 23:01:47 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[30-Mar-2023 23:01:47 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
[30-Mar-2023 23:01:49 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[30-Mar-2023 23:01:49 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
[30-Mar-2023 23:01:50 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[30-Mar-2023 23:01:50 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
[30-Mar-2023 23:01:50 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[30-Mar-2023 23:01:50 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
[30-Mar-2023 23:01:52 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[30-Mar-2023 23:01:52 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
[30-Mar-2023 23:01:53 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[30-Mar-2023 23:01: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
[30-Mar-2023 23:01:53 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[30-Mar-2023 23:01: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
[30-Mar-2023 23:01:53 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[30-Mar-2023 23:01: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
[30-Mar-2023 23:01:53 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[30-Mar-2023 23:01: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
[30-Mar-2023 23:01:56 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[30-Mar-2023 23:01: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
[30-Mar-2023 23:01:56 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[30-Mar-2023 23:01: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
[30-Mar-2023 23:01:56 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[30-Mar-2023 23:01: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
[30-Mar-2023 23:01:57 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[30-Mar-2023 23:01: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
[30-Mar-2023 23:01:59 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[30-Mar-2023 23:01: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
[30-Mar-2023 23:02:02 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[30-Mar-2023 23:02:02 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
[30-Mar-2023 23:02:02 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[30-Mar-2023 23:02:02 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