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:
insignificant.
The plugin didn't make the site noticeably slower.
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=13e200975d |
Aspect | after-activation |
HTTP status | 200 |
Load time | 1.959 s |
Memory usage | 4.87 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.206 s |
Memory usage | 4.83 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.191 s |
Memory usage | 4.77 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/admin.php?page=rcp-members |
---|---|
Aspect | menu-item |
HTTP status | 200 |
Load time | 0.314 s |
Memory usage | 5.17 MiB |
JS errors | None |
Resource errors | None |
URL | / |
---|---|
Aspect | front-page |
HTTP status | 200 |
Load time | 0.280 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 | 0.935 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 | 0.691 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.261 s | 0.271 s | +0.010 s | 3.54 MiB | 4.86 MiB | + 1.32 MiB |
/wp-admin/edit.php | 0.177 s | 0.212 s | +0.035 s | 3.57 MiB | 5.04 MiB | + 1.47 MiB |
/wp-admin/post-new.php | 0.834 s | 0.989 s | +0.155 s | 5.46 MiB | 6.89 MiB | + 1.43 MiB |
/wp-admin/upload.php | 0.685 s | 0.495 s | -0.190 s | 3.41 MiB | 4.8 MiB | + 1.39 MiB |
/wp-admin/options-writing.php | 0.181 s | 0.171 s | -0.010 s | 3.4 MiB | 4.78 MiB | + 1.37 MiB |
/wp-admin/media-new.php | 0.277 s | 0.213 s | -0.064 s | 3.39 MiB | 4.76 MiB | + 1.37 MiB |
/wp-admin/edit-tags.php?taxonomy=category | 0.189 s | 0.210 s | +0.021 s | 3.48 MiB | 4.81 MiB | + 1.34 MiB |
/wp-admin/post-new.php?post_type=page | 0.607 s | 0.683 s | +0.076 s | 5.46 MiB | 6.88 MiB | + 1.42 MiB |
/wp-admin/options-discussion.php | 0.220 s | 0.243 s | +0.023 s | 3.38 MiB | 4.78 MiB | + 1.39 MiB |
/wp-admin/edit-comments.php | 0.217 s | 0.221 s | +0.004 s | 3.48 MiB | 4.81 MiB | + 1.33 MiB |
/ | 0.275 s | 0.241 s | -0.034 s | 3.44 MiB | 4.56 MiB | + 1.13 MiB |
Average | 0.357 s | 0.359 s | +0.002 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,553 | 47,845 | 527 | |
CSS | 2.2% | 3,688 | 150 | 23 | |
JavaScript | 2.1% | 3,499 | 998 | 22 | |
Markdown | 0.7% | 1,206 | 0 | 5 | |
SVG | 0.2% | 252 | 0 | 39 | |
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,413 | 95,767 | 642 |
Lines of code | 59,437 |
---|---|
Total complexity | 13,780 |
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 | 791 |
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"
}
}
}
[16-Nov-2022 10:35:39 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