CustomQuery 0.4

Does CustomQuery work with WordPress 6.0.1 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
1PHP fatal errors
5PHP notices
17PHP deprecation warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: -1.04 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.

Environment
WordPress version6.0.1
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs <10
WordPress.org page https://wordpress.org/plugins/customquery/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 4

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?plugin_status=all&paged=1&s
Requested URL /wp-admin/plugins.php?action=activate&plugin=customquery%2Fcustomquery.php&plugin_status=all&paged=1&s&_wpnonce=3948e16e88
Aspect after-activation
HTTP status 200
Load time 0.250 s
Memory usage 3.69 MiB
JS errors None
Resource errors None

CustomQuery

Page screenshot: CustomQuery
URL /wp-admin/admin.php?page=customquery
Aspect menu-item
HTTP status 200
Load time 0.165 s
Memory usage N/A
JS errors None
Resource errors None

CustomQuery → Run A Query

Page screenshot: CustomQuery → Run A Query
URL /wp-admin/admin.php?page=customquery2
Aspect menu-item
HTTP status 200
Load time 0.290 s
Memory usage 3.6 MiB
JS errors None
Resource errors None

Test site – Just another WordPress site

Page screenshot: Test site – Just another WordPress site
URL /
Aspect front-page
HTTP status 200
Load time 0.221 s
Memory usage 3.55 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.367 s0.285 s-0.082 s3.72 MiB3.73 MiB+ 5.58 KiB
/wp-admin/edit.php0.254 s0.200 s-0.054 s3.75 MiB3.76 MiB+ 5.58 KiB
/wp-admin/post-new.php1.200 s1.272 s+0.072 s5.54 MiB5.56 MiB+ 13.75 KiB
/wp-admin/upload.php0.435 s0.348 s-0.087 s3.68 MiB3.69 MiB+ 5.05 KiB
/wp-admin/options-writing.php0.151 s0.154 s+0.003 s3.62 MiB3.6 MiB- 15.05 KiB
/wp-admin/media-new.php0.492 s0.217 s-0.275 s3.66 MiB3.67 MiB+ 5.22 KiB
/wp-admin/edit-tags.php?taxonomy=category0.196 s0.190 s-0.006 s3.69 MiB3.69 MiB+ 6.13 KiB
/wp-admin/post-new.php?post_type=page1.245 s0.952 s-0.293 s5.54 MiB5.55 MiB+ 5.4 KiB
/wp-admin/options-discussion.php0.216 s0.331 s+0.115 s3.59 MiB3.6 MiB+ 5.53 KiB
/wp-admin/edit-comments.php0.229 s0.226 s-0.003 s3.69 MiB3.7 MiB+ 4.47 KiB
/0.275 s0.227 s-0.048 s3.6 MiB3.55 MiB- 53.09 KiB
Average 0.460 s0.400 s-0.060 s4.01 MiB4.01 MiB- 1.04 KiB

Code Statistics

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.

PHP
Language % Lines of code Comment lines Files
PHP100.0%291411
Total 291 41 1

PHP Code Analysis | More results »

Lines of code 295
Total complexity 48
Median class complexity 0.0
Median method complexity 0.0
Most complex class
Most complex function cq_tables()
Classes 0
Methods 0
Functions 5

Additions

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.

No new entries found.

PHP Error Log 30 lines

