diff --git a/README.md b/README.md index 1c120818..95117ce0 100644 --- a/README.md +++ b/README.md @@ -4,9 +4,9 @@ Titan Framework [![WordPress](https://img.shields.io/wordpress/v/titan-framework.svg)]() [![WordPress plugin](https://img.shields.io/wordpress/plugin/v/titan-framework.svg)]() [![Build Status](https://travis-ci.org/gambitph/Titan-Framework.svg?branch=master)](https://travis-ci.org/gambitph/Titan-Framework) +[![Built with Gulp](https://img.shields.io/badge/built%20with-Gulp-red.svg)](http://gulpjs.com/) -[![Built with Gulp](https://img.shields.io/badge/built%20with-Gulp-red.svg)](http://gulpjs.com/) *The easiest to use WordPress options framework.* @@ -16,6 +16,8 @@ Titan Framework allows theme and plugin developers to create admin pages, option [Generate your own Underscores + Titan Framework based WordPress theme](http://www.titanframework.net) +[Join the Community in Slack](https://gambit-slackin.herokuapp.com/) + #### Features * Makes development unbelievably easy * Built with optimization in mind diff --git a/bower.json b/bower.json index a60ed928..29db9084 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "Titan Framework", - "version": "1.9", + "version": "1.9.1", "homepage": "http://titanframework.net", "authors": [ "Benjamin Intal " diff --git a/languages/titan-framework-en_US.mo b/languages/titan-framework-en_US.mo index 32597895..34dfa8be 100644 Binary files a/languages/titan-framework-en_US.mo and b/languages/titan-framework-en_US.mo differ diff --git a/languages/titan-framework-en_US.po b/languages/titan-framework-en_US.po index f55b56f3..572427ee 100644 --- a/languages/titan-framework-en_US.po +++ b/languages/titan-framework-en_US.po @@ -10,6 +10,13 @@ msgstr "" "PO-Revision-Date: 2015-MO-DA HO:MI+ZONE\n" "Last-Translator: Automatically generated\n" "Language-Team: none\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__;" +"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;" +"_nx_noop:3c,1,2;__ngettext_noop:1,2\n" +"X-Poedit-SearchPath-0: .\n" +"X-Poedit-SearchPathExcluded-0: *.js\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "\n" "Language: en_US\n" @@ -135,11 +142,11 @@ msgstr "" "All option IDs per namespace must be unique. The id %s has been used " "multiple times." -#: lib/class-titan-framework.php:387 +#: lib/class-titan-framework.php:395 msgid "%s needs a %s parameter." msgstr "%s needs a %s parameter." -#: lib/class-titan-framework.php:397 +#: lib/class-titan-framework.php:405 msgid "Container of type %s, does not exist." msgstr "Container of type %s, does not exist." diff --git a/languages/titan-framework.pot b/languages/titan-framework.pot index 2d50a1a6..245ccd3d 100644 --- a/languages/titan-framework.pot +++ b/languages/titan-framework.pot @@ -10,7 +10,11 @@ msgstr "" "PO-Revision-Date: 2015-MO-DA HO:MI+ZONE\n" "Last-Translator: Benjamin Intal \n" "Language-Team: Gambit Technologies Inc \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__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;_nx_noop:3c,1,2;__ngettext_noop:1,2\n" +"X-Poedit-SearchPath-0: .\n" +"X-Poedit-SearchPathExcluded-0: *.js\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n\n" #: lib/class-admin-page.php:114 @@ -113,11 +117,11 @@ msgstr "" msgid "All option IDs per namespace must be unique. The id %s has been used multiple times." msgstr "" -#: lib/class-titan-framework.php:387 +#: lib/class-titan-framework.php:395 msgid "%s needs a %s parameter." msgstr "" -#: lib/class-titan-framework.php:397 +#: lib/class-titan-framework.php:405 msgid "Container of type %s, does not exist." msgstr "" diff --git a/lib/class-titan-framework.php b/lib/class-titan-framework.php index faf56821..ec54cf49 100644 --- a/lib/class-titan-framework.php +++ b/lib/class-titan-framework.php @@ -272,10 +272,10 @@ public function getInternalAdminPageOption( $optionName, $defaultValue = false ) * @see TitanFrameworkOption->setValue() */ public function setInternalAdminPageOption( $optionName, $value ) { - + // Run this first to ensure that adminOptions carries all our admin page options. $this->getInternalAdminOptions(); - + $this->adminOptions[ $optionName ] = $value; return true; } @@ -289,10 +289,10 @@ public function setInternalAdminPageOption( $optionName, $value ) { * @return array All admin options currently in the instance */ public function saveInternalAdminPageOptions() { - + // Run this first to ensure that adminOptions carries all our admin page options. $this->getInternalAdminOptions(); - + update_option( $this->optionNamespace . '_options', serialize( $this->adminOptions ) ); do_action( 'tf_save_options_' . $this->optionNamespace ); return $this->adminOptions; diff --git a/package.json b/package.json index bed131f2..c505a927 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "Titan-Framework", - "version": "1.9.0", + "version": "1.9.1", "description": "Titan Framework allows theme and plugin developers to create a admin pages, options, meta boxes, and theme customizer options with just a few simple lines of code.", "main": "titan-framework.php", "directories": { diff --git a/readme.txt b/readme.txt index b6cbf5bf..3204188e 100644 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i Tags: framework, options, admin, admin panel, meta box, theme customizer, option framework, library, sdk, edd, settings, api, theme creator, theme framework Requires at least: 4.1 Tested up to: 4.3.1 -Stable tag: 1.9 +Stable tag: 1.9.1 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -24,6 +24,7 @@ Titan Framework aims to be easily used by everyone. The goal is to make it plug [How to start developing with Titan Framework](http://www.titanframework.net/how/) +* [Join the Community in Slack](https://gambit-slackin.herokuapp.com/) * [Documentation and Tutorials for Developers](http://www.titanframework.net/docs) * [Titan Framework GitHub Repository](https://github.com/gambitph/Titan-Framework) * [Issue Tracker](https://github.com/gambitph/Titan-Framework/issues) @@ -86,10 +87,6 @@ The generated theme comes with sample pre-created options in the admin and theme * Text * Textarea -= Are You Using Titan Framework in Your Project? = - -Let me know, send me an email at bf.intal@gambit.ph with the details of your project along with a screenshot and I'll add it to the showcase here and in the site. - = Supporting the Framework = Titan is super new, so far the framework has been getting good feedback from the community. Help out and spread the word by starring this repo, sending tweets, writing blog posts about what you think about Titan, and [review the plugin](http://wordpress.org/support/view/plugin-reviews/titan-framework). @@ -143,6 +140,9 @@ and to everyone else in the GitHub repo! == Changelog == += 1.9.1 = +* Fixed: in some setups, saving options in a tab resets other tabs + = 1.9 = * Major performance and speed optimizations, now is less process & memory intensive * New `iframe` option diff --git a/titan-framework.php b/titan-framework.php index 90334cb8..a51e74e5 100644 --- a/titan-framework.php +++ b/titan-framework.php @@ -12,7 +12,7 @@ Plugin URI: http://www.titanframework.net/ Description: Titan Framework allows theme and plugin developers to create a admin pages, options, meta boxes, and theme customizer options with just a few simple lines of code. Author: Benjamin Intal, Gambit -Version: 1.9 +Version: 1.9.1 Author URI: http://gambit.ph */ @@ -20,7 +20,7 @@ } // Used for tracking the version used. -defined( 'TF_VERSION' ) or define( 'TF_VERSION', '1.9' ); +defined( 'TF_VERSION' ) or define( 'TF_VERSION', '1.9.1' ); // Used for text domains. defined( 'TF_I18NDOMAIN' ) or define( 'TF_I18NDOMAIN', 'titan-framework' ); // Used for general naming, e.g. nonces.