Does Restrict Content work with WordPress 6.1.1 and PHP 7.4.8? A smoke test was performed on .
1 | Database errors |
1 | JavaScript exceptions |
All test pages loaded successfully | |
No resource errors |
Memory usage: 1.36 MiB
The average PHP memory usage increased by this amount after activating by the plugin.
Page speed impact:
0.028 seconds
The average page load time increased by this amount after activating the plugin.
WordPress version | 6.1.1 |
---|---|
PHP version | 7.4.8 |
MySQL version | 8.0.21 |
PHP memory limit | 256M |
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=411bb37d74 |
Aspect | after-activation |
HTTP status | 200 |
Load time | 2.014 s |
Memory usage | 4.88 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.194 s |
Memory usage | 4.84 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.173 s |
Memory usage | 4.78 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/admin.php?page=rcp-members |
---|---|
Aspect | menu-item |
HTTP status | 200 |
Load time | 0.271 s |
Memory usage | 5.17 MiB |
JS errors | None |
Resource errors | None |
URL | / |
---|---|
Aspect | front-page |
HTTP status | 200 |
Load time | 0.265 s |
Memory usage | 4.57 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/post-new.php |
---|---|
Aspect | new-meta-boxes |
HTTP status | 200 |
Load time | 1.131 s |
Memory usage | 6.89 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 | 1.517 s |
Memory usage | 6.88 MiB |
JS errors | None |
Resource errors | None |
URL | Load time | Memory usage | ||||
---|---|---|---|---|---|---|
Inactive | Active | Change | Inactive | Active | Change | |
/wp-admin/index.php | 0.277 s | 0.310 s | +0.033 s | 3.54 MiB | 4.86 MiB | + 1.32 MiB |
/wp-admin/edit.php | 0.180 s | 0.221 s | +0.041 s | 3.57 MiB | 5.04 MiB | + 1.47 MiB |
/wp-admin/post-new.php | 1.024 s | 1.208 s | +0.184 s | 5.46 MiB | 6.89 MiB | + 1.43 MiB |
/wp-admin/upload.php | 0.692 s | 0.536 s | -0.156 s | 3.41 MiB | 4.8 MiB | + 1.39 MiB |
/wp-admin/options-writing.php | 0.162 s | 0.191 s | +0.029 s | 3.4 MiB | 4.78 MiB | + 1.38 MiB |
/wp-admin/media-new.php | 0.241 s | 0.226 s | -0.015 s | 3.39 MiB | 4.76 MiB | + 1.38 MiB |
/wp-admin/edit-tags.php?taxonomy=category | 0.166 s | 0.229 s | +0.063 s | 3.48 MiB | 4.82 MiB | + 1.34 MiB |
/wp-admin/post-new.php?post_type=page | 0.906 s | 0.970 s | +0.064 s | 5.46 MiB | 6.88 MiB | + 1.42 MiB |
/wp-admin/options-discussion.php | 0.212 s | 0.239 s | +0.027 s | 3.38 MiB | 4.78 MiB | + 1.39 MiB |
/wp-admin/edit-comments.php | 0.186 s | 0.248 s | +0.062 s | 3.48 MiB | 4.81 MiB | + 1.33 MiB |
/ | 0.263 s | 0.240 s | -0.023 s | 3.47 MiB | 4.57 MiB | + 1.1 MiB |
Average | 0.392 s | 0.420 s | +0.028 s | 3.82 MiB | 5.18 MiB | + 1.36 MiB |
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 | 50.4% | 82,884 | 46,774 | 17 | |
PHP | 44.1% | 72,503 | 47,867 | 528 | |
CSS | 2.3% | 3,709 | 154 | 24 | |
JavaScript | 2.1% | 3,518 | 998 | 22 | |
Markdown | 0.7% | 1,206 | 0 | 5 | |
SVG | 0.2% | 248 | 0 | 35 | |
JSON | 0.1% | 219 | 0 | 5 | |
Sass | 0.0% | 54 | 0 | 2 | |
XML | 0.0% | 31 | 0 | 1 | |
make | 0.0% | 27 | 0 | 1 | |
Total | 164,399 | 95,793 | 640 |
Lines of code | 59,731 |
---|---|
Total complexity | 13,796 |
Median class complexity | 4.0 |
Median method complexity | 2.0 |
Most complex class | Freemius |
Most complex function | rcp_tools_system_info_report() |
Classes | 326 |
---|---|
Methods | 2,671 |
Functions | 793 |
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
20wp_usermeta
1ID | Name |
---|---|
wp_log | Logs |
{
"post": {
"rcp_meta_box": {
"title": "Restrict this content",
"context": "normal"
}
},
"page": {
"rcp_meta_box": {
"title": "Restrict this content",
"context": "normal"
}
}
}
[18-Nov-2022 16:22:56 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'CONTAINS '[restrict]' OR
post_content CONTAINS '[not_' 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