Version Description
- Removed filter that broke some RSS feeds
Download this release
Release Info
Developer | jasongreen |
Plugin | Contact Form Submissions |
Version | 1.3.2 |
Comparing to | |
See all releases |
Code changes from version 1.3.1 to 1.3.2
- Submissions.php +0 -16
- contact-form-submissions.php +1 -1
- readme.txt +4 -1
Submissions.php
CHANGED
@@ -5,8 +5,6 @@ class WPCF7Submissions {
|
|
5 |
add_action('init', array($this, 'post_type') );
|
6 |
|
7 |
add_filter('wpcf7_mail_components', array($this, 'submission'), 999, 3);
|
8 |
-
|
9 |
-
add_action('pre_get_posts', array($this, 'disable_feed'));
|
10 |
}
|
11 |
|
12 |
function post_type() {
|
@@ -129,18 +127,4 @@ class WPCF7Submissions {
|
|
129 |
|
130 |
return $post_id;
|
131 |
}
|
132 |
-
|
133 |
-
function disable_feed($query) {
|
134 |
-
if(!$query->is_feed || !$query->is_main_query()) {
|
135 |
-
return;
|
136 |
-
}
|
137 |
-
|
138 |
-
$exclude = 'wpcf7s';
|
139 |
-
$post_types = $query->get('post_type');
|
140 |
-
|
141 |
-
if (($key = array_search($exclude, $post_types)) !== false){
|
142 |
-
unset($post_types[$key]);
|
143 |
-
}
|
144 |
-
$query->set( 'post_type', $post_types );
|
145 |
-
}
|
146 |
}
|
5 |
add_action('init', array($this, 'post_type') );
|
6 |
|
7 |
add_filter('wpcf7_mail_components', array($this, 'submission'), 999, 3);
|
|
|
|
|
8 |
}
|
9 |
|
10 |
function post_type() {
|
127 |
|
128 |
return $post_id;
|
129 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
130 |
}
|
contact-form-submissions.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/*
|
3 |
Plugin Name: Contact Form Submissions
|
4 |
Description: Never miss an enquiry again! Save all Contact Form 7 submissions in your database.
|
5 |
-
Version: 1.3.
|
6 |
Author: Jason Green
|
7 |
License: GPLv3
|
8 |
Domain Path: /languages
|
2 |
/*
|
3 |
Plugin Name: Contact Form Submissions
|
4 |
Description: Never miss an enquiry again! Save all Contact Form 7 submissions in your database.
|
5 |
+
Version: 1.3.2
|
6 |
Author: Jason Green
|
7 |
License: GPLv3
|
8 |
Domain Path: /languages
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Tags: contact form 7, save contact form, submissions, contact form db, cf7, wpcf
|
|
4 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=SNHXWSXSPYATE
|
5 |
Requires at least: 3.0.1
|
6 |
Tested up to: 4.5.1
|
7 |
-
Stable tag: 1.3.
|
8 |
License: GPLv3
|
9 |
|
10 |
Never miss an enquiry again! Save all Contact Form 7 submissions safely in your database.
|
@@ -37,6 +37,9 @@ None yet
|
|
37 |
|
38 |
== Changelog ==
|
39 |
|
|
|
|
|
|
|
40 |
= 1.3.1 =
|
41 |
* Updated to only save fields that have a value
|
42 |
|
4 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=SNHXWSXSPYATE
|
5 |
Requires at least: 3.0.1
|
6 |
Tested up to: 4.5.1
|
7 |
+
Stable tag: 1.3.2
|
8 |
License: GPLv3
|
9 |
|
10 |
Never miss an enquiry again! Save all Contact Form 7 submissions safely in your database.
|
37 |
|
38 |
== Changelog ==
|
39 |
|
40 |
+
= 1.3.2 =
|
41 |
+
* Removed filter that broke some RSS feeds
|
42 |
+
|
43 |
= 1.3.1 =
|
44 |
* Updated to only save fields that have a value
|
45 |
|