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: 717.93 KiB
The average PHP memory usage increased by this amount after activating by the plugin.
Page speed impact:
0.042 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=d21d72145c |
Aspect | after-activation |
HTTP status | 200 |
Load time | 0.871 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.188 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.177 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.205 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.255 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.209 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.226 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.921 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.910 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.675 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.726 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.660 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.363 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.188 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.194 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.202 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.259 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.403 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.333 s |
Memory usage | 3.69 MiB |
JS errors | None |
Resource errors | None |
URL | / |
---|---|
Aspect | front-page |
HTTP status | 200 |
Load time | 0.253 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.688 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.669 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.284 s | 0.360 s | +0.076 s | 3.07 MiB | 3.82 MiB | + 770.66 KiB |
/wp-admin/edit.php | 0.182 s | 0.210 s | +0.028 s | 3.1 MiB | 3.88 MiB | + 800.02 KiB |
/wp-admin/post-new.php | 0.731 s | 0.969 s | +0.238 s | 5.02 MiB | 5.7 MiB | + 692.94 KiB |
/wp-admin/upload.php | 0.514 s | 0.558 s | +0.044 s | 3.02 MiB | 3.71 MiB | + 711.98 KiB |
/wp-admin/options-writing.php | 0.147 s | 0.161 s | +0.014 s | 3.01 MiB | 3.7 MiB | + 700.25 KiB |
/wp-admin/media-new.php | 0.270 s | 0.207 s | -0.063 s | 2.99 MiB | 3.7 MiB | + 724.43 KiB |
/wp-admin/edit-tags.php?taxonomy=category | 0.188 s | 0.199 s | +0.011 s | 3.01 MiB | 3.74 MiB | + 754.01 KiB |
/wp-admin/post-new.php?post_type=page | 0.605 s | 0.673 s | +0.068 s | 5.01 MiB | 5.67 MiB | + 673.99 KiB |
/wp-admin/options-discussion.php | 0.218 s | 0.267 s | +0.049 s | 3 MiB | 3.7 MiB | + 713.98 KiB |
/wp-admin/edit-comments.php | 0.186 s | 0.222 s | +0.036 s | 3.03 MiB | 3.74 MiB | + 730.08 KiB |
/ | 0.299 s | 0.257 s | -0.042 s | 2.97 MiB | 3.58 MiB | + 624.89 KiB |
Average | 0.329 s | 0.371 s | +0.042 s | 3.38 MiB | 4.09 MiB | + 717.93 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,627 | 51,110 | 596 | |
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,266 | 99,016 | 710 |
Lines of code | 62,759 |
---|---|
Total complexity | 14,153 |
Median class complexity | 4.0 |
Median method complexity | 2.0 |
Most complex class | Freemius |
Most complex function | rcp_tools_system_info_report() |
Classes | 388 |
---|---|
Methods | 2,891 |
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"
}
}
}
[07-Jun-2023 22:20:29 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
[07-Jun-2023 22:20:29 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[07-Jun-2023 22:20: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
[07-Jun-2023 22:20:29 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[07-Jun-2023 22:20: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
[07-Jun-2023 22:20:29 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
[07-Jun-2023 22:20:30 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[07-Jun-2023 22:20: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
[07-Jun-2023 22:20:31 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[07-Jun-2023 22:20: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
[07-Jun-2023 22:20:31 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[07-Jun-2023 22:20: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
[07-Jun-2023 22:20:32 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[07-Jun-2023 22:20: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
[07-Jun-2023 22:20:33 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[07-Jun-2023 22:20: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
[07-Jun-2023 22:20:34 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[07-Jun-2023 22:20: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
[07-Jun-2023 22:20:35 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[07-Jun-2023 22:20: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
[07-Jun-2023 22:20:36 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[07-Jun-2023 22:20: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
[07-Jun-2023 22:20:38 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[07-Jun-2023 22:20: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
[07-Jun-2023 22:20:40 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[07-Jun-2023 22:20: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
[07-Jun-2023 22:20:42 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[07-Jun-2023 22:20: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
[07-Jun-2023 22:20:44 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[07-Jun-2023 22:20: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
[07-Jun-2023 22:20:46 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[07-Jun-2023 22:20: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
[07-Jun-2023 22:20:47 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[07-Jun-2023 22:20: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
[07-Jun-2023 22:20:48 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[07-Jun-2023 22:20:48 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
[07-Jun-2023 22:20:49 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[07-Jun-2023 22:20: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
[07-Jun-2023 22:20:50 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[07-Jun-2023 22:20: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
[07-Jun-2023 22:20:51 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[07-Jun-2023 22:20:51 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
[07-Jun-2023 22:20:52 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[07-Jun-2023 22:20: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
[07-Jun-2023 22:20:54 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[07-Jun-2023 22:20: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
[07-Jun-2023 22:20:54 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[07-Jun-2023 22:20: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
[07-Jun-2023 22:20:55 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[07-Jun-2023 22:20: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
[07-Jun-2023 22:20:58 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[07-Jun-2023 22:20: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
[07-Jun-2023 22:20:58 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[07-Jun-2023 22:20: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
[07-Jun-2023 22:20:58 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[07-Jun-2023 22:20: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
[07-Jun-2023 22:20:58 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[07-Jun-2023 22:20: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
[07-Jun-2023 22:20:59 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[07-Jun-2023 22:20: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
[07-Jun-2023 22:21:01 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[07-Jun-2023 22:21: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
[07-Jun-2023 22:21:01 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[07-Jun-2023 22:21: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
[07-Jun-2023 22:21:02 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[07-Jun-2023 22:21: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
[07-Jun-2023 22:21:03 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[07-Jun-2023 22:21: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
[07-Jun-2023 22:21:05 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[07-Jun-2023 22:21: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
[07-Jun-2023 22:21:08 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[07-Jun-2023 22:21:08 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
[07-Jun-2023 22:21:09 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[07-Jun-2023 22:21: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