We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac83029 commit 54e18b1Copy full SHA for 54e18b1
classes/QueryMonitor.php
@@ -71,7 +71,10 @@ public function filter_plugin_action_links( array $actions ) {
71
* @return array<int, string> Updated array of the plugin's metadata.
72
*/
73
public function filter_plugin_row_meta( array $plugin_meta, $plugin_file ) {
74
- if ( 'query-monitor/query-monitor.php' !== $plugin_file ) {
+ $is_qm = ( 'query-monitor/query-monitor.php' === $plugin_file );
75
+ $is_db = ( 'db.php' === $plugin_file && class_exists( 'QM_DB', false ) );
76
+
77
+ if ( ! $is_qm && ! $is_db ) {
78
return $plugin_meta;
79
}
80
0 commit comments