Version 1.0.1

Version 1.0.1

* Added compatibility with the Slate admin theme plugin.
This commit is contained in:
Ryan 2014-10-15 16:23:39 -07:00
parent 0c0ed76009
commit 1030504f92
3 changed files with 11 additions and 3 deletions

View File

@ -1,6 +1,6 @@
jQuery(document).ready(function( $ ) {
if ($('span.post-state').length != 0) {
if (($('span.post-state').length != 0) && ($('span.post-state').parent().is('td') == false)) {
$('span.post-state').each(function() {
$(this).insertBefore($(this).parent());
});

View File

@ -5,7 +5,7 @@ Plugin Name: Obvious Post States
Plugin URI: https://github.com/ryansommers/slate
Description: Make your WordPress post state text (draft, pending, sticky, etc) stand out.
Author: Ryan Sommers
Version: 1.0.0
Version: 1.0.1
Author URI: http://ryansommers.com
*/

View File

@ -3,7 +3,7 @@ Contributors: ryansommers
Tags: post state, drafts, pending, sticky, password protected, ryan sommers.
Requires at least: 4.0
Tested up to: 4.0
Stable tag: 1.0.0
Stable tag: 1.0.1
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
@ -37,5 +37,13 @@ The post state text (draft, pending, etc) will be moved to the beginning of the
== Changelog ==
= 1.0.1 =
* Added compatibility with the Slate admin theme plugin.
= 1.0.0 =
* Initial release.
== Upgrade Notice ==
= 1.0.1 =
* Added compatibility with the Slate admin theme plugin.