PluginProbe
Stream – Activity Log & Audit Trail / 3.6.1
Stream – Activity Log & Audit Trail v3.6.1
4.4.0 4.3.0 4.2.2 4.2.1 trunk 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5 3.0.0 3.0.1 3.0.2 3.0.3 3.0.4 3.0.5 3.0.6 3.0.7 3.1 3.1.1 3.10.0 3.2.0 3.2.1 3.2.2 3.2.3 All 50 releases
← All changes | classes/class-alerts-list.php +2 -2 3.10.0 → 3.6.1 View file →
@@ -55,9 +55,9 @@
55 55 * @param array $query_vars Arguments for query to populate table.
56 56 * @return array
57 57 */
58 58 public function parse_request( $query_vars ) {
59 - $screen = \get_current_screen();
59 + $screen = get_current_screen();
60 60 if ( 'edit-wp_stream_alerts' === $screen->id && Alerts::POST_TYPE === $query_vars['post_type'] && empty( $query_vars['post_status'] ) ) {
61 61 $query_vars['post_status'] = array( 'wp_stream_enabled', 'wp_stream_disabled' );
62 62 }
63 63 return $query_vars;
@@ -111,9 +111,9 @@
111 111 */
112 112 public function column_data( $column_name, $post_id ) {
113 113
114 114 $alert = $this->plugin->alerts->get_alert( $post_id );
115 - if ( false === $alert ) {
115 + if ( ! $alert ) {
116 116 return;
117 117 }
118 118
119 119 switch ( $column_name ) {