Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
kuus committed Feb 24, 2018
1 parent 4655179 commit 4a37f78
Show file tree
Hide file tree
Showing 37 changed files with 1,982 additions and 2,122 deletions.
21 changes: 15 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ Enhance and extend the WordPress Customize in your themes.
**Tags:** [wordpress](https://wordpress.org/plugins/tags/wordpress), [customizer](https://wordpress.org/plugins/tags/customizer), [options framework](https://wordpress.org/plugins/tags/options-framework), [theme](https://wordpress.org/plugins/tags/theme)
**Requires at least:** 4.9.4
**Tested up to:** 4.9.4
**Stable tag:** 1.0.22
**License:** [GPLv3](http://www.gnu.org/licenses/gpl-3.0.html)
**Stable tag:** 1.1.1
**License:** [GPLv3+](http://www.gnu.org/licenses/gpl-3.0.html)
**Requires PHP:** 5.2.4
**Donate link:** https://liberapay.com/knitkode/donate

## Description ##

[![WordPress plugin](https://img.shields.io/wordpress/plugin/v/customize-plus.svg)]()
[![GitHub release](https://img.shields.io/github/release/knitkode/customize-plus.svg)]()
[![WordPress plugin](https://img.shields.io/wordpress/plugin/v/customize-plus.svg)](https://wordpress.org/plugins/customize-plus)
[![GitHub release](https://img.shields.io/github/release/knitkode/customize-plus.svg)](https://github.com/knitkode/customize-plus/releases/latest)
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/facc393563dd4ef49ff3b2dea2bd2f7c)](https://www.codacy.com/app/knitkode/customize-plus?utm_source=customize-plus&utm_medium=github&utm_content=badge_codacy&utm_campaign=readme)

Customize Plus brings powerful custom controls fully integrated in the WordPress Customize. The code, the admin UI and the API totally looks like WordPress, as it should be. Customize Plus extends the WordPress API to create all the controls you need leveraging the JavaScript API. All the `theme_mods` or `options` managed by Customize Plus controls are automatically validated and sanitized. You do not even need to define the fallback value when retrieving them. End users will also benefit from this plugin, for instance they will be able to separately reset the control values of each control to the initial session or factory value. This and many other features are extended in [Customize Plus Premium](https://knitkode.com/products/customize-plus-premium/) enriching the Customize experience not only for developers but also for users. Developers will also find useful the plugin [Customize Plus Builder](https://knitkode.com/products/customize-plus-builder/) to further improve their development experience.
Expand Down Expand Up @@ -83,7 +83,7 @@ Log into WordPress admin and activate the ‘Loco Translate’ plugin through th
Go to Loco Translate > Home in the left-hand menu to start translating

### Theme integration ###
Checkout the [documentation here](https://knitkode.com/docs/customize-plus/getting-started/integration?utm_source=customize-plus&utm_medium=wordpress_org&utm_content=theme_integration&utm_campaign=readme). A tool to facilitate this task is [Customize Plus Builder](https://knitkode.com/products/customize-plus-builder?utm_source=customize-plus&utm_medium=wordpress_org&utm_content=theme_integration&utm_campaign=readme), you can [try it here](https://knitkode.com/customize-plus-builder).
Checkout the [documentation here](https://knitkode.com/docs/customize-plus/getting-started/integration?utm_source=customize-plus&utm_medium=wordpress_org&utm_content=theme_integration&utm_campaign=readme). A tool to facilitate this task is [Customize Plus Builder](https://knitkode.com/products/customize-plus-builder?utm_source=customize-plus&utm_medium=wordpress_org&utm_content=theme_integration&utm_campaign=readme), you can [try it here](https://knitkode.com/customize-plus-builder?utm_source=customize-plus&utm_medium=wordpress_org&utm_content=theme_integration&utm_campaign=readme).

### Translations ###
* English - default
Expand All @@ -98,11 +98,20 @@ Checkout the [documentation here](https://knitkode.com/docs/customize-plus/getti
Documentation can be found at [knitkode.com/docs/customize-plus](https://knitkode.com/docs/customize-plus?utm_source=customize-plus&utm_medium=wordpress_org&utm_content=faq&utm_campaign=readme)

### How do I get help? ###
Help is provided via the plugin support forum only. Please visit the [support page](https://knitkode.com/support) to see other options.
Help is provided via the plugin support forum only. Please visit the [support page](https://knitkode.com/support?utm_source=customize-plus&utm_medium=wordpress_org&utm_content=faq&utm_campaign=readme) to see other options.

### Can I see a quick demo? ###
Yes, try out the always up to date [official demo theme](https://github.com/knitkode/customize-plus-demo).


## Changelog ##

### 1.1.1: 24/02/2017 ###
* Bugfixing
* Moved control templates to JavaScript control's classes
* Control's classes use now a React ready methods naming and lifecycle style
* Support warnings in $validity notifications

### 1.0.21: 22/02/2017 ###
* Fix 'dancing char' on Base Input Control

Expand Down
85 changes: 0 additions & 85 deletions assets/js/customize.min.js

This file was deleted.

4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "knitkode/customize-plus",
"version": "1.0.22",
"version": "1.1.1",
"description": "Enhance and extend the WordPress Customize in your themes.",
"type": "wordpress-plugin",
"keywords": [
"customize",
"tool"
],
"homepage": "https://knitkode.com/products/customize-plus",
"license": "GPL-3.0-or-later",
"license": "SEE LICENSE IN license.txt",
"authors": [{
"name": "KnitKode",
"homepage": "https://knitkode.com/"
Expand Down
4 changes: 2 additions & 2 deletions assets/css/admin.css → css/admin.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/*!
* Customize Plus v1.0.22 (https://knitkode.com/products/customize-plus)
* Customize Plus v1.1.1 (https://knitkode.com/products/customize-plus)
* Enhance and extend the WordPress Customize in your themes.
* Copyright (c) 2014-2018 KnitKode <dev@knitkode.com> (https://knitkode.com/)
* @license SEE LICENSE IN license.txt (Last change on: 22-1-2018)
* @license SEE LICENSE IN license.txt (Last change on: 24-1-2018)
*/
/**
* Variables: WordPress
Expand Down
4 changes: 2 additions & 2 deletions assets/css/admin.min.css → css/admin.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions assets/css/customize.css → css/customize.css
Original file line number Diff line number Diff line change
Expand Up @@ -1998,10 +1998,10 @@ input[type=text].sp-input.sp-validation-error {
}

/*!
* Customize Plus v1.0.22 (https://knitkode.com/products/customize-plus)
* Customize Plus v1.1.1 (https://knitkode.com/products/customize-plus)
* Enhance and extend the WordPress Customize in your themes.
* Copyright (c) 2014-2018 KnitKode <dev@knitkode.com> (https://knitkode.com/)
* @license SEE LICENSE IN license.txt (Last change on: 22-1-2018)
* @license SEE LICENSE IN license.txt (Last change on: 24-1-2018)
*/
/**
* Shadow on sidebar
Expand Down
4 changes: 2 additions & 2 deletions assets/css/customize.min.css → css/customize.min.css

Large diffs are not rendered by default.

File renamed without changes.
64 changes: 37 additions & 27 deletions customize-plus.php
Original file line number Diff line number Diff line change
@@ -1,43 +1,53 @@
<?php defined( 'ABSPATH' ) or die;

/**
* Customize Plus
* Plugin Name: Customize Plus
* Plugin URI: https://knitkode.com/products/customize-plus
* Description: Enhance and extend the WordPress Customize in your themes.
* Version: 1.1.1
* Author: KnitKode
* Author URI: https://knitkode.com/
* License: GPLv3+
* License URI: http://www.gnu.org/licenses/gpl-3.0.html
* Text Domain: kkcp
* Domain Path: /languages
*
* Enhance and extend the WordPress Customize in your themes.
* Copyright (C) 2014-2018 KnitKode (https://knitkode.com/)
*
* @package Customize_Plus
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* @wordpress-plugin
* Plugin Name: Customize Plus
* Plugin URI: https://knitkode.com/products/customize-plus
* Description: Enhance and extend the WordPress Customize in your themes.
* Version: 1.0.22
* Author: KnitKode
* Author URI: https://knitkode.com
* License: GPLv3
* License URI: http://www.gnu.org/licenses/gpl-3.0.html
* Text Domain: kkcp
* Domain Path: /languages
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* @package Customize_Plus
*/

define( 'KKCP_PLUGIN_FILE', __FILE__ );
define( 'KKCP_PLUGIN_VERSION', '1.0.22' );
define( 'KKCP_PLUGIN_VERSION', '1.1.1' );
define( 'KKCP_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
define( 'KKCP_PLUGIN_URL', plugin_dir_url( __FILE__ ) );

require_once( KKCP_PLUGIN_DIR . 'includes/class-requirements.php' );
require_once( KKCP_PLUGIN_DIR . 'includes/class-data.php' );
require_once( KKCP_PLUGIN_DIR . 'includes/class-helper.php' );
require_once( KKCP_PLUGIN_DIR . 'includes/class-singleton.php' );
require_once( KKCP_PLUGIN_DIR . 'includes/class-core.php' );
require_once( KKCP_PLUGIN_DIR . 'includes/class-sanitizejs.php' );
require_once( KKCP_PLUGIN_DIR . 'includes/class-customize.php' );
require_once( KKCP_PLUGIN_DIR . 'includes/class-theme.php' );
require_once( KKCP_PLUGIN_DIR . 'php/class-requirements.php' );
require_once( KKCP_PLUGIN_DIR . 'php/class-data.php' );
require_once( KKCP_PLUGIN_DIR . 'php/class-helper.php' );
require_once( KKCP_PLUGIN_DIR . 'php/class-singleton.php' );
require_once( KKCP_PLUGIN_DIR . 'php/class-core.php' );
require_once( KKCP_PLUGIN_DIR . 'php/class-sanitizejs.php' );
require_once( KKCP_PLUGIN_DIR . 'php/class-customize.php' );
require_once( KKCP_PLUGIN_DIR . 'php/class-theme.php' );
if ( is_admin() ) {
require_once( KKCP_PLUGIN_DIR . 'includes/class-validate.php' );
require_once( KKCP_PLUGIN_DIR . 'includes/class-sanitize.php' );
require_once( KKCP_PLUGIN_DIR . 'includes/class-admin.php' );
require_once( KKCP_PLUGIN_DIR . 'includes/class-admin-about.php' );
require_once( KKCP_PLUGIN_DIR . 'php/class-validate.php' );
require_once( KKCP_PLUGIN_DIR . 'php/class-sanitize.php' );
require_once( KKCP_PLUGIN_DIR . 'php/class-admin.php' );
require_once( KKCP_PLUGIN_DIR . 'php/class-admin-about.php' );
}

do_action( 'kkcp_after_requires' );
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
4 changes: 2 additions & 2 deletions assets/js/customize-preview.js → js/customize-preview.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/*!
* Customize Plus v1.0.22 (https://knitkode.com/products/customize-plus)
* Customize Plus v1.1.1 (https://knitkode.com/products/customize-plus)
* Enhance and extend the WordPress Customize in your themes.
* Copyright (c) 2014-2018 KnitKode <dev@knitkode.com> (https://knitkode.com/)
* @license SEE LICENSE IN license.txt (Last change on: 22-1-2018)
* @license SEE LICENSE IN license.txt (Last change on: 24-1-2018)
*//* jshint unused: false */

(function (window, document, $, wp, api) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/*!
* Customize Plus v1.0.22 (https://knitkode.com/products/customize-plus)
* Customize Plus v1.1.1 (https://knitkode.com/products/customize-plus)
* Enhance and extend the WordPress Customize in your themes.
* Copyright (c) 2014-2018 KnitKode <dev@knitkode.com> (https://knitkode.com/)
* @license SEE LICENSE IN license.txt (Last change on: 22-1-2018)
* @license SEE LICENSE IN license.txt (Last change on: 24-1-2018)
*/ /* jshint unused: false */
!function(e,t,n,i,r){"use strict";
// be sure to have what we need, bail otherwise
Expand Down
Loading

0 comments on commit 4a37f78

Please sign in to comment.