PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / trunk
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More vtrunk
6.35 6.34 6.33.1 6.33 6.32.1 6.32 6.31 6.25 6.25.1 6.26 6.26.1 6.27 6.28 6.29 6.3 6.3.1 6.3.2 6.30 6.4 6.4.1 6.4.2 6.5 6.5.1 6.5.2 6.5.3 All 141 releases
← All changes | classes/models/FrmCreateFile.php +1 -3 6.29 → trunk View file →
@@ -193,11 +193,9 @@
193 193 */
194 194 private function create_directories( &$dirs_exist ) {
195 195 global $wp_filesystem;
196 196
197 - $needed_dirs = $this->get_needed_dirs();
198 -
199 - foreach ( $needed_dirs as $_dir ) {
197 + foreach ( $this->get_needed_dirs() as $_dir ) {
200 198 // Only check to see if the Dir exists upon creation failure. Less I/O this way.
201 199 if ( $wp_filesystem->mkdir( $_dir, $this->chmod_dir ) ) {
202 200 $index_path = $_dir . '/index.php';
203 201 $wp_filesystem->put_contents( $index_path, "<?php\n// Silence is golden.\n?>", $this->chmod_file );