Skip to content

Commit

Permalink
bug fix and v1.2.8 bumpup
Browse files Browse the repository at this point in the history
  • Loading branch information
aurovrata committed Nov 29, 2016
1 parent d3f3cdd commit bc9d6dd
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 6 deletions.
11 changes: 9 additions & 2 deletions README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ Contributors: aurovrata
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=Z83ZQ2ARSZPC8
Tags: polylang, contact form 7, multisite, contact form 7 extension, contact form 7 module, multilingual contact form 7
Requires at least: 3.0.1
Tested up to: 4.6
Stable tag: 1.2.7
Tested up to: 4.6.1
Stable tag: 1.2.8
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand All @@ -15,6 +15,10 @@ This plugin allows multilingual contact form 7 management using the polylang plu

Please follow the [Installation](https://wordpress.org/plugins/cf7-polylang/installation/) instructions carefully, especially the part about saving your Polylang settings after you have activated this plugin.

English subtitled video on youtube, [Spanish](https://www.youtube.com/embed/0IJsPGSpYog?cc_load_policy=1&rel=0&showinfo=0&hl=es) & [French](https://www.youtube.com/embed/0IJsPGSpYog?cc_load_policy=1&rel=0&showinfo=0&hl=fr) subtitles available in the caption settings.

[youtube https://www.youtube.com/embed/0IJsPGSpYog?cc_load_policy=1&rel=0&showinfo=0]

= Checkout our other CF7 plugin extensions =

* [CF7 Polylang Module](https://wordpress.org/plugins/cf7-polylang/) - this plugin allows you to create forms in different languages for a multi-language website. The plugin requires the [Polylang](https://wordpress.org/plugins/polylang/) plugin to be installed in order to manage translations.
Expand Down Expand Up @@ -62,6 +66,9 @@ This is because the translation in your language have not be completed. You can
4. There is a bug in the integration which fails to pick the fact that language options have been saved. So even after click the 'Save' button you will see the familiar alert window popup, you can safely ignore the message.

== Changelog ==
= 1.2.8 =
* bug fix on font-end enable user login pages reported by @Zelester

= 1.2.7 =
* bug fix on new polylang locale being added.

Expand Down
8 changes: 6 additions & 2 deletions admin/cf7-post-admin-table.php
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,12 @@ public function add_cf7_sub_menu(){
public function change_cf7_submenu_order( $menu_ord ) {
global $submenu;
// Enable the next line to see all menu orders
//echo '<pre>'.print_r($submenu,true).'</pre>';
if( is_network_admin() ) return;
if(!isset($submenu['wpcf7']) ){
return $menu_ord;
}
if( is_network_admin() ){
return $menu_ord;
}
$arr = array();
foreach($submenu['wpcf7'] as $menu){
switch($menu[2]){
Expand Down
2 changes: 1 addition & 1 deletion cf7-polylang.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* Plugin Name: Contact Form 7 Polylang extension
* Plugin URI: http://wordpress.syllogic.in
* Description: This plugin extends <a target="_blank" href="https://wordpress.org/plugins/contact-form-7/">Contact Form 7</a> plugin to manage multiple language forms using the <a target="_blank" href="https://wordpress.org/plugins/polylang/">PolyLang</a> plugin. It Requires both plugins to be active first.
* Version: 1.2.7
* Version: 1.2.8
* Author: Aurovrata V.
* Author URI: http://syllogic.in
* License: GPL-2.0+
Expand Down
2 changes: 1 addition & 1 deletion includes/class-cf7-polylang.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ class Cf7_Polylang {
public function __construct() {

$this->plugin_name = 'cf7-polylang';
$this->version = '1.2.7';
$this->version = '1.2.8';

$this->load_dependencies();
$this->set_locale();
Expand Down

0 comments on commit bc9d6dd

Please sign in to comment.