Skip to content

Commit 54e18b1

Browse files
committed
Hashtag marketing.
1 parent ac83029 commit 54e18b1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

classes/QueryMonitor.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,10 @@ public function filter_plugin_action_links( array $actions ) {
7171
* @return array<int, string> Updated array of the plugin's metadata.
7272
*/
7373
public function filter_plugin_row_meta( array $plugin_meta, $plugin_file ) {
74-
if ( 'query-monitor/query-monitor.php' !== $plugin_file ) {
74+
$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 ) {
7578
return $plugin_meta;
7679
}
7780

0 commit comments

Comments
 (0)