Permalink
Browse files

Merge pull request #133 from mapletonhillmedia/wpSubdirectory

Update dashboard to better support Wordpress in a subdirectory
  • Loading branch information...
2 parents 2bef394 + e862706 commit 3cee88de0e4412024723ca1d852af7e4cd8959b4 @gabor-udvari gabor-udvari committed May 2, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 admin/mf_dashboard.php
View
@@ -20,8 +20,8 @@ function main() {
$custom_taxonomies = $this->get_custom_taxonomies();
print '<div class="wrap">';
- // print screen icon
- print get_screen_icon('magic-fields');
+ // print screen icon
+ print get_screen_icon('magic-fields');
print '<h2>'.__( 'Magic Fields',$mf_domain).'</h2>';
print '<h3>'.__( 'Post Types', $mf_domain ).'<a href="admin.php?page=mf_dispatcher&mf_section=mf_posttype&mf_action=add_post_type" class="add-new-h2 button">'.__( 'Add new Post Type', $mf_domain ).'</a></h3>';
@@ -84,7 +84,7 @@ function main() {
?>
<div class="message-box info">
<p>
- ooh, you do haven't created any Custom Taxonomy, try creating one <a href="<?php print bloginfo('url');?>/wp-admin/admin.php?page=mf_dispatcher&mf_section=mf_custom_taxonomy&mf_action=add_custom_taxonomy">here</a>
+ ooh, you do haven't created any Custom Taxonomy, try creating one <a href="admin.php?page=mf_dispatcher&mf_section=mf_custom_taxonomy&mf_action=add_custom_taxonomy">here</a>
</p>
</div>

0 comments on commit 3cee88d

Please sign in to comment.