Skip to content

Commit 75511d7

Browse files
committed
Add some small fixes
1 parent a1b0d3c commit 75511d7

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

assets/src/js/README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ The TypeScript files are compiled to JavaScript using the WordPress build proces
4141

4242
- `_acf-experiments.ts`: Core experiments functionality
4343
- `acf-experiments.ts`: Main entry point for experiments
44-
- `_acf-experiment-example.ts`: Example of using experiments in TypeScript
4544

4645
## Implementation Details
4746

@@ -53,6 +52,5 @@ The experiments functionality is implemented using:
5352

5453
## Future Improvements
5554

56-
- Move more JavaScript code to TypeScript
57-
- Add unit tests for TypeScript code
58-
- Implement more sophisticated experiment tracking
55+
- Move more JavaScript code to TypeScript.
56+
- Add unit tests for TypeScript code.

includes/admin/admin-experiments.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
}
1515

1616
if ( ! class_exists( 'SCF_Admin_Experiments' ) ) :
17-
#[AllowDynamicProperties]
1817
/**
1918
* Class SCF_Admin_Experiments
2019
*
@@ -127,10 +126,10 @@ public function load() {
127126
// load acf scripts
128127
acf_enqueue_scripts();
129128

130-
// Enqueue experiments script. Uncomment to enable in production when ready.
129+
// Temporarily disabled. Uncomment to enable in production when ready.
131130
// acf_enqueue_script( 'acf-experiments' );
132131

133-
// Localize experiments data. Uncomment to enable in production when ready.
132+
// Temporarily disabled. Localize experiments data. Uncomment to enable in production when ready.
134133
// $this->enqueue_experiments_script();
135134
}
136135

0 commit comments

Comments
 (0)