diff --git a/eth-simple-shortlinks.php b/eth-simple-shortlinks.php index 24c3244668c36e55cfb60e41a60b6eee3c591540..128b32e06fa0ba7bf7ab4361bd8bedb4b0af53b7 100644 --- a/eth-simple-shortlinks.php +++ b/eth-simple-shortlinks.php @@ -172,7 +172,7 @@ class ETH_Simple_Shortlinks { * Provide the shortlink in row actions for easy access */ public function filter_row_actions( $actions, $post ) { - if ( ! in_array( get_post_type( $post ), $this->supported_post_types ) ) { + if ( ! in_array( get_post_type( $post ), $this->supported_post_types ) || ! in_array( get_post_status( $post ), $this->supported_post_statuses ) ) { return $actions; }