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-list-table.php +3 -3 3.10.03.6.1 View file →
@@ -150,14 +150,14 @@
150 150 return array();
151 151 }
152 152
153 153 // Directly checking the user meta; to check whether user has changed screen option or not.
154 - $hidden = get_user_meta( $user->ID, 'manage' . $this->screen->id . 'columnshidden', true );
154 + $hidden = $this->plugin->admin->get_user_meta( $user->ID, 'manage' . $this->screen->id . 'columnshidden', true );
155 155
156 156 // If user meta is not found; add the default hidden column 'id'.
157 157 if ( ! $hidden ) {
158 158 $hidden = array( 'id' );
159 - update_user_meta( $user->ID, 'manage' . $this->screen->id . 'columnshidden', $hidden );
159 + $this->plugin->admin->update_user_meta( $user->ID, 'manage' . $this->screen->id . 'columnshidden', $hidden );
160 160 }
161 161
162 162 return $hidden;
163 163 }
@@ -1138,9 +1138,9 @@
1138 1138
1139 1139 if ( 'on' === $option && 'false' === $heartbeat ) {
1140 1140 $option = 'off';
1141 1141
1142 - update_user_meta( $user_id, $this->plugin->admin->live_update->user_meta_key, 'off' );
1142 + $this->plugin->admin->update_user_meta( $user_id, $this->plugin->admin->live_update->user_meta_key, 'off' );
1143 1143 }
1144 1144
1145 1145 $nonce = wp_create_nonce( $this->plugin->admin->live_update->user_meta_key . '_nonce' );
1146 1146