Skip to content

Commit

Permalink
20151219
Browse files Browse the repository at this point in the history
  • Loading branch information
kurubusi committed Dec 18, 2015
1 parent 8948298 commit cd98903
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 1 addition & 0 deletions controllers/class-script-controller.php
Expand Up @@ -34,6 +34,7 @@ public function include_admin_scripts_styles () {
wp_register_style('CPTStyleSheets', plugins_url('css/cpt.css', dirname(__FILE__)));
wp_enqueue_style( 'CPTStyleSheets');

wp_enqueue_script('jquery-touch-punch');

wp_register_script('krc_cast_order', plugins_url('js/krc-cast-order.js', dirname(__FILE__)), array("jquery"));
wp_enqueue_script('krc_cast_order');
Expand Down
4 changes: 0 additions & 4 deletions krc-cast-order/class-list.php
Expand Up @@ -66,10 +66,6 @@ public function addMenu () {
if ($post_type_name == 'reply' || $post_type_name == 'topic') { continue; }
if ($post_type_name == 'krc_cast') {
add_submenu_page('edit.php?post_type=krc_cast', __('表示順管理', 'krc'), __('表示順管理', 'krc'), 'publish_posts', 'order-post-types-'.$post_type_name, array(&$this, 'SortPage') );
} else {
if (!is_post_type_hierarchical($post_type_name)) {
add_submenu_page('edit.php?post_type='.$post_type_name, __('Re-Order', 'krc'), __('Re-Order', 'krc'), 'publish_posts', 'order-post-types-'.$post_type_name, array(&$this, 'SortPage') );
}
}
}
}
Expand Down

0 comments on commit cd98903

Please sign in to comment.