PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / 6.32
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More v6.32
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/views/xml/xml.php +4 -5 6.36.32 View file →
@@ -16,9 +16,8 @@
16 16 */
17 17 do_action( 'frm_xml_export_before_types_loop' );
18 18
19 19 foreach ( $type as $tb_type ) {
20 -
21 20 if ( ! isset( $tables[ $tb_type ] ) ) {
22 21 do_action( 'frm_xml_import_' . $tb_type, $args );
23 22 continue;
24 23 }
@@ -30,17 +29,17 @@
30 29
31 30 $item_ids = $records[ $tb_type ];
32 31
33 32 if ( in_array( $tb_type, array( 'styles', 'actions' ), true ) ) {
34 - include dirname( __FILE__ ) . '/posts_xml.php';
35 - } elseif ( file_exists( dirname( __FILE__ ) . '/' . $tb_type . '_xml.php' ) ) {
36 - include dirname( __FILE__ ) . '/' . $tb_type . '_xml.php';
33 + include __DIR__ . '/posts_xml.php';
34 + } elseif ( file_exists( __DIR__ . '/' . $tb_type . '_xml.php' ) ) {
35 + include __DIR__ . '/' . $tb_type . '_xml.php';
37 36 } elseif ( FrmAppHelper::pro_is_installed() && file_exists( FrmProAppHelper::plugin_path() . '/classes/views/xml/' . $tb_type . '_xml.php' ) ) {
38 37 include FrmProAppHelper::plugin_path() . '/classes/views/xml/' . $tb_type . '_xml.php';
39 38 }
40 39
41 40 unset( $item_ids, $records[ $tb_type ], $tb_type );
42 -}
41 +}//end foreach
43 42
44 43 /**
45 44 * @since 5.3
46 45 */