Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Even more clean up.

  • Loading branch information...
commit 5b2bc38a1e9e2a0660f2b9cb968cbdbe98585814 1 parent 005282d
Michael Sisk authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 -/php/taxonomy.php
View
4 -/php/taxonomy.php
@@ -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' ) );
Please sign in to comment.
Something went wrong with that request. Please try again.