Skip to content

Commit b11289b

Browse files
authored
fix: New PCP errors related to ABSPATH (#1519)
1 parent 2ed88c9 commit b11289b

13 files changed

Lines changed: 52 additions & 0 deletions

inc/classes/assets/class-ima-assets.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77

88
namespace RTGODAM\Inc\Assets;
99

10+
if ( ! defined( 'ABSPATH' ) ) {
11+
exit;
12+
}
13+
1014
use RTGODAM\Inc\Traits\Singleton;
1115

1216
/**

inc/classes/assets/class-jetpack-form-assets.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77

88
namespace RTGODAM\Inc\Assets;
99

10+
if ( ! defined( 'ABSPATH' ) ) {
11+
exit;
12+
}
13+
1014
use RTGODAM\Inc\Traits\Singleton;
1115

1216
/**

inc/classes/class-elementor-widgets.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77

88
namespace RTGODAM\Inc;
99

10+
if ( ! defined( 'ABSPATH' ) ) {
11+
exit;
12+
}
13+
1014
use RTGODAM\Inc\Elementor_Controls\Godam_Media;
1115
use RTGODAM\Inc\Elementor_Widgets\Godam_Audio;
1216
use RTGODAM\Inc\Elementor_Widgets\Godam_Gallery;

inc/classes/class-rewrite.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88

99
namespace RTGODAM\Inc;
1010

11+
if ( ! defined( 'ABSPATH' ) ) {
12+
exit;
13+
}
14+
1115
use RTGODAM\Inc\Traits\Singleton;
1216

1317
/**

inc/classes/class-video-embed.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88

99
namespace RTGODAM\Inc;
1010

11+
if ( ! defined( 'ABSPATH' ) ) {
12+
exit;
13+
}
14+
1115
use RTGODAM\Inc\Traits\Singleton;
1216

1317
/**

inc/classes/class-video-engagement.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77

88
namespace RTGODAM\Inc;
99

10+
if ( ! defined( 'ABSPATH' ) ) {
11+
exit;
12+
}
13+
1014
use RTGODAM\Inc\Traits\Singleton;
1115
use WP_Error;
1216

inc/classes/class-video-preview.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88

99
namespace RTGODAM\Inc;
1010

11+
if ( ! defined( 'ABSPATH' ) ) {
12+
exit;
13+
}
14+
1115
use RTGODAM\Inc\Traits\Singleton;
1216

1317
/**

inc/classes/everest-forms/everest-forms-field-godam-record-frontend.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77
* @since 1.4.0
88
*/
99

10+
if ( ! defined( 'ABSPATH' ) ) {
11+
exit;
12+
}
13+
1014
// Get the primary field data.
1115
$godam_primary = $field['properties']['inputs']['primary'] ?? array();
1216

inc/classes/fluentforms/class-form-submit.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77

88
namespace RTGODAM\Inc\FluentForms;
99

10+
if ( ! defined( 'ABSPATH' ) ) {
11+
exit;
12+
}
13+
1014
use RTGODAM\Inc\Traits\Singleton;
1115

1216
/**

inc/classes/lifter-lms/class-lifter-lms.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@
1010

1111
namespace RTGODAM\Inc\Lifter_LMS;
1212

13+
if ( ! defined( 'ABSPATH' ) ) {
14+
exit;
15+
}
16+
1317
use RTGODAM\Inc\Traits\Singleton;
1418

1519
/**

0 commit comments

Comments
 (0)