Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

fix css in icon style

  • Loading branch information...
commit 061e107d3e564ace630fbcbaf9c780929537133c 1 parent 1ba5aca
Kevin Dees authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. +2 2 core/post_type.php
4 core/post_type.php
@@ -61,7 +61,7 @@ function __construct( $singular = null, $plural = null, $cap = false, $settings
61 61 }
62 62
63 63 function icon($name) {
64   - if(array_key_exists($name, $this->icon_pos)) exit('Adding Icon: You need to enter a valid icon name.');
  64 + if(!array_key_exists($name, $this->icon_pos)) exit('Adding Icon: You need to enter a valid icon name. You used ' . $name);
65 65
66 66 $this->icon = $name;
67 67
@@ -73,7 +73,7 @@ function set_icon_css() { ?>
73 73
74 74 <style type="text/css">
75 75 #adminmenu #menu-posts-<?php echo $this->singular; ?> .wp-menu-image {
76   - background-image: url(../img/menu.png);
  76 + background-image: url(<?php echo ACPT_LOCATION; ?>/acpt/img/menu.png);
77 77 }
78 78
79 79 #adminmenu #menu-posts-<?php echo $this->singular; ?> .wp-menu-image {

0 comments on commit 061e107

Please sign in to comment.
Something went wrong with that request. Please try again.