diff --git a/js/obvious-post-states.js b/js/obvious-post-states.js index 4f398b9..34836a9 100644 --- a/js/obvious-post-states.js +++ b/js/obvious-post-states.js @@ -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()); }); diff --git a/obvious-post-states.php b/obvious-post-states.php index 51bdb1a..30ded17 100644 --- a/obvious-post-states.php +++ b/obvious-post-states.php @@ -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 */ diff --git a/readme.txt b/readme.txt index 00aa411..e2736a6 100644 --- a/readme.txt +++ b/readme.txt @@ -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.