Permalink
Browse files

Minor fixes for WordPress 3.2

  • Loading branch information...
1 parent 51a49ca commit 6fcd5bf1b5870a6210e04f5eb140e8fce3b7c7f0 Michael Sisk committed Jul 5, 2011
Showing with 9 additions and 6 deletions.
  1. +3 −3 readme.txt
  2. +4 −1 webcomic-includes/admin.php
  3. +2 −2 webcomic.php
View
@@ -3,8 +3,8 @@ Contributors: mgsisk
Donate link: http://webcomicms.net/
Tags: webcomic, comic, multiple comics, storylines, chapters, library, management, themes, posts, publish, custom post type, custom taxonomy, template tags, widgets
Requires at least: 3.0
-Tested up to: 3.1.2
-Stable tag: 3.0.6
+Tested up to: 3.2
+Stable tag: 3.0.7
Comic publishing power for WordPress.
@@ -14,7 +14,7 @@ Please see the [official Webcomic site](http://webcomicms.net/) for the users ma
= ✮ Inkblot & Archimedes Users ✮ =
-*If you are upgrading from Webcomic 3.0.4* you must update your theme functions.php file and the mgs_core.php file found in the theme `/includes` directory after updating to Webcomic 3.0.5. You can download the latest versions of both Inkblot and Archimedes at [http://webcomicms.net/themes/](http://webcomicms.net/themes/).
+*If you are upgrading from Webcomic 3.0.4* you must update your theme functions.php file and the mgs_core.php file found in the theme `/includes` directory after updating. You can download the latest versions of both Inkblot and Archimedes at [http://webcomicms.net/themes/](http://webcomicms.net/themes/).
= Upgrading from Webcomic 1 or 2? =
@@ -437,7 +437,7 @@ function hook_admin_menu() {
* @since 3
*/
function hook_admin_notices() {
- echo '<style>#menu-posts-webcomicpost{display:none}</style>';
+ echo '<style>#menu-posts-webcomic_post{display:none}</style>';
if ( $this->update ) { ?><div id="message" class="updated fade"><p><?php echo implode( '</p><p>', $this->update ); ?></p></div><?php }
if ( $this->errors ) { ?><div id="message" class="error"><p><?php echo implode( '</p><p>', $this->errors ); ?></p></div><?php }
}
@@ -3954,6 +3954,9 @@ function admin_metabox( $post ) {
$posts = get_objects_in_term( $wc->term_id, 'webcomic_collection' );
$term_meta = $this->option( 'term_meta' );
+ if ( false !== ( $index_key = array_search( $abs . 'index.php', $files ) ) )
+ unset( $files[ $index_key ] );
+
foreach ( $term_meta as $taxonomy )
foreach ( $taxonomy as $term )
if ( !empty( $term[ 'files' ] ) )
View
@@ -4,7 +4,7 @@
Plugin Name: Webcomic
Plugin URI: http://webcomicms.net/
Description: Comic publishing power for WordPress. Create, manage, and share your webcomics like never before.
-Version: 3.0.6
+Version: 3.0.7
Author: Michael Sisk
Author URI: http://maikeruon.com/
@@ -42,7 +42,7 @@
class webcomic extends mgs_core {
/** Override mgs_core variables */
protected $name = 'webcomic';
- protected $version = '3.0.6';
+ protected $version = '3.0.7';
protected $file = __FILE__;
protected $type = 'plugin';

0 comments on commit 6fcd5bf

Please sign in to comment.