| @@ -72,13 +72,13 @@ | ||
| 72 | 72 | $installed = isset( $all_plugins[ $plugin_data['plugin_slug'] ] ); |
| 73 | 73 | |
| 74 | 74 | if ( isset( $plugin_data['freepro'] ) && 1 === $plugin_data['freepro'] ) { |
| 75 | 75 | if ( ! $installed ) { |
| 76 | - $status = array( | |
| 77 | - 'p_id' => !empty( $plugin_data['p_id'] ) ? $plugin_data['p_id'] : '', | |
| 76 | + return array( | |
| 77 | + 'p_id' => ! empty( $plugin_data['p_id'] ) ? $plugin_data['p_id'] : '', | |
| 78 | 78 | 'success' => false, |
| 79 | 79 | 'status' => 'pro_plugin', |
| 80 | - 'message' => 'Pro Plugin', | |
| 80 | + 'message' => __( 'Pro Plugin', 'wdesignkit' ), | |
| 81 | 81 | ); |
| 82 | 82 | } |
| 83 | 83 | } |
| 84 | 84 | |