Skip to content

Commit

Permalink
version bump and cleaning some leftover comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Pedro Carvalho committed May 16, 2014
1 parent 0d5b57e commit 8e1e2a1
Show file tree
Hide file tree
Showing 7 changed files with 59 additions and 19 deletions.
15 changes: 13 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,24 @@ Adds support for permalink translations and fix some QTranslate deficiencies sin
* Wordpress 3.3 (PHP 5.2 and MySQL 5)
* mQtranslate 2.6.2.4 or Qtranslate 2.5.8

## New in version 1.1.7
* removed styles from html elements and added options to use .css file or print inline styles
* fixed tag creation on post edit.
* fixed earlier bad post slug introduced in 1.1.6


## New in version 1.1.6
* compatible with mqtranslate
* php5.4+ compatible

**Advice: If you're using a multisite installation, you will must activate qtranslate plugins by sepparetly on each site.**
**Advice: If you're using a multisite installation, you will must activate qtranslate plugins by separately on each site.**

You can also check the [project website](http://not-only-code.github.com/qtranslate-slug/) hosted on [GitHub](http://not-only-code.github.com).
Thanks for use this plugin!

## Installation

**This plugins requires [Qtranslate](http://wordpress.org/extend/plugins/qtranslate/) installed previously, if not, it will not activate.**
**This plugins requires [Qtranslate](http://wordpress.org/extend/plugins/qtranslate/) or (mqTranslate)(https://wordpress.org/plugins/mqtranslate/) installed previously, if not, it will not activate.**

1. Upload `qtranslate-slug` to the `/wp-content/plugins/` directory.
1. Activate the plugin through the 'Plugins' menu in WordPress.
Expand Down Expand Up @@ -78,6 +84,11 @@ That's because language selector metabox is hidden, if you are in admin *nav men

## Changelog

**1.1.7**
* removed styles from html elements and added options to use .css file or print inline styles
* fixed tag creation on post edit.
* fixed earlier bad post slug introduced in 1.1.6

**1.1.6**
* compatible with mqtranslate
* php5.4+ compatible
Expand Down
18 changes: 13 additions & 5 deletions README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ Contributors: Carlos Sanz García
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=SYC46KSLRC4Q8
Tags: qtranslate, slug, multilanguage
Requires at least: 3.3
Tested up to: 3.9
Version: 1.1.6
Tested up to: 3.9.1
Version: 1.1.7
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand All @@ -21,20 +21,24 @@ Adds support for permalink translations and fix some QTranslate deficiencies sin
* Wordpress 3.3 (PHP 5.2 and MySQL 5)
* mQtranslate 2.6.2.4 or Qtranslate 2.5.8

= New in version 1.1.7 =
* removed styles from html elements and added options to use .css file or print inline styles
* fixed tag creation on post edit.
* fixed earlier bad post slug introduced in 1.1.6

= New in version 1.1.6 =

* compatible with mqtranslate
* php5.4+ compatible

**Advice: If you're using a multisite installation, you will must activate qtranslate plugins by sepparetly on each site.**
**Advice: If you're using a multisite installation, you will must activate qtranslate plugins by separately on each site.**


You can also check the [project website](http://not-only-code.github.com/qtranslate-slug/) hosted on [GitHub](http://not-only-code.github.com).
Thanks for use this plugin!

== Installation ==

**This plugins requires [Qtranslate](http://wordpress.org/extend/plugins/qtranslate/) installed previously, if not, it will not activate.**
**This plugins requires [Qtranslate](http://wordpress.org/extend/plugins/qtranslate/) or (mqTranslate)(https://wordpress.org/plugins/mqtranslate/) installed previously, if not, it will not activate.**

1. Upload `qtranslate-slug` to the `/wp-content/plugins/` directory.
1. Activate the plugin through the 'Plugins' menu in WordPress.
Expand Down Expand Up @@ -78,6 +82,10 @@ That's because language selector metabox is hidden, if you are in admin *nav men
4. Qtranslate Slug options page for translate base permastructs of post_types and taxonomies.

== Changelog ==
= 1.1.7 =
* removed styles from html elements and added options to use .css file or print inline styles
* fixed tag creation on post edit.
* fixed earlier bad post slug introduced in 1.1.6

= 1.1.6 =
* compatible with mqtranslate
Expand Down
3 changes: 0 additions & 3 deletions qtranslate-slug-settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -587,10 +587,7 @@ function qts_validate_options($input) {
// get the settings sections array
$settings_output = qts_get_settings();

//
$styleoptions = $settings_output['qts_page_styles'];
//$styleoptions = array();


$slugoptions = $settings_output['qts_page_fields'];

Expand Down
4 changes: 2 additions & 2 deletions qtranslate-slug.php
Original file line number Diff line number Diff line change
Expand Up @@ -668,7 +668,7 @@ public function parse_url_args( $url ) {
if ( empty($this->permalink_structure) || $q_config['url_mode'] == 1 )
$base_args['lang'] = $this->get_lang();

// rebulid query with all args
// rebuild query with all args
$url = add_query_arg($base_args, $url);

$url = str_replace('/?', '?', $url); // TODO: hack: improve this code
Expand Down Expand Up @@ -1996,7 +1996,7 @@ public function validate_term_slug( $slug, $term, $lang ) {
*
* @since 1.0
*/
public function unique_term_slug($slug, $term, $lang,$passedpost) {
public function unique_term_slug($slug, $term, $lang) {

global $wpdb;
$meta_key_name = $this->get_meta_key($lang);
Expand Down
15 changes: 13 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,24 @@ Adds support for permalink translations and fix some QTranslate deficiencies sin
* Wordpress 3.3 (PHP 5.2 and MySQL 5)
* mQtranslate 2.6.2.4 or Qtranslate 2.5.8

## New in version 1.1.7
* removed styles from html elements and added options to use .css file or print inline styles
* fixed tag creation on post edit.
* fixed earlier bad post slug introduced in 1.1.6


## New in version 1.1.6
* compatible with mqtranslate
* php5.4+ compatible

**Advice: If you're using a multisite installation, you will must activate qtranslate plugins by sepparetly on each site.**
**Advice: If you're using a multisite installation, you will must activate qtranslate plugins by separately on each site.**

You can also check the [project website](http://not-only-code.github.com/qtranslate-slug/) hosted on [GitHub](http://not-only-code.github.com).
Thanks for use this plugin!

## Installation

**This plugins requires [Qtranslate](http://wordpress.org/extend/plugins/qtranslate/) installed previously, if not, it will not activate.**
**This plugins requires [Qtranslate](http://wordpress.org/extend/plugins/qtranslate/) or (mqTranslate)(https://wordpress.org/plugins/mqtranslate/) installed previously, if not, it will not activate.**

1. Upload `qtranslate-slug` to the `/wp-content/plugins/` directory.
1. Activate the plugin through the 'Plugins' menu in WordPress.
Expand Down Expand Up @@ -78,6 +84,11 @@ That's because language selector metabox is hidden, if you are in admin *nav men

## Changelog

**1.1.7**
* removed styles from html elements and added options to use .css file or print inline styles
* fixed tag creation on post edit.
* fixed earlier bad post slug introduced in 1.1.6

**1.1.6**
* compatible with mqtranslate
* php5.4+ compatible
Expand Down
18 changes: 13 additions & 5 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ Contributors: Carlos Sanz García
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=SYC46KSLRC4Q8
Tags: qtranslate, slug, multilanguage
Requires at least: 3.3
Tested up to: 3.9
Version: 1.1.6
Tested up to: 3.9.1
Version: 1.1.7
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand All @@ -21,20 +21,24 @@ Adds support for permalink translations and fix some QTranslate deficiencies sin
* Wordpress 3.3 (PHP 5.2 and MySQL 5)
* mQtranslate 2.6.2.4 or Qtranslate 2.5.8

= New in version 1.1.7 =
* removed styles from html elements and added options to use .css file or print inline styles
* fixed tag creation on post edit.
* fixed earlier bad post slug introduced in 1.1.6

= New in version 1.1.6 =

* compatible with mqtranslate
* php5.4+ compatible

**Advice: If you're using a multisite installation, you will must activate qtranslate plugins by sepparetly on each site.**
**Advice: If you're using a multisite installation, you will must activate qtranslate plugins by separately on each site.**


You can also check the [project website](http://not-only-code.github.com/qtranslate-slug/) hosted on [GitHub](http://not-only-code.github.com).
Thanks for use this plugin!

== Installation ==

**This plugins requires [Qtranslate](http://wordpress.org/extend/plugins/qtranslate/) installed previously, if not, it will not activate.**
**This plugins requires [Qtranslate](http://wordpress.org/extend/plugins/qtranslate/) or (mqTranslate)(https://wordpress.org/plugins/mqtranslate/) installed previously, if not, it will not activate.**

1. Upload `qtranslate-slug` to the `/wp-content/plugins/` directory.
1. Activate the plugin through the 'Plugins' menu in WordPress.
Expand Down Expand Up @@ -78,6 +82,10 @@ That's because language selector metabox is hidden, if you are in admin *nav men
4. Qtranslate Slug options page for translate base permastructs of post_types and taxonomies.

== Changelog ==
= 1.1.7 =
* removed styles from html elements and added options to use .css file or print inline styles
* fixed tag creation on post edit.
* fixed earlier bad post slug introduced in 1.1.6

= 1.1.6 =
* compatible with mqtranslate
Expand Down
5 changes: 5 additions & 0 deletions version.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
= 1.1.7 =
* removed styles from html elements and added options to use .css file or print inline styles
* fixed tag creation on post edit.
* fixed earlier bad post slug introduced in 1.1.6

= 1.1.6 =
* compatible with mqtranslate
* php5.4+ compatible
Expand Down

0 comments on commit 8e1e2a1

Please sign in to comment.