diff --git a/hidden.php b/hidden.php index 4ab516a..1c6b6e7 100644 --- a/hidden.php +++ b/hidden.php @@ -4,8 +4,8 @@ Plugin URI: https://katz.co/contact-form-7-hidden-fields/ Description: Add hidden fields to the popular Contact Form 7 plugin. Author: Katz Web Services, Inc. -Author URI: http://www.katzwebservices.com -Version: 2.0 +Author URI: http://www.katz.co +Version: 2.0.1 Text Domain: cf7_modules Domain Path: languages License: GPLv2 or later diff --git a/languages/en_US.mo b/languages/en_US.mo index 7d6740a..2fe35db 100644 Binary files a/languages/en_US.mo and b/languages/en_US.mo differ diff --git a/languages/en_US.po b/languages/en_US.po index 4f4cb32..d68e926 100644 --- a/languages/en_US.po +++ b/languages/en_US.po @@ -1,15 +1,15 @@ msgid "" msgstr "" "Project-Id-Version: Contact Form 7 Modules: Send All Fields\n" -"POT-Creation-Date: 2014-03-15 17:07-0700\n" -"PO-Revision-Date: 2014-03-15 17:07-0700\n" -"Last-Translator: Zack Katz \n" +"POT-Creation-Date: 2017-02-01 18:38-0700\n" +"PO-Revision-Date: 2017-02-01 18:38-0700\n" +"Last-Translator: Katz Web Services, Inc. \n" "Language-Team: Zack Katz \n" "Language: en_US\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Generator: Poedit 1.6.4\n" +"X-Generator: Poedit 1.8.5\n" "X-Poedit-Basepath: ..\n" "X-Poedit-SourceCharset: UTF-8\n" "X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;" @@ -18,98 +18,155 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Poedit-SearchPath-0: .\n" -#: hidden.php:267 -msgid "Hidden field" +#: functions.php:46 +msgid "Hide this message" msgstr "" -#: hidden.php:277 +#: functions.php:47 +msgid "Want to integrate your form with a newsletter?" +msgstr "" + +#: functions.php:48 +msgid "Don't have a Constant Contact account?" +msgstr "" + +#: functions.php:49 +msgid "Try Constant Contact for free" +msgstr "" + +#: functions.php:50 +msgid "for 15 days!" +msgstr "" + +#: functions.php:51 +msgid "" +"The Contact Form 7 Constant Contact Module makes it super-simple to add your " +"contacts to an email newsletter. Simply sign up for a free trial at Constant " +"Contact, enter your details, and you're ready to rock." +msgstr "" + +#: functions.php:52 +msgid "Add Newsletter Support" +msgstr "" + +#: functions.php:53 +msgid "Install Contact Form 7 - Constant Contact Module" +msgstr "" + +#: functions.php:54 +msgid "It’s easy!" +msgstr "" + +#: hidden.php:46 +msgid "" +"The Contact Form 7 is installed, but you must activate Contact Form 7 below " +"for the Hidden Fields Module to work." +msgstr "" + +#: hidden.php:48 +msgid "" +"The Contact Form 7 plugin must be installed for the Hidden Fields Module to " +"work." +msgstr "" + +#: hidden.php:50 +msgid "Install Now." +msgstr "" + +#: hidden.php:285 +msgctxt "the name of the field button in CF7" +msgid "hidden" +msgstr "" + +#: hidden.php:294 +#, php-format +msgid "Generate a form tag for a hidden field. For more details, see %s." +msgstr "" + +#: hidden.php:295 +msgid "the plugin page on WordPress.org" +msgstr "" + +#: hidden.php:305 msgid "Name" msgstr "" -#: hidden.php:280 hidden.php:286 +#: hidden.php:313 +msgid "ID attribute" +msgstr "" + +#: hidden.php:314 msgid "optional" msgstr "" -#: hidden.php:286 -msgid "Default value" +#: hidden.php:320 +msgid "Value" msgstr "" -#: hidden.php:287 +#: hidden.php:326 msgid "Use this text as watermark?" msgstr "" -#: hidden.php:292 +#: hidden.php:332 msgid "Dynamic Values" msgstr "" -#: hidden.php:293 +#: hidden.php:336 msgid "" "To use dynamic data from the post or page the form is embedded on, you can " "use the following values:" msgstr "" -#: hidden.php:295 +#: hidden.php:339 msgid "post_title: The title of the post/page" msgstr "" -#: hidden.php:296 +#: hidden.php:340 msgid "post_url: The URL of the post/page" msgstr "" -#: hidden.php:297 +#: hidden.php:341 msgid "" "post_category: The categories the post is in, comma-separated" msgstr "" -#: hidden.php:298 +#: hidden.php:342 msgid "post_date: The date the post/page was created" msgstr "" -#: hidden.php:299 +#: hidden.php:343 msgid "post_author: The name of the author of the post/page" msgstr "" -#: hidden.php:301 +#: hidden.php:345 msgid "The following values will be replaced if an user is logged in:" msgstr "" -#: hidden.php:303 +#: hidden.php:347 msgid "user_name: User Login" msgstr "" -#: hidden.php:304 +#: hidden.php:348 msgid "user_id: User ID" msgstr "" -#: hidden.php:305 +#: hidden.php:349 msgid "user_email: User Email Address" msgstr "" -#: hidden.php:306 +#: hidden.php:350 msgid "" "user_display_name: Display Name (Generally the first and last " "name of the user)" msgstr "" -#: hidden.php:312 -msgid "Copy this code and paste it into the form left." +#: hidden.php:364 +msgid "Insert Tag" msgstr "" -#: hidden.php:314 -msgid "And, put this code into the Mail fields below." -msgstr "" - -#: send-all-fields.php:110 -msgid "All Fields" -msgstr "" - -#: send-all-fields.php:118 +#: hidden.php:370 #, php-format -msgid "Add all fields to your email with %s[all-fields]%s" -msgstr "" - -#: send-all-fields.php:120 msgid "" -"Put this code into the Mail fields below to output all submitted fields in " -"the email." +"To use the value input through this field in a mail field, you need to " +"insert the corresponding mail-tag (%s) into the field on the Mail tab." msgstr "" diff --git a/readme.txt b/readme.txt index 98cd590..aa42619 100644 --- a/readme.txt +++ b/readme.txt @@ -1,10 +1,11 @@ === Contact Form 7 Modules === Tags: Contact Form 7, cf7, Contact Forms 7, hidden fields, all fields Requires at least: 2.8 -Tested up to: 4.2.2 +Tested up to: 4.7.2 Stable tag: trunk Contributors: katzwebdesign, katzwebservices Donate link: https://katz.co/contact-form-7-hidden-fields/ +License: GPLv2 or later Contact Form 7 - Add useful modules such as hidden fields and "send all fields" to the Contact Form 7 plugin @@ -12,7 +13,7 @@ Contact Form 7 - Add useful modules such as hidden fields and "send all fields" ### Add Hidden Fields to Contact Form 7 -The Contact Form 7 plugin has over 8.4 million downloads, yet the great plugin still lacks a simple feature: hidden fields. This plugin adds hidden fields to Contact Form 7 once and for all. +The Contact Form 7 plugin has over 1 million active installations, yet the great plugin still lacks a simple feature: hidden fields. This plugin adds hidden fields to Contact Form 7 once and for all. #### Inserting dynamic values @@ -90,10 +91,6 @@ To get the values of WordPress default profile fields, for example, you would us * This plugin is released under a GPL license. -= Is the plugin available in other languages? = - -Not yet, so [help translate the plugin!](https://www.transifex.com/projects/p/contact-form-7-modules/) - = How do I send empty values with the `[all-fields]` shortcode? = Add this to your `functions.php` file: `add_filter('wpcf7_send_all_fields_send_empty_fields', '__return_true');` @@ -114,7 +111,15 @@ Add this to your `functions.php` file: `add_filter('wpcf7_send_all_fields_send_e == Changelog == += 2.0.1 on February 1, 2017 = + +* Confirmed compatibility with WordPress 4.7.2 +* Updated to work with Contact Form 7 4.6 * Fixed: `[hidden]` shortcodes not being replaced in emails + * Fixed: PHP warning related to deprecated function +* Fixed: Removed use of deprecated `get_currentuserinfo()` function +* Updated translations + = 2.0 on June 28, 2015 = * **Requires Contact Form 7 4.2 or higher** * Updated to work with latest Contact Form 7 diff --git a/send-all-fields.php b/send-all-fields.php index 4eea3db..3c4adc2 100644 --- a/send-all-fields.php +++ b/send-all-fields.php @@ -4,7 +4,7 @@ Plugin URI: https://katz.co/contact-form-7-hidden-fields/ Description: Send all submitted fields in the message body using one simple tag: [all-fields] Author: Katz Web Services, Inc. -Author URI: http://www.katzwebservices.com +Author URI: http://www.katz.co Version: 2.0.1 Text Domain: cf7_modules Domain Path: languages @@ -24,7 +24,6 @@ function all_fields_wpcf7_load_functions() { function all_fields_wpcf7_before_send_mail($array) { $debug = false; - global $wpdb; if ( $debug ) { print_r( $array );