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

Commit f5f8c75

Browse files
authored
Merge pull request #294 from xwp/develop
Release 0.8.1
2 parents ae18e14 + 5a69b8a commit f5f8c75

7 files changed

Lines changed: 15 additions & 8 deletions

File tree

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "xwp/wp-customize-posts",
33
"description": "Manage posts and postmeta via the Customizer.",
4-
"version": "0.8.0",
4+
"version": "0.8.1",
55
"type": "wordpress-plugin",
66
"keywords": [ "customizer", "customize", "posts", "postmeta", "preview", "featured-image", "page-template" ],
77
"homepage": "https://github.com/xwp/wp-customize-posts/",

customize-posts.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Plugin Name: Customize Posts
44
* 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.
55
* Plugin URI: https://github.com/xwp/wp-customize-posts/
6-
* Version: 0.8.0
6+
* Version: 0.8.1
77
* Author: XWP
88
* Author URI: https://make.xwp.co/
99
* License: GPLv2+

js/customize-post-editor-control.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,8 @@
100100
/**
101101
* Toggle the expanded control.
102102
*
103-
* @param {Boolean} expanded
104-
* @param {Object} [params]
103+
* @param {Boolean} expanded Expanded.
104+
* @param {Object} [params] Params.
105105
* @returns {Boolean} false if state already applied
106106
*/
107107
_toggleExpanded: function( expanded, params ) {

js/customize-posts.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,7 @@
533533
component.getCurrentTime = function getCurrentTime() {
534534
var currentDate, currentTimestamp, timestampDifferential;
535535
currentTimestamp = ( new Date() ).valueOf();
536-
currentDate = new Date( component.data.initialServerDate );
536+
currentDate = new Date( component.data.initialServerDate.replace( ' ', 'T' ) );
537537
timestampDifferential = currentTimestamp - component.data.initialClientTimestamp;
538538
timestampDifferential += component.data.initialClientTimestamp - component.data.initialServerTimestamp;
539539
currentDate.setTime( currentDate.getTime() + timestampDifferential );

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"type": "git",
77
"url": "https://github.com/xwp/wp-customize-posts.git"
88
},
9-
"version": "0.8.0",
9+
"version": "0.8.1",
1010
"license": "GPL-2.0+",
1111
"private": true,
1212
"devDependencies": {

readme.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Edit posts and postmeta in the Customizer. Stop editing your posts/postmeta blin
88
**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)
99
**Requires at least:** 4.5
1010
**Tested up to:** 4.7-alpha
11-
**Stable tag:** 0.8.0
11+
**Stable tag:** 0.8.1
1212
**License:** [GPLv2 or later](http://www.gnu.org/licenses/gpl-2.0.html)
1313

1414
[![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)
@@ -90,6 +90,9 @@ The following are listed in reverse chronological order. The first, more recent
9090

9191
## Changelog ##
9292

93+
### [0.8.1] - 2016-09-23 ###
94+
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>).
95+
9396
### [0.8.0] - 2016-09-22 ###
9497
Added:
9598

readme.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Contributors: xwp, westonruter, valendesigns
33
Tags: customizer, customize, posts, postmeta, editor, preview, featured-image, page-template
44
Requires at least: 4.5
55
Tested up to: 4.7-alpha
6-
Stable tag: 0.8.0
6+
Stable tag: 0.8.1
77
License: GPLv2 or later
88
License URI: http://www.gnu.org/licenses/gpl-2.0.html
99

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

6868
== Changelog ==
6969

70+
= [0.8.1] - 2016-09-23 =
71+
72+
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>).
73+
7074
= [0.8.0] - 2016-09-22 =
7175

7276
Added:

0 commit comments

Comments
 (0)