Version Description
- Ability to pause forms
- Emulate Backbone HTTP via filter instead of API hack
Download this release
Release Info
Developer | tlovett1 |
Plugin | Custom Contact Forms |
Version | 6.7.0 |
Comparing to | |
See all releases |
Code changes from version 6.6.4 to 6.7.0
- classes/class-ccf-api.php +14 -0
- custom-contact-forms.php +1 -1
- languages/custom-contact-forms.mo +0 -0
- languages/custom-contact-forms.po +49 -49
- readme.txt +5 -1
- vendor/wp-api/wp-api/lib/class-wp-json-server.php +1 -5
classes/class-ccf-api.php
CHANGED
@@ -28,6 +28,7 @@ class CCF_API extends WP_JSON_Posts {
|
|
28 |
parent::__construct( $server );
|
29 |
|
30 |
add_filter( 'json_prepare_post', array( $this, 'filter_prepare_post' ), 10, 3 );
|
|
|
31 |
|
32 |
$this->field_attribute_keys = apply_filters( 'ccf_field_attributes', array(
|
33 |
'type' => array(
|
@@ -128,6 +129,19 @@ class CCF_API extends WP_JSON_Posts {
|
|
128 |
) );
|
129 |
}
|
130 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
131 |
/**
|
132 |
* Retrieve a post.
|
133 |
*
|
28 |
parent::__construct( $server );
|
29 |
|
30 |
add_filter( 'json_prepare_post', array( $this, 'filter_prepare_post' ), 10, 3 );
|
31 |
+
add_filter( 'json_pre_dispatch', array( $this, 'filter_json_pre_dispatch' ), 10, 2 );
|
32 |
|
33 |
$this->field_attribute_keys = apply_filters( 'ccf_field_attributes', array(
|
34 |
'type' => array(
|
129 |
) );
|
130 |
}
|
131 |
|
132 |
+
/**
|
133 |
+
* Allow Backbone to emulate HTTP
|
134 |
+
*
|
135 |
+
* @param $result
|
136 |
+
* @param object $server
|
137 |
+
* @since 6.6.5
|
138 |
+
*/
|
139 |
+
function filter_json_pre_dispatch( $result, $server ) {
|
140 |
+
if ( isset( $_SERVER['HTTP_X_HTTP_METHOD_OVERRIDE'] ) ) {
|
141 |
+
$server->method = $_SERVER['HTTP_X_HTTP_METHOD_OVERRIDE'];
|
142 |
+
}
|
143 |
+
}
|
144 |
+
|
145 |
/**
|
146 |
* Retrieve a post.
|
147 |
*
|
custom-contact-forms.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* Plugin URI: http://www.taylorlovett.com
|
5 |
* Description: Build beautiful custom forms the WordPress way. View live previews of your forms while you build them.
|
6 |
* Author: Taylor Lovett
|
7 |
-
* Version: 6.
|
8 |
* Author URI: http://www.taylorlovett.com
|
9 |
*/
|
10 |
|
4 |
* Plugin URI: http://www.taylorlovett.com
|
5 |
* Description: Build beautiful custom forms the WordPress way. View live previews of your forms while you build them.
|
6 |
* Author: Taylor Lovett
|
7 |
+
* Version: 6.7.0
|
8 |
* Author URI: http://www.taylorlovett.com
|
9 |
*/
|
10 |
|
languages/custom-contact-forms.mo
CHANGED
Binary file
|
languages/custom-contact-forms.po
CHANGED
@@ -5,8 +5,8 @@ msgstr ""
|
|
5 |
"Project-Id-Version: Custom Contact Forms\n"
|
6 |
"Report-Msgid-Bugs-To: https://github.com/tlovett1/custom-contact-forms/"
|
7 |
"issues\n"
|
8 |
-
"POT-Creation-Date: 2015-
|
9 |
-
"PO-Revision-Date: 2015-
|
10 |
"Last-Translator: Taylor Lovett <tlovett88@gmail.com>\n"
|
11 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
12 |
"Language: en\n"
|
@@ -23,7 +23,7 @@ msgstr ""
|
|
23 |
"X-Textdomain-Support: yes\n"
|
24 |
"X-Poedit-SearchPath-0: ..\n"
|
25 |
|
26 |
-
#: ../classes/class-ccf-api.php:
|
27 |
#: ../vendor/wp-api/wp-api/lib/class-wp-json-comments.php:82
|
28 |
#: ../vendor/wp-api/wp-api/lib/class-wp-json-customposttype.php:130
|
29 |
#: ../vendor/wp-api/wp-api/lib/class-wp-json-customposttype.php:151
|
@@ -39,56 +39,56 @@ msgstr ""
|
|
39 |
#: ../vendor/wp-api/wp-api/lib/class-wp-json-pages.php:106
|
40 |
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:74
|
41 |
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:271
|
42 |
-
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:
|
43 |
-
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:
|
44 |
-
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:
|
45 |
-
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:
|
46 |
msgid "Invalid post ID."
|
47 |
msgstr ""
|
48 |
|
49 |
-
#: ../classes/class-ccf-api.php:
|
50 |
#: ../vendor/wp-api/wp-api/lib/class-wp-json-comments.php:86
|
51 |
-
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:
|
52 |
-
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:
|
53 |
-
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:
|
54 |
msgid "Sorry, you cannot read this post."
|
55 |
msgstr ""
|
56 |
|
57 |
-
#: ../classes/class-ccf-api.php:
|
58 |
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:122
|
59 |
#, php-format
|
60 |
msgid "The post type \"%s\" is not valid"
|
61 |
msgstr ""
|
62 |
|
63 |
-
#: ../classes/class-ccf-api.php:
|
64 |
-
#: ../classes/class-ccf-api.php:
|
65 |
-
#: ../classes/class-ccf-api.php:
|
66 |
msgid "Invalid form ID."
|
67 |
msgstr ""
|
68 |
|
69 |
-
#: ../classes/class-ccf-api.php:
|
70 |
-
#: ../classes/class-ccf-api.php:
|
71 |
msgid "Sorry, you cannot view forms."
|
72 |
msgstr ""
|
73 |
|
74 |
-
#: ../classes/class-ccf-api.php:
|
75 |
msgid "Invalid form."
|
76 |
msgstr ""
|
77 |
|
78 |
-
#: ../classes/class-ccf-api.php:
|
79 |
msgid "Sorry, you cannot view this form."
|
80 |
msgstr ""
|
81 |
|
82 |
-
#: ../classes/class-ccf-api.php:
|
83 |
msgid "The form cannot be deleted."
|
84 |
msgstr ""
|
85 |
|
86 |
-
#: ../classes/class-ccf-api.php:
|
87 |
msgid "Permanently deleted form"
|
88 |
msgstr ""
|
89 |
|
90 |
-
#: ../classes/class-ccf-api.php:
|
91 |
-
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:
|
92 |
msgid "Deleted post"
|
93 |
msgstr ""
|
94 |
|
@@ -112,7 +112,7 @@ msgstr ""
|
|
112 |
msgid "Forms and Submissions"
|
113 |
msgstr ""
|
114 |
|
115 |
-
#: ../classes/class-ccf-export.php:
|
116 |
msgid "Import"
|
117 |
msgstr ""
|
118 |
|
@@ -1176,18 +1176,18 @@ msgstr ""
|
|
1176 |
#: ../vendor/wp-api/wp-api/lib/class-wp-json-media.php:153
|
1177 |
#: ../vendor/wp-api/wp-api/lib/class-wp-json-media.php:174
|
1178 |
#: ../vendor/wp-api/wp-api/lib/class-wp-json-media.php:205
|
1179 |
-
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:
|
1180 |
-
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:
|
1181 |
msgid "Invalid post type"
|
1182 |
msgstr ""
|
1183 |
|
1184 |
#: ../vendor/wp-api/wp-api/lib/class-wp-json-media.php:210
|
1185 |
-
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:
|
1186 |
msgid "Sorry, you are not allowed to post on this site."
|
1187 |
msgstr ""
|
1188 |
|
1189 |
#: ../vendor/wp-api/wp-api/lib/class-wp-json-media.php:215
|
1190 |
-
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:
|
1191 |
msgid "Sorry, you are not allowed to edit this post."
|
1192 |
msgstr ""
|
1193 |
|
@@ -1222,7 +1222,7 @@ msgid "Invalid featured image."
|
|
1222 |
msgstr ""
|
1223 |
|
1224 |
#: ../vendor/wp-api/wp-api/lib/class-wp-json-meta-posts.php:34
|
1225 |
-
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:
|
1226 |
msgid "Sorry, you cannot edit this post"
|
1227 |
msgstr ""
|
1228 |
|
@@ -1299,69 +1299,69 @@ msgstr ""
|
|
1299 |
msgid "Sorry, you cannot view the revisions for this post."
|
1300 |
msgstr ""
|
1301 |
|
1302 |
-
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:
|
1303 |
msgid "There is a revision of this post that is more recent."
|
1304 |
msgstr ""
|
1305 |
|
1306 |
-
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:
|
1307 |
msgid "Sorry, you are not allowed to delete this post."
|
1308 |
msgstr ""
|
1309 |
|
1310 |
-
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:
|
1311 |
msgid "The post cannot be deleted."
|
1312 |
msgstr ""
|
1313 |
|
1314 |
-
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:
|
1315 |
msgid "Permanently deleted post"
|
1316 |
msgstr ""
|
1317 |
|
1318 |
-
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:
|
1319 |
msgid "Cannot view post type"
|
1320 |
msgstr ""
|
1321 |
|
1322 |
-
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:
|
1323 |
msgid "Sorry, you cannot view this revision"
|
1324 |
msgstr ""
|
1325 |
|
1326 |
-
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:
|
1327 |
msgid "There is no excerpt because this is a protected post."
|
1328 |
msgstr ""
|
1329 |
|
1330 |
-
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:
|
1331 |
msgid "The post type may not be changed."
|
1332 |
msgstr ""
|
1333 |
|
1334 |
-
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:
|
1335 |
msgid "Sorry, you are not allowed to create private posts in this post type"
|
1336 |
msgstr ""
|
1337 |
|
1338 |
-
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:
|
1339 |
msgid "Sorry, you are not allowed to publish posts in this post type"
|
1340 |
msgstr ""
|
1341 |
|
1342 |
-
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:
|
1343 |
msgid "Invalid author object."
|
1344 |
msgstr ""
|
1345 |
|
1346 |
-
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:
|
1347 |
msgid "You are not allowed to edit posts as this user."
|
1348 |
msgstr ""
|
1349 |
|
1350 |
-
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:
|
1351 |
msgid "Invalid author ID."
|
1352 |
msgstr ""
|
1353 |
|
1354 |
-
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:
|
1355 |
msgid ""
|
1356 |
"Sorry, you are not allowed to create password protected posts in this post "
|
1357 |
"type"
|
1358 |
msgstr ""
|
1359 |
|
1360 |
-
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:
|
1361 |
msgid "Invalid post parent ID."
|
1362 |
msgstr ""
|
1363 |
|
1364 |
-
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:
|
1365 |
msgid "Invalid post format."
|
1366 |
msgstr ""
|
1367 |
|
@@ -1377,19 +1377,19 @@ msgstr ""
|
|
1377 |
msgid "The JSONP callback function is invalid."
|
1378 |
msgstr ""
|
1379 |
|
1380 |
-
#: ../vendor/wp-api/wp-api/lib/class-wp-json-server.php:
|
1381 |
msgid "Unsupported request method"
|
1382 |
msgstr ""
|
1383 |
|
1384 |
-
#: ../vendor/wp-api/wp-api/lib/class-wp-json-server.php:
|
1385 |
msgid "The handler for the route is invalid"
|
1386 |
msgstr ""
|
1387 |
|
1388 |
-
#: ../vendor/wp-api/wp-api/lib/class-wp-json-server.php:
|
1389 |
msgid "No route was found matching the URL and request method"
|
1390 |
msgstr ""
|
1391 |
|
1392 |
-
#: ../vendor/wp-api/wp-api/lib/class-wp-json-server.php:
|
1393 |
#: ../vendor/wp-api/wp-api/lib/class-wp-json-users.php:252
|
1394 |
#, php-format
|
1395 |
msgid "Missing parameter %s"
|
5 |
"Project-Id-Version: Custom Contact Forms\n"
|
6 |
"Report-Msgid-Bugs-To: https://github.com/tlovett1/custom-contact-forms/"
|
7 |
"issues\n"
|
8 |
+
"POT-Creation-Date: 2015-04-25 00:38-0500\n"
|
9 |
+
"PO-Revision-Date: 2015-04-25 00:39-0500\n"
|
10 |
"Last-Translator: Taylor Lovett <tlovett88@gmail.com>\n"
|
11 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
12 |
"Language: en\n"
|
23 |
"X-Textdomain-Support: yes\n"
|
24 |
"X-Poedit-SearchPath-0: ..\n"
|
25 |
|
26 |
+
#: ../classes/class-ccf-api.php:160
|
27 |
#: ../vendor/wp-api/wp-api/lib/class-wp-json-comments.php:82
|
28 |
#: ../vendor/wp-api/wp-api/lib/class-wp-json-customposttype.php:130
|
29 |
#: ../vendor/wp-api/wp-api/lib/class-wp-json-customposttype.php:151
|
39 |
#: ../vendor/wp-api/wp-api/lib/class-wp-json-pages.php:106
|
40 |
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:74
|
41 |
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:271
|
42 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:329
|
43 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:374
|
44 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:749
|
45 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:777
|
46 |
msgid "Invalid post ID."
|
47 |
msgstr ""
|
48 |
|
49 |
+
#: ../classes/class-ccf-api.php:164
|
50 |
#: ../vendor/wp-api/wp-api/lib/class-wp-json-comments.php:86
|
51 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:285
|
52 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:527
|
53 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:539
|
54 |
msgid "Sorry, you cannot read this post."
|
55 |
msgstr ""
|
56 |
|
57 |
+
#: ../classes/class-ccf-api.php:220
|
58 |
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:122
|
59 |
#, php-format
|
60 |
msgid "The post type \"%s\" is not valid"
|
61 |
msgstr ""
|
62 |
|
63 |
+
#: ../classes/class-ccf-api.php:443 ../classes/class-ccf-api.php:746
|
64 |
+
#: ../classes/class-ccf-api.php:771 ../classes/class-ccf-api.php:800
|
65 |
+
#: ../classes/class-ccf-api.php:901
|
66 |
msgid "Invalid form ID."
|
67 |
msgstr ""
|
68 |
|
69 |
+
#: ../classes/class-ccf-api.php:448 ../classes/class-ccf-api.php:731
|
70 |
+
#: ../classes/class-ccf-api.php:751
|
71 |
msgid "Sorry, you cannot view forms."
|
72 |
msgstr ""
|
73 |
|
74 |
+
#: ../classes/class-ccf-api.php:777 ../classes/class-ccf-api.php:806
|
75 |
msgid "Invalid form."
|
76 |
msgstr ""
|
77 |
|
78 |
+
#: ../classes/class-ccf-api.php:781
|
79 |
msgid "Sorry, you cannot view this form."
|
80 |
msgstr ""
|
81 |
|
82 |
+
#: ../classes/class-ccf-api.php:912
|
83 |
msgid "The form cannot be deleted."
|
84 |
msgstr ""
|
85 |
|
86 |
+
#: ../classes/class-ccf-api.php:916
|
87 |
msgid "Permanently deleted form"
|
88 |
msgstr ""
|
89 |
|
90 |
+
#: ../classes/class-ccf-api.php:919
|
91 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:391
|
92 |
msgid "Deleted post"
|
93 |
msgstr ""
|
94 |
|
112 |
msgid "Forms and Submissions"
|
113 |
msgstr ""
|
114 |
|
115 |
+
#: ../classes/class-ccf-export.php:90
|
116 |
msgid "Import"
|
117 |
msgstr ""
|
118 |
|
1176 |
#: ../vendor/wp-api/wp-api/lib/class-wp-json-media.php:153
|
1177 |
#: ../vendor/wp-api/wp-api/lib/class-wp-json-media.php:174
|
1178 |
#: ../vendor/wp-api/wp-api/lib/class-wp-json-media.php:205
|
1179 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:768
|
1180 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:788
|
1181 |
msgid "Invalid post type"
|
1182 |
msgstr ""
|
1183 |
|
1184 |
#: ../vendor/wp-api/wp-api/lib/class-wp-json-media.php:210
|
1185 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:803
|
1186 |
msgid "Sorry, you are not allowed to post on this site."
|
1187 |
msgstr ""
|
1188 |
|
1189 |
#: ../vendor/wp-api/wp-api/lib/class-wp-json-media.php:215
|
1190 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:795
|
1191 |
msgid "Sorry, you are not allowed to edit this post."
|
1192 |
msgstr ""
|
1193 |
|
1222 |
msgstr ""
|
1223 |
|
1224 |
#: ../vendor/wp-api/wp-api/lib/class-wp-json-meta-posts.php:34
|
1225 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:655
|
1226 |
msgid "Sorry, you cannot edit this post"
|
1227 |
msgstr ""
|
1228 |
|
1299 |
msgid "Sorry, you cannot view the revisions for this post."
|
1300 |
msgstr ""
|
1301 |
|
1302 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:347
|
1303 |
msgid "There is a revision of this post that is more recent."
|
1304 |
msgstr ""
|
1305 |
|
1306 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:378
|
1307 |
msgid "Sorry, you are not allowed to delete this post."
|
1308 |
msgstr ""
|
1309 |
|
1310 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:384
|
1311 |
msgid "The post cannot be deleted."
|
1312 |
msgstr ""
|
1313 |
|
1314 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:388
|
1315 |
msgid "Permanently deleted post"
|
1316 |
msgstr ""
|
1317 |
|
1318 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:431
|
1319 |
msgid "Cannot view post type"
|
1320 |
msgstr ""
|
1321 |
|
1322 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:665
|
1323 |
msgid "Sorry, you cannot view this revision"
|
1324 |
msgstr ""
|
1325 |
|
1326 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:701
|
1327 |
msgid "There is no excerpt because this is a protected post."
|
1328 |
msgstr ""
|
1329 |
|
1330 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:799
|
1331 |
msgid "The post type may not be changed."
|
1332 |
msgstr ""
|
1333 |
|
1334 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:817
|
1335 |
msgid "Sorry, you are not allowed to create private posts in this post type"
|
1336 |
msgstr ""
|
1337 |
|
1338 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:823
|
1339 |
msgid "Sorry, you are not allowed to publish posts in this post type"
|
1340 |
msgstr ""
|
1341 |
|
1342 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:864
|
1343 |
msgid "Invalid author object."
|
1344 |
msgstr ""
|
1345 |
|
1346 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:874
|
1347 |
msgid "You are not allowed to edit posts as this user."
|
1348 |
msgstr ""
|
1349 |
|
1350 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:880
|
1351 |
msgid "Invalid author ID."
|
1352 |
msgstr ""
|
1353 |
|
1354 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:892
|
1355 |
msgid ""
|
1356 |
"Sorry, you are not allowed to create password protected posts in this post "
|
1357 |
"type"
|
1358 |
msgstr ""
|
1359 |
|
1360 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:909
|
1361 |
msgid "Invalid post parent ID."
|
1362 |
msgstr ""
|
1363 |
|
1364 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:935
|
1365 |
msgid "Invalid post format."
|
1366 |
msgstr ""
|
1367 |
|
1377 |
msgid "The JSONP callback function is invalid."
|
1378 |
msgstr ""
|
1379 |
|
1380 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-server.php:371
|
1381 |
msgid "Unsupported request method"
|
1382 |
msgstr ""
|
1383 |
|
1384 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-server.php:390
|
1385 |
msgid "The handler for the route is invalid"
|
1386 |
msgstr ""
|
1387 |
|
1388 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-server.php:450
|
1389 |
msgid "No route was found matching the URL and request method"
|
1390 |
msgstr ""
|
1391 |
|
1392 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-server.php:502
|
1393 |
#: ../vendor/wp-api/wp-api/lib/class-wp-json-users.php:252
|
1394 |
#, php-format
|
1395 |
msgid "Missing parameter %s"
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
|
|
4 |
Tags: contact form, web form, custom contact form, custom forms, captcha form, contact fields, form mailers, forms
|
5 |
Requires at least: 3.9
|
6 |
Tested up to: 4.2
|
7 |
-
Stable tag: 6.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -35,6 +35,10 @@ For questions, feature requests, and support concerning the Custom Contact Forms
|
|
35 |
|
36 |
== Changelog ==
|
37 |
|
|
|
|
|
|
|
|
|
38 |
= 6.6.4 =
|
39 |
* Fix API setup so it doesn't conflict with WP API plugin
|
40 |
* Fix bug where export menu item was shown to non authorized users
|
4 |
Tags: contact form, web form, custom contact form, custom forms, captcha form, contact fields, form mailers, forms
|
5 |
Requires at least: 3.9
|
6 |
Tested up to: 4.2
|
7 |
+
Stable tag: 6.7.0
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
35 |
|
36 |
== Changelog ==
|
37 |
|
38 |
+
= 6.7.0 =
|
39 |
+
* Ability to pause forms
|
40 |
+
* Emulate Backbone HTTP via filter instead of API hack
|
41 |
+
|
42 |
= 6.6.4 =
|
43 |
* Fix API setup so it doesn't conflict with WP API plugin
|
44 |
* Fix bug where export menu item was shown to non authorized users
|
vendor/wp-api/wp-api/lib/class-wp-json-server.php
CHANGED
@@ -225,14 +225,10 @@ class WP_JSON_Server implements WP_JSON_ResponseHandler {
|
|
225 |
$this->files = $_FILES;
|
226 |
|
227 |
/**
|
228 |
-
* HTTP method override for clients that can't use PUT/PATCH/DELETE.
|
229 |
-
* $_GET['_method']. If that is not set, we check for the HTTP_X_HTTP_METHOD_OVERRIDE
|
230 |
-
* header.
|
231 |
*/
|
232 |
if ( isset( $_GET['_method'] ) ) {
|
233 |
$this->method = strtoupper( $_GET['_method'] );
|
234 |
-
} elseif ( isset( $_SERVER['HTTP_X_HTTP_METHOD_OVERRIDE'] ) ) {
|
235 |
-
$this->method = strtoupper( $_SERVER['HTTP_X_HTTP_METHOD_OVERRIDE'] );
|
236 |
}
|
237 |
|
238 |
$result = $this->check_authentication();
|
225 |
$this->files = $_FILES;
|
226 |
|
227 |
/**
|
228 |
+
* HTTP method override for clients that can't use PUT/PATCH/DELETE.
|
|
|
|
|
229 |
*/
|
230 |
if ( isset( $_GET['_method'] ) ) {
|
231 |
$this->method = strtoupper( $_GET['_method'] );
|
|
|
|
|
232 |
}
|
233 |
|
234 |
$result = $this->check_authentication();
|