Skip to content
This repository has been archived by the owner on Mar 14, 2021. It is now read-only.

Commit

Permalink
Release 2.0.1
Browse files Browse the repository at this point in the history
Fixed backwards compatibility with Zerif themes
  • Loading branch information
selul committed Aug 1, 2017
1 parent 3714a0e commit 83926f3
Show file tree
Hide file tree
Showing 8 changed files with 530 additions and 466 deletions.
3 changes: 2 additions & 1 deletion includes/class-pirateforms.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ class PirateForms {
public function __construct() {

$this->plugin_name = 'pirateforms';
$this->version = '2.0.0';
$this->version = '2.0.1';

$this->load_dependencies();
$this->set_locale();
Expand Down Expand Up @@ -162,6 +162,7 @@ private function define_public_hooks() {
$this->loader->add_action( 'pirate_unittesting_template_redirect', $plugin_public, 'template_redirect' );

$this->loader->add_filter( 'widget_text', $plugin_public, 'widget_text_filter', 9 );
$this->loader->add_filter( 'pirate_forms_public_controls', $plugin_public, 'compatibility_class', 9 );

add_shortcode( 'pirate_forms', array( $plugin_public, 'display_form' ) );
}
Expand Down
82 changes: 46 additions & 36 deletions languages/pirate-forms.pot
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Free & Simple Contact Form Plugin - Pirateforms 2.0.0\n"
"Report-Msgid-Bugs-To: https://github.com/Codeinwp/pirate-forms/issues\n"
"POT-Creation-Date: 2017-08-01 11:24:40+00:00\n"
"POT-Creation-Date: 2017-08-01 13:19:16+00:00\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
Expand Down Expand Up @@ -437,107 +437,117 @@ msgstr ""
msgid "Subtext:"
msgstr ""

#: includes/class-pirateforms.php:224
#: includes/class-pirateforms.php:225
msgid "Add New Contact"
msgstr ""

#: includes/class-pirateforms.php:225
#: includes/class-pirateforms.php:226
msgid "New Contact"
msgstr ""

#: includes/class-pirateforms.php:226
#: includes/class-pirateforms.php:227
msgid "Edit Contact"
msgstr ""

#: includes/class-pirateforms.php:227
#: includes/class-pirateforms.php:228
msgid "View Contact"
msgstr ""

#: includes/class-pirateforms.php:228
#: includes/class-pirateforms.php:229
msgid "All Contacts"
msgstr ""

#: includes/class-pirateforms.php:229
#: includes/class-pirateforms.php:230
msgid "Search Contacts"
msgstr ""

#: includes/class-pirateforms.php:230
#: includes/class-pirateforms.php:231
msgid "Parent Contacts:"
msgstr ""

#: includes/class-pirateforms.php:231
#: includes/class-pirateforms.php:232
msgid "No contacts found."
msgstr ""

#: includes/class-pirateforms.php:232
#: includes/class-pirateforms.php:233
msgid "No contacts found in Trash."
msgstr ""

#: includes/class-pirateforms.php:236
#: includes/class-pirateforms.php:237
msgid "Contacts from Pirate Forms"
msgstr ""

#: public/class-pirateforms-public.php:120
#: public/class-pirateforms-public.php:121
msgid "Nonce failed!"
msgstr ""

#: public/class-pirateforms-public.php:128
#: public/class-pirateforms-public.php:130
msgid "Form submission failed!"
msgstr ""

#: public/class-pirateforms-public.php:138
#: public/class-pirateforms-public.php:140
msgid "Contact form submission from"
msgstr ""

#: public/class-pirateforms-public.php:165
#: public/class-pirateforms-public.php:167
msgid "Please enter one or more Contact submission recipients"
msgstr ""

#: public/class-pirateforms-public.php:180
#: public/class-pirateforms-public.php:182
msgid "IP address: "
msgstr ""

#: public/class-pirateforms-public.php:181
#: public/class-pirateforms-public.php:183
msgid "IP search:"
msgstr ""

#: public/class-pirateforms-public.php:186
#: public/class-pirateforms-public.php:188
msgid "Came from: "
msgstr ""

#: public/class-pirateforms-public.php:190
#: public/class-pirateforms-public.php:192
msgid "Sent from page: "
msgstr ""

#: public/class-pirateforms-public.php:545
msgid "Submit"
#: public/class-pirateforms-public.php:326
#: public/class-pirateforms-public.php:338
msgid "Wrong reCAPTCHA"
msgstr ""

#: public/class-pirateforms-public.php:631
#: public/class-pirateforms-public.php:391
msgid "Form submission blocked!"
msgstr ""

#: public/class-pirateforms-public.php:806
#: public/class-pirateforms-public.php:817
msgid "Wrong reCAPTCHA"
msgstr ""

#: public/class-pirateforms-public.php:847
#: public/class-pirateforms-public.php:423
msgid "Uploaded file is not allowed for file type"
msgstr ""

#: public/class-pirateforms-public.php:854
#: public/class-pirateforms-public.php:431
msgid "Uploaded file is too large"
msgstr ""

#: public/class-pirateforms-public.php:869
#: public/class-pirateforms-public.php:447
msgid "There was an unknown error uploading the file."
msgstr ""

#: public/partials/pirateforms-form.php:25
#: public/class-pirateforms-public.php:818
msgid "Submit"
msgstr ""

#: public/partials/pirateforms-form.php:29
msgid "Sorry, an error occured."
msgstr ""

#: vendor/codeinwp/themeisle-sdk/class-themeisle-sdk-licenser.php:476
msgid ""
"Updating this theme will lose any customizations you have made. Cancel to "
"stop, OK to update."
msgstr ""

#: vendor/codeinwp/themeisle-sdk/class-themeisle-sdk-widget-dashboard-blog.php:212
msgid "Install"
msgstr ""

#. Plugin Name of the plugin/theme
msgid "Free & Simple Contact Form Plugin - Pirateforms"
msgstr ""
Expand All @@ -558,27 +568,27 @@ msgstr ""
msgid "http://themeisle.com"
msgstr ""

#: includes/class-pirateforms.php:219
#: includes/class-pirateforms.php:220
msgctxt "post type general name"
msgid "Contacts"
msgstr ""

#: includes/class-pirateforms.php:220
#: includes/class-pirateforms.php:221
msgctxt "post type singular name"
msgid "Contact"
msgstr ""

#: includes/class-pirateforms.php:221
#: includes/class-pirateforms.php:222
msgctxt "admin menu"
msgid "Contacts"
msgstr ""

#: includes/class-pirateforms.php:222
#: includes/class-pirateforms.php:223
msgctxt "add new on admin bar"
msgid "Contact"
msgstr ""

#: includes/class-pirateforms.php:223
#: includes/class-pirateforms.php:224
msgctxt "contact"
msgid "Add New"
msgstr ""
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pirate-forms",
"version": "2.0.0",
"version": "2.0.1",
"description": "Pirate Forms plugin",
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions pirate-forms.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* Plugin Name: Free & Simple Contact Form Plugin - Pirateforms
* Plugin URI: http://themeisle.com/plugins/pirate-forms/
* Description: Easily creates a nice looking, simple contact form on your WP site.
* Version: 2.0.0
* Version: 2.0.1
* Author: Themeisle
* Author URI: http://themeisle.com
* Text Domain: pirate-forms
Expand All @@ -34,7 +34,7 @@

define( 'PIRATEFORMS_NAME', 'Pirate Forms' );
define( 'PIRATEFORMS_SLUG', 'pirate-forms' );
define( 'PIRATE_FORMS_VERSION', '2.0.0' );
define( 'PIRATE_FORMS_VERSION', '2.0.1' );
define( 'PIRATEFORMS_DIR', trailingslashit( plugin_dir_path( __FILE__ ) ) );
define( 'PIRATEFORMS_URL', plugin_dir_url( __FILE__ ) );
define( 'PIRATEFORMS_BASENAME', plugin_basename( __FILE__ ) );
Expand Down
Loading

0 comments on commit 83926f3

Please sign in to comment.