[29-Jul-2022 23:53:12 UTC] PHP Deprecated:  Function add_object_page is <strong>deprecated</strong> since version 4.5.0! Use add_menu_page() instead. in /wp-includes/functions.php on line 5379
[29-Jul-2022 23:53:13 UTC] PHP Deprecated:  Function add_object_page is <strong>deprecated</strong> since version 4.5.0! Use add_menu_page() instead. in /wp-includes/functions.php on line 5379
[29-Jul-2022 23:53:13 UTC] PHP Deprecated:  Function add_object_page is <strong>deprecated</strong> since version 4.5.0! Use add_menu_page() instead. in /wp-includes/functions.php on line 5379
[29-Jul-2022 23:53:13 UTC] PHP Notice:  Undefined index: action in /wp-content/plugins/customquery/customquery.php on line 199
[29-Jul-2022 23:53:13 UTC] PHP Notice:  Undefined index: status in /wp-content/plugins/customquery/customquery.php on line 200
[29-Jul-2022 23:53:13 UTC] PHP Notice:  Undefined index: table in /wp-content/plugins/customquery/customquery.php on line 201
[29-Jul-2022 23:53:13 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function mysql_query() in /wp-content/plugins/customquery/customquery.php:260
Stack trace:
#0 /wp-includes/class-wp-hook.php(307): cq_tables()
#1 /wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(476): WP_Hook->do_action()
#3 /wp-admin/admin.php(259): do_action()
#4 {main}
  thrown in /wp-content/plugins/customquery/customquery.php on line 260
[29-Jul-2022 23:53:14 UTC] PHP Deprecated:  Function add_object_page is <strong>deprecated</strong> since version 4.5.0! Use add_menu_page() instead. in /wp-includes/functions.php on line 5379
[29-Jul-2022 23:53:14 UTC] PHP Notice:  Undefined index: action in /wp-content/plugins/customquery/customquery.php on line 79
[29-Jul-2022 23:53:14 UTC] PHP Notice:  Undefined index: where in /wp-content/plugins/customquery/customquery.php on line 80
[29-Jul-2022 23:53:16 UTC] PHP Deprecated:  Function add_object_page is <strong>deprecated</strong> since version 4.5.0! Use add_menu_page() instead. in /wp-includes/functions.php on line 5379
[29-Jul-2022 23:53:16 UTC] PHP Deprecated:  Function add_object_page is <strong>deprecated</strong> since version 4.5.0! Use add_menu_page() instead. in /wp-includes/functions.php on line 5379
[29-Jul-2022 23:53:17 UTC] PHP Deprecated:  Function add_object_page is <strong>deprecated</strong> since version 4.5.0! Use add_menu_page() instead. in /wp-includes/functions.php on line 5379
[29-Jul-2022 23:53:19 UTC] PHP Deprecated:  Function add_object_page is <strong>deprecated</strong> since version 4.5.0! Use add_menu_page() instead. in /wp-includes/functions.php on line 5379
[29-Jul-2022 23:53:20 UTC] PHP Deprecated:  Function add_object_page is <strong>deprecated</strong> since version 4.5.0! Use add_menu_page() instead. in /wp-includes/functions.php on line 5379
[29-Jul-2022 23:53:20 UTC] PHP Deprecated:  Function add_object_page is <strong>deprecated</strong> since version 4.5.0! Use add_menu_page() instead. in /wp-includes/functions.php on line 5379
[29-Jul-2022 23:53:20 UTC] PHP Deprecated:  Function add_object_page is <strong>deprecated</strong> since version 4.5.0! Use add_menu_page() instead. in /wp-includes/functions.php on line 5379
[29-Jul-2022 23:53:20 UTC] PHP Deprecated:  Function add_object_page is <strong>deprecated</strong> since version 4.5.0! Use add_menu_page() instead. in /wp-includes/functions.php on line 5379
[29-Jul-2022 23:53:23 UTC] PHP Deprecated:  Function add_object_page is <strong>deprecated</strong> since version 4.5.0! Use add_menu_page() instead. in /wp-includes/functions.php on line 5379
[29-Jul-2022 23:53:23 UTC] PHP Deprecated:  Function add_object_page is <strong>deprecated</strong> since version 4.5.0! Use add_menu_page() instead. in /wp-includes/functions.php on line 5379
[29-Jul-2022 23:53:24 UTC] PHP Deprecated:  Function add_object_page is <strong>deprecated</strong> since version 4.5.0! Use add_menu_page() instead. in /wp-includes/functions.php on line 5379
[29-Jul-2022 23:53:24 UTC] PHP Deprecated:  Function add_object_page is <strong>deprecated</strong> since version 4.5.0! Use add_menu_page() instead. in /wp-includes/functions.php on line 5379
[29-Jul-2022 23:53:24 UTC] PHP Deprecated:  Function add_object_page is <strong>deprecated</strong> since version 4.5.0! Use add_menu_page() instead. in /wp-includes/functions.php on line 5379
See also: All tests for this plugin