Permalink
Browse files

Even more clean up.

  • Loading branch information...
1 parent 005282d commit 5b2bc38a1e9e2a0660f2b9cb968cbdbe98585814 @mgsisk committed Feb 2, 2013
Showing with 3 additions and 1 deletion.
  1. +3 −1 -/php/taxonomy.php
View
@@ -22,7 +22,8 @@ class WebcomicTaxonomy extends Webcomic {
* @uses WebcomicTaxonomy::edit_form_fields()
* @uses WebcomicTaxonomy::storyline_row_actions()
* @uses WebcomicTaxonomy::manage_custom_column()
- * @uses WebcomicTaxonomy::manage_edit_columns()
+ * @uses WebcomicTaxonomy::manage_edit_webcomic_storyline_columns()
+ * @uses WebcomicTaxonomy::manage_edit_webcomic_character_columns()
*/
public function __construct() {
add_action( 'admin_init', array( $this, 'admin_init' ) );
@@ -235,6 +236,7 @@ public function delete_term( $id, $tax_id, $taxonomy ) {
*/
public function admin_enqueue_scripts() {
$screen = get_current_screen();
+
if ( preg_match( '/^edit-webcomic\d+_(storyline|character)$/', $screen->id ) ) {
wp_register_script( 'webcomic-admin-taxonomy', self::$url . '-/js/admin-taxonomy.js', array( 'jquery' ) );

0 comments on commit 5b2bc38

Please sign in to comment.