Does Photo Gallery work with WordPress 6.5.4 and PHP 8.1.12? A smoke test was performed on .
1 | PHP notices |
92 | PHP deprecation warnings |
No JavaScript exceptions | |
All test pages loaded successfully | |
No resource errors |
Memory usage: 511.6 KiB
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.5.4 |
---|---|
PHP version | 8.1.12 |
MySQL version | 10.6.10 |
PHP memory limit | 512M |
Last updated | |
---|---|
Active installs | 200,000+ |
WordPress.org page | https://wordpress.org/plugins/photo-gallery/ |
Badges |
|
URL | /wp-admin/plugins.php?plugin_status=all&paged=1&s |
---|---|
Requested URL | /wp-admin/plugins.php?action=activate&plugin=photo-gallery%2Fphoto-gallery.php&plugin_status=all&paged=1&s&_wpnonce=856fd6ac1a |
Aspect | after-activation |
HTTP status | 200 |
Load time | 0.507 s |
Memory usage | 4.05 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/admin.php?page=galleries_bwg |
---|---|
Aspect | menu-item |
HTTP status | 200 |
Load time | 0.470 s |
Memory usage | 4.81 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/admin.php?page=twbbwg_photo-gallery |
---|---|
Aspect | menu-item |
HTTP status | 200 |
Load time | 0.465 s |
Memory usage | 4.16 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/admin.php?page=cloudflare_bwg |
---|---|
Aspect | menu-item |
HTTP status | 200 |
Load time | 0.281 s |
Memory usage | 3.88 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/admin.php?page=albums_bwg |
---|---|
Aspect | menu-item |
HTTP status | 200 |
Load time | 0.330 s |
Memory usage | 4.08 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/edit-tags.php?taxonomy=bwg_tag |
---|---|
Aspect | menu-item |
HTTP status | 200 |
Load time | 0.197 s |
Memory usage | 3.85 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/admin.php?page=options_bwg |
---|---|
Aspect | menu-item |
HTTP status | 200 |
Load time | 1.325 s |
Memory usage | 6.15 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/admin.php?page=themes_bwg |
---|---|
Aspect | menu-item |
HTTP status | 200 |
Load time | 0.304 s |
Memory usage | 5.61 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/admin.php?page=addons_bwg |
---|---|
Aspect | menu-item |
HTTP status | 200 |
Load time | 0.233 s |
Memory usage | 3.87 MiB |
JS errors | None |
Resource errors | None |
URL | / |
---|---|
Aspect | front-page |
HTTP status | 200 |
Load time | 0.394 s |
Memory usage | 3.71 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/widgets.php |
---|---|
Aspect | new-sidebar-widgets |
HTTP status | 200 |
Load time | 2.879 s |
Memory usage | 6.12 MiB |
JS errors | None |
Resource errors | None |
URL | Load time | Memory usage | ||||
---|---|---|---|---|---|---|
Inactive | Active | Change | Inactive | Active | Change | |
/wp-admin/index.php | 0.345 s | 0.384 s | +0.039 s | 3.44 MiB | 3.95 MiB | + 524.48 KiB |
/wp-admin/edit.php | 0.209 s | 0.305 s | +0.096 s | 3.46 MiB | 3.99 MiB | + 540.42 KiB |
/wp-admin/post-new.php | 0.935 s | 0.712 s | -0.223 s | 5.59 MiB | 6.18 MiB | + 600.35 KiB |
/wp-admin/upload.php | 0.539 s | 0.334 s | -0.205 s | 3.38 MiB | 3.91 MiB | + 541.62 KiB |
/wp-admin/options-writing.php | 0.224 s | 0.363 s | +0.139 s | 3.37 MiB | 3.85 MiB | + 484.99 KiB |
/wp-admin/media-new.php | 0.300 s | 0.295 s | -0.005 s | 3.35 MiB | 3.84 MiB | + 496.9 KiB |
/wp-admin/edit-tags.php?taxonomy=category | 0.288 s | 0.215 s | -0.073 s | 3.37 MiB | 3.89 MiB | + 529.55 KiB |
/wp-admin/post-new.php?post_type=page | 0.591 s | 0.616 s | +0.025 s | 5.59 MiB | 6.18 MiB | + 607.98 KiB |
/wp-admin/options-discussion.php | 0.299 s | 0.271 s | -0.028 s | 3.36 MiB | 3.84 MiB | + 495.4 KiB |
/wp-admin/edit-comments.php | 0.258 s | 0.238 s | -0.020 s | 3.39 MiB | 3.89 MiB | + 507.07 KiB |
/ | 0.298 s | 0.331 s | +0.033 s | 3.42 MiB | 3.71 MiB | + 298.81 KiB |
Average | 0.390 s | 0.369 s | -0.020 s | 3.79 MiB | 4.29 MiB | + 511.6 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 | 67.0% | 154,369 | 109,281 | 51 | |
PHP | 17.2% | 39,611 | 3,787 | 104 | |
JavaScript | 8.2% | 18,910 | 2,634 | 24 | |
CSS | 6.4% | 14,736 | 264 | 27 | |
SVG | 0.7% | 1,711 | 2 | 153 | |
Sass | 0.5% | 1,049 | 0 | 1 | |
Markdown | 0.0% | 93 | 0 | 1 | |
HTML | 0.0% | 24 | 0 | 3 | |
JSON | 0.0% | 5 | 0 | 1 | |
INI | 0.0% | 2 | 0 | 1 | |
Total | 230,510 | 115,968 | 366 |
Lines of code | 39,497 |
---|---|
Total complexity | 6,175 |
Median class complexity | 28.0 |
Median method complexity | 3.0 |
Most complex class | OptionsView_bwg |
Most complex function | ThemesView_bwg::edit_body() |
Classes | 96 |
---|---|
Methods | 703 |
Functions | 10 |
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
6wp_usermeta
1ID | Name |
---|---|
bwg_gallery | Galleries |
bwg_album | Albums |
bwg_tag | Gallery tags |
bwg_share | Gallery Share |
ID | Name |
---|---|
bwp_gallery | Photo Gallery Widget |
bwp_gallery_slideshow | Photo Gallery Slideshow |
[06-Jun-2024 16:02:50 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7288
[06-Jun-2024 16:02: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 2187
[06-Jun-2024 16:02:50 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7288
[06-Jun-2024 16:02: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 2187
[06-Jun-2024 16:02:51 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7288
[06-Jun-2024 16:02: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 2187
[06-Jun-2024 16:02:51 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7288
[06-Jun-2024 16:02: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 2187
[06-Jun-2024 16:02:51 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7288
[06-Jun-2024 16:02: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 2187
[06-Jun-2024 16:02:51 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7288
[06-Jun-2024 16:02: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 2187
[06-Jun-2024 16:02:53 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7288
[06-Jun-2024 16:02: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 2187
[06-Jun-2024 16:02:53 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7288
[06-Jun-2024 16:02: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 2187
[06-Jun-2024 16:02:54 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7288
[06-Jun-2024 16:02: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 2187
[06-Jun-2024 16:02:54 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7288
[06-Jun-2024 16:02: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 2187
[06-Jun-2024 16:02:55 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7288
[06-Jun-2024 16:02: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 2187
[06-Jun-2024 16:02:55 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7288
[06-Jun-2024 16:02: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 2187
[06-Jun-2024 16:02:56 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7288
[06-Jun-2024 16:02: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 2187
[06-Jun-2024 16:02:56 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7288
[06-Jun-2024 16:02: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 2187
[06-Jun-2024 16:02:56 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7288
[06-Jun-2024 16:02: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 2187
[06-Jun-2024 16:02:56 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7288
[06-Jun-2024 16:02: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 2187
[06-Jun-2024 16:02:59 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7288
[06-Jun-2024 16:02: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 2187
[06-Jun-2024 16:02:59 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7288
[06-Jun-2024 16:02: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 2187
[06-Jun-2024 16:03:00 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7288
[06-Jun-2024 16:03:00 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[06-Jun-2024 16:03:00 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7288
[06-Jun-2024 16:03:00 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[06-Jun-2024 16:03:02 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7288
[06-Jun-2024 16:03: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 2187
[06-Jun-2024 16:03:02 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7288
[06-Jun-2024 16:03: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 2187
[06-Jun-2024 16:03:02 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7288
[06-Jun-2024 16:03: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 2187
[06-Jun-2024 16:03:02 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7288
[06-Jun-2024 16:03: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 2187
[06-Jun-2024 16:03:02 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7288
[06-Jun-2024 16:03: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 2187
[06-Jun-2024 16:03:02 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7288
[06-Jun-2024 16:03: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 2187
[06-Jun-2024 16:03:05 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7288
[06-Jun-2024 16:03: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 2187
[06-Jun-2024 16:03:05 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7288
[06-Jun-2024 16:03: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 2187
[06-Jun-2024 16:03:06 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7288
[06-Jun-2024 16:03:06 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[06-Jun-2024 16:03:06 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7288
[06-Jun-2024 16:03:06 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[06-Jun-2024 16:03:06 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7288
[06-Jun-2024 16:03:06 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[06-Jun-2024 16:03:06 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7288
[06-Jun-2024 16:03:06 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[06-Jun-2024 16:03:06 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7288
[06-Jun-2024 16:03:06 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[06-Jun-2024 16:03:06 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7288
[06-Jun-2024 16:03:06 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[06-Jun-2024 16:03:07 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7288
[06-Jun-2024 16:03:07 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[06-Jun-2024 16:03:07 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7288
[06-Jun-2024 16:03:07 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[06-Jun-2024 16:03:09 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7288
[06-Jun-2024 16:03: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 2187
[06-Jun-2024 16:03:09 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7288
[06-Jun-2024 16:03: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 2187
[06-Jun-2024 16:03:10 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7288
[06-Jun-2024 16:03:10 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[06-Jun-2024 16:03:10 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7288
[06-Jun-2024 16:03:10 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[06-Jun-2024 16:03:10 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7288
[06-Jun-2024 16:03:10 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[06-Jun-2024 16:03:10 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7288
[06-Jun-2024 16:03:10 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[06-Jun-2024 16:03:11 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7288
[06-Jun-2024 16:03:11 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[06-Jun-2024 16:03:11 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7288
[06-Jun-2024 16:03:11 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[06-Jun-2024 16:03:11 UTC] PHP Notice: Function wp_enqueue_script() was called incorrectly. "wp-editor" script should not be enqueued together with the new widgets editor (wp-edit-widgets or wp-customize-widgets). Please see <a>Debugging in WordPress</a> for more information. (This message was added in version 5.8.0.) in /wp-includes/functions.php on line 6078
[06-Jun-2024 16:03:17 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7288
[06-Jun-2024 16:03:17 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[06-Jun-2024 16:03:17 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7288
[06-Jun-2024 16:03:17 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187