Skip to content

Commit 2c8938d

Browse files
committed
Fixes PHP Fatal error
Cannot declare class ElasticPressLabs, because the name is already in use
1 parent e8dcaef commit 2c8938d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

includes/classes/Feature/ElasticPressLabs.php

+5-1
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,18 @@
55
* @package ElasticPressLabs
66
*/
77

8+
namespace ElasticPressLabs\Feature;
9+
10+
use ElasticPress\Feature;
11+
812
if ( ! defined( 'ABSPATH' ) ) {
913
exit; // Exit if accessed directly.
1014
}
1115

1216
/**
1317
* Your feature class.
1418
*/
15-
class ElasticPressLabs extends \ElasticPress\Feature {
19+
class ElasticPressLabs extends Feature {
1620

1721
/**
1822
* Order of the feature in ElasticPress's Dashboard.

0 commit comments

Comments
 (0)