diff --git a/source/wp-content/themes/wporg-developer-2023/inc/template-tags.php b/source/wp-content/themes/wporg-developer-2023/inc/template-tags.php index 668e33b8..b6fc88ca 100644 --- a/source/wp-content/themes/wporg-developer-2023/inc/template-tags.php +++ b/source/wp-content/themes/wporg-developer-2023/inc/template-tags.php @@ -1422,7 +1422,7 @@ function _get_functions_to_exclude_from_uses() { $ids = $wpdb->get_col( "SELECT p2p_to - FROM {$wpdb->p2p} p2p + FROM {$wpdb->prefix}p2p p2p WHERE p2p_type IN ( 'methods_to_functions', 'functions_to_functions', 'methods_to_methods', 'functions_to_methods' ) GROUP BY p2p_to HAVING COUNT(*) > 50"