PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / 5.0
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More v5.0
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 -14 6.45.0 View file →
@@ -10,13 +10,8 @@
10 10 <title><?php bloginfo_rss( 'name' ); ?></title>
11 11 <pubDate><?php echo esc_html( gmdate( 'D, d M Y H:i:s +0000' ) ); ?></pubDate>
12 12
13 13 <?php
14 -/**
15 - * @since 5.3
16 - */
17 -do_action( 'frm_xml_export_before_types_loop' );
18 -
19 14 foreach ( $type as $tb_type ) {
20 15
21 16 if ( ! isset( $tables[ $tb_type ] ) ) {
22 17 do_action( 'frm_xml_import_' . $tb_type, $args );
@@ -22,28 +17,23 @@
22 17 do_action( 'frm_xml_import_' . $tb_type, $args );
23 18 continue;
24 19 }
25 20
21 + //no records
26 22 if ( ! isset( $records[ $tb_type ] ) ) {
27 - // No records.
28 23 continue;
29 24 }
30 25
31 26 $item_ids = $records[ $tb_type ];
32 -
33 27 if ( in_array( $tb_type, array( 'styles', 'actions' ), true ) ) {
34 - include dirname( __FILE__ ) . '/posts_xml.php';
28 + include( dirname( __FILE__ ) . '/posts_xml.php' );
35 29 } elseif ( file_exists( dirname( __FILE__ ) . '/' . $tb_type . '_xml.php' ) ) {
36 - include dirname( __FILE__ ) . '/' . $tb_type . '_xml.php';
30 + include( dirname( __FILE__ ) . '/' . $tb_type . '_xml.php' );
37 31 } elseif ( FrmAppHelper::pro_is_installed() && file_exists( FrmProAppHelper::plugin_path() . '/classes/views/xml/' . $tb_type . '_xml.php' ) ) {
38 - include FrmProAppHelper::plugin_path() . '/classes/views/xml/' . $tb_type . '_xml.php';
32 + include( FrmProAppHelper::plugin_path() . '/classes/views/xml/' . $tb_type . '_xml.php' );
39 33 }
40 34
41 35 unset( $item_ids, $records[ $tb_type ], $tb_type );
42 36 }
43 37
44 -/**
45 - * @since 5.3
46 - */
47 -do_action( 'frm_xml_export_after_types_loop' );
48 38 ?>
49 39 </channel>