Skip to content

Commit

Permalink
Version 1.9.1
Browse files Browse the repository at this point in the history
  • Loading branch information
bfintal committed Sep 26, 2015
1 parent 5604973 commit c265bd1
Show file tree
Hide file tree
Showing 9 changed files with 32 additions and 19 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/)
<!--[![Code Coverage](https://scrutinizer-ci.com/g/gambitph/Titan-Framework/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/gambitph/Titan-Framework/?branch=master)-->
<!--[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/gambitph/Titan-Framework/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/gambitph/Titan-Framework/?branch=master)-->
[![Built with Gulp](https://img.shields.io/badge/built%20with-Gulp-red.svg)](http://gulpjs.com/)

*The easiest to use WordPress options framework.*

Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Titan Framework",
"version": "1.9",
"version": "1.9.1",
"homepage": "http://titanframework.net",
"authors": [
"Benjamin Intal <[email protected]>"
Expand Down
Binary file modified languages/titan-framework-en_US.mo
Binary file not shown.
11 changes: 9 additions & 2 deletions languages/titan-framework-en_US.po
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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."

Expand Down
10 changes: 7 additions & 3 deletions languages/titan-framework.pot
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@ msgstr ""
"PO-Revision-Date: 2015-MO-DA HO:MI+ZONE\n"
"Last-Translator: Benjamin Intal <[email protected]>\n"
"Language-Team: Gambit Technologies Inc <[email protected]>\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
Expand Down Expand Up @@ -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 ""

Expand Down
8 changes: 4 additions & 4 deletions lib/class-titan-framework.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand All @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
10 changes: 5 additions & 5 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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)
Expand Down Expand Up @@ -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 [email protected] 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).
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions titan-framework.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@
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
*/

if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly.
}

// 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.
Expand Down

0 comments on commit c265bd1

Please sign in to comment.