Skip to content
This repository has been archived by the owner on Dec 16, 2022. It is now read-only.

Commit

Permalink
Merge pull request #294 from xwp/develop
Browse files Browse the repository at this point in the history
Release 0.8.1
  • Loading branch information
westonruter committed Sep 23, 2016
2 parents ae18e14 + 5a69b8a commit f5f8c75
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 8 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "xwp/wp-customize-posts",
"description": "Manage posts and postmeta via the Customizer.",
"version": "0.8.0",
"version": "0.8.1",
"type": "wordpress-plugin",
"keywords": [ "customizer", "customize", "posts", "postmeta", "preview", "featured-image", "page-template" ],
"homepage": "https://github.com/xwp/wp-customize-posts/",
Expand Down
2 changes: 1 addition & 1 deletion customize-posts.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: Customize Posts
* Description: Manage posts and postmeta via the Customizer. Works best in conjunction with the <a href="https://wordpress.org/plugins/customize-setting-validation/">Customize Setting Validation</a> plugin.
* Plugin URI: https://github.com/xwp/wp-customize-posts/
* Version: 0.8.0
* Version: 0.8.1
* Author: XWP
* Author URI: https://make.xwp.co/
* License: GPLv2+
Expand Down
4 changes: 2 additions & 2 deletions js/customize-post-editor-control.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@
/**
* Toggle the expanded control.
*
* @param {Boolean} expanded
* @param {Object} [params]
* @param {Boolean} expanded Expanded.
* @param {Object} [params] Params.
* @returns {Boolean} false if state already applied
*/
_toggleExpanded: function( expanded, params ) {
Expand Down
2 changes: 1 addition & 1 deletion js/customize-posts.js
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,7 @@
component.getCurrentTime = function getCurrentTime() {
var currentDate, currentTimestamp, timestampDifferential;
currentTimestamp = ( new Date() ).valueOf();
currentDate = new Date( component.data.initialServerDate );
currentDate = new Date( component.data.initialServerDate.replace( ' ', 'T' ) );
timestampDifferential = currentTimestamp - component.data.initialClientTimestamp;
timestampDifferential += component.data.initialClientTimestamp - component.data.initialServerTimestamp;
currentDate.setTime( currentDate.getTime() + timestampDifferential );
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"type": "git",
"url": "https://github.com/xwp/wp-customize-posts.git"
},
"version": "0.8.0",
"version": "0.8.1",
"license": "GPL-2.0+",
"private": true,
"devDependencies": {
Expand Down
5 changes: 4 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Edit posts and postmeta in the Customizer. Stop editing your posts/postmeta blin
**Tags:** [customizer](https://wordpress.org/plugins/tags/customizer), [customize](https://wordpress.org/plugins/tags/customize), [posts](https://wordpress.org/plugins/tags/posts), [postmeta](https://wordpress.org/plugins/tags/postmeta), [editor](https://wordpress.org/plugins/tags/editor), [preview](https://wordpress.org/plugins/tags/preview), [featured-image](https://wordpress.org/plugins/tags/featured-image), [page-template](https://wordpress.org/plugins/tags/page-template)
**Requires at least:** 4.5
**Tested up to:** 4.7-alpha
**Stable tag:** 0.8.0
**Stable tag:** 0.8.1
**License:** [GPLv2 or later](http://www.gnu.org/licenses/gpl-2.0.html)

[![Build Status](https://travis-ci.org/xwp/wp-customize-posts.svg?branch=master)](https://travis-ci.org/xwp/wp-customize-posts) [![Coverage Status](https://coveralls.io/repos/xwp/wp-customize-posts/badge.svg?branch=master)](https://coveralls.io/github/xwp/wp-customize-posts) [![Built with Grunt](https://cdn.gruntjs.com/builtwith.svg)](http://gruntjs.com) [![devDependency Status](https://david-dm.org/xwp/wp-customize-posts/dev-status.svg)](https://david-dm.org/xwp/wp-customize-posts#info=devDependencies)
Expand Down Expand Up @@ -90,6 +90,9 @@ The following are listed in reverse chronological order. The first, more recent

## Changelog ##

### [0.8.1] - 2016-09-23 ###
Fixed compatibility with Safari in the <code>wp.customize.Posts.getCurrentTime()</code> method. See <a href="https://github.com/xwp/wp-customize-posts/pull/293" class="issue-link js-issue-link" data-url="https://github.com/xwp/wp-customize-posts/issues/293" data-id="178983334" data-error-text="Failed to load issue title" data-permission-text="Issue title is private">#293</a>. Props Piotr Delawski (<a href="https://github.com/delawski" class="user-mention">@delawski</a>).

### [0.8.0] - 2016-09-22 ###
Added:

Expand Down
6 changes: 5 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Contributors: xwp, westonruter, valendesigns
Tags: customizer, customize, posts, postmeta, editor, preview, featured-image, page-template
Requires at least: 4.5
Tested up to: 4.7-alpha
Stable tag: 0.8.0
Stable tag: 0.8.1
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -67,6 +67,10 @@ The following are listed in reverse chronological order. The first, more recent

== Changelog ==

= [0.8.1] - 2016-09-23 =

Fixed compatibility with Safari in the <code>wp.customize.Posts.getCurrentTime()</code> method. See <a href="https://github.com/xwp/wp-customize-posts/pull/293" class="issue-link js-issue-link" data-url="https://github.com/xwp/wp-customize-posts/issues/293" data-id="178983334" data-error-text="Failed to load issue title" data-permission-text="Issue title is private">#293</a>. Props Piotr Delawski (<a href="https://github.com/delawski" class="user-mention">@delawski</a>).

= [0.8.0] - 2016-09-22 =

Added:
Expand Down

0 comments on commit f5f8c75

Please sign in to comment.