Does Pay to Read work with WordPress 5.8.1 and PHP 7.4.8? A smoke test was performed on .
| 3 | PHP notices |
| No JavaScript exceptions | |
| All test pages loaded successfully | |
| No resource errors |
Memory usage: 29.02 KiB
The average PHP memory usage increased by this amount after activating by the plugin.
Page speed impact:
0.080 seconds
The average page load time increased by this amount after activating the plugin.
| WordPress version | 5.8.1 |
|---|---|
| PHP version | 7.4.8 |
| MySQL version | 8.0.21 |
| PHP memory limit | 256M |
| Last updated | |
|---|---|
| Active installs | <10 |
| WordPress.org page | https://wordpress.org/plugins/pay-to-read/ |
| Badges |
|
| URL | /wp-admin/plugins.php?plugin_status=all&paged=1&s |
|---|---|
| Requested URL | /wp-admin/plugins.php?action=activate&plugin=pay-to-read%2Fpay-to-read.php&plugin_status=all&paged=1&s&_wpnonce=a8139d6fe3 |
| Aspect | after-activation |
| HTTP status | 200 |
| Load time | 0.367 s |
| Memory usage | 3.07 MiB |
| JS errors | None |
| Resource errors | None |
| URL | /wp-admin/edit.php?post_type=p2r_premium_posts |
|---|---|
| Aspect | menu-item |
| HTTP status | 200 |
| Load time | 0.162 s |
| Memory usage | 3.11 MiB |
| JS errors | None |
| Resource errors | None |
| URL | /wp-admin/post-new.php?post_type=p2r_premium_posts |
|---|---|
| Aspect | menu-item |
| HTTP status | 200 |
| Load time | 0.934 s |
| Memory usage | 3.28 MiB |
| JS errors | None |
| Resource errors | None |
| URL | /wp-admin/edit-tags.php?taxonomy=premium_posts_category&post_type=p2r_premium_posts |
|---|---|
| Aspect | menu-item |
| HTTP status | 200 |
| Load time | 0.173 s |
| Memory usage | 3.06 MiB |
| JS errors | None |
| Resource errors | None |
| URL | /wp-admin/admin.php?page=loopwi_p2r |
|---|---|
| Aspect | menu-item |
| HTTP status | 200 |
| Load time | 0.769 s |
| Memory usage | 3.09 MiB |
| JS errors | None |
| Resource errors | None |
| URL | /wp-admin/admin.php?page=loopwi_p2r_settings |
|---|---|
| Aspect | menu-item |
| HTTP status | 200 |
| Load time | 0.462 s |
| Memory usage | 3.07 MiB |
| JS errors | None |
| Resource errors | None |
| URL | / |
|---|---|
| Aspect | front-page |
| HTTP status | 200 |
| Load time | 0.411 s |
| Memory usage | 2.94 MiB |
| JS errors | None |
| Resource errors | None |
| URL | Load time | Memory usage | ||||
|---|---|---|---|---|---|---|
| Inactive | Active | Change | Inactive | Active | Change | |
| /wp-admin/index.php | 0.346 s | 0.576 s | +0.230 s | 3.08 MiB | 3.12 MiB | + 34.32 KiB |
| /wp-admin/edit.php | 0.178 s | 0.197 s | +0.019 s | 3.11 MiB | 3.15 MiB | + 34.32 KiB |
| /wp-admin/post-new.php | 0.832 s | 1.122 s | +0.290 s | 5.27 MiB | 5.31 MiB | + 43.1 KiB |
| /wp-admin/upload.php | 0.522 s | 0.430 s | -0.092 s | 3.03 MiB | 3.06 MiB | + 33.19 KiB |
| /wp-admin/options-writing.php | 0.147 s | 0.148 s | +0.001 s | 3.02 MiB | 3.04 MiB | + 17.16 KiB |
| /wp-admin/media-new.php | 0.225 s | 0.312 s | +0.087 s | 3.01 MiB | 3.04 MiB | + 33.36 KiB |
| /wp-admin/edit-tags.php?taxonomy=category | 0.233 s | 0.266 s | +0.033 s | 3.04 MiB | 3.07 MiB | + 34.27 KiB |
| /wp-admin/post-new.php?post_type=page | 0.999 s | 1.103 s | +0.104 s | 5.26 MiB | 5.3 MiB | + 38.69 KiB |
| /wp-admin/options-discussion.php | 0.259 s | 0.305 s | +0.046 s | 3 MiB | 3.04 MiB | + 33.67 KiB |
| /wp-admin/edit-comments.php | 0.207 s | 0.215 s | +0.008 s | 3.04 MiB | 3.07 MiB | + 33.21 KiB |
| / | 0.317 s | 0.469 s | +0.152 s | 2.96 MiB | 2.94 MiB | - 16.09 KiB |
| Average | 0.388 s | 0.468 s | +0.080 s | 3.44 MiB | 3.47 MiB | + 29.02 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 | |
|---|---|---|---|---|---|
| CSS | 73.7% | 8,638 | 234 | 7 | |
| SVG | 22.4% | 2,630 | 3 | 2 | |
| PHP | 3.8% | 442 | 64 | 4 | |
| JavaScript | 0.1% | 13 | 0 | 1 | |
| Total | 11,723 | 301 | 14 | ||
| Lines of code | 260 |
|---|---|
| Total complexity | 26 |
| Median class complexity | 0.0 |
| Median method complexity | 0.0 |
| Most complex class | — |
| Most complex function | loopwi_post__shortcode() |
| Classes | 0 |
|---|---|
| Methods | 0 |
| Functions | 15 |
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 1| ID | Name |
|---|---|
| p2r_premium_posts | Premium Posts |
{
"p2r_premium_posts": {
"p2r_box_id": {
"title": "YOUR CHARGE FOR READERS OF READ THIS ARTICLE",
"context": "advanced"
}
},
"p2r_cpt": {
"p2r_box_id": {
"title": "YOUR CHARGE FOR READERS OF READ THIS ARTICLE",
"context": "advanced"
}
}
}[17-Sep-2021 21:23:26 UTC] PHP Notice: Trying to get property 'pid' of non-object in /wp-content/plugins/pay-to-read/pay-to-read.php on line 89
[17-Sep-2021 21:23:29 UTC] PHP Notice: Undefined variable: site_code in /wp-content/plugins/pay-to-read/includes/dashboard.php on line 19
[17-Sep-2021 21:23:29 UTC] PHP Notice: Undefined variable: site_code in /wp-content/plugins/pay-to-read/includes/dashboard.php on line 39