PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / 6.17
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More v6.17
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/posts_xml.php +0 -6 6.266.17 View file →
@@ -52,9 +52,8 @@
52 52 <?php
53 53 endif;
54 54
55 55 $postmeta = FrmDb::get_results( $wpdb->postmeta, array( 'post_id' => $post->ID ) );
56 -
57 56 foreach ( $postmeta as $meta ) :
58 57 if ( apply_filters( 'wxr_export_skip_postmeta', false, $meta->meta_key, $meta ) ) {
59 58 continue;
60 59 }
@@ -66,9 +65,8 @@
66 65 <?php
67 66 endforeach;
68 67
69 68 $taxonomies = get_object_taxonomies( $post->post_type );
70 -
71 69 if ( ! empty( $taxonomies ) ) {
72 70 $terms = wp_get_object_terms( $post->ID, $taxonomies );
73 71
74 72 foreach ( (array) $terms as $term ) {
@@ -79,9 +77,8 @@
79 77 }
80 78
81 79 if ( 'frm_display' === $post->post_type && is_callable( 'FrmViewsLayout::get_layouts_for_view' ) ) {
82 80 $layouts = FrmViewsLayout::get_layouts_for_view( $post->ID );
83 -
84 81 if ( is_array( $layouts ) ) {
85 82 foreach ( $layouts as $layout ) {
86 83 ?>
87 84 <layout>
@@ -102,9 +99,8 @@
102 99 return;
103 100 }
104 101
105 102 global $frm_inc_tax;
106 -
107 103 if ( empty( $frm_inc_tax ) ) {
108 104 $frm_inc_tax = array();
109 105 }
110 106
@@ -121,13 +117,11 @@
121 117 <term><term_id><?php echo esc_html( $term->term_id ); ?></term_id><term_taxonomy><?php echo esc_html( $term->taxonomy ); ?></term_taxonomy><?php
122 118 if ( ! empty( $parent_slugs[ $term->parent ] ) ) {
123 119 echo '<term_parent>' . esc_html( $parent_slugs[ $term->parent ] ) . '</term_parent>';
124 120 }
125 -
126 121 if ( ! empty( $term->name ) ) {
127 122 echo '<term_name>' . FrmXMLHelper::cdata( $term->name ) . '</term_name>'; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
128 123 }
129 -
130 124 if ( ! empty( $term->description ) ) {
131 125 echo '<term_description>' . FrmXMLHelper::cdata( $term->description ) . '</term_description>'; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
132 126 }
133 127 echo '<term_slug>' . esc_html( $term->slug ) . '</term_slug>';