Ticket #1457: markdown_link.patch
File markdown_link.patch, 1.1 KB (added by , 19 years ago) |
---|
-
wp-admin/menu-header.php
48 48 echo "\n\t<li><a href='" . get_settings('siteurl') . "/wp-admin/admin.php?page={$item[2]}'$class>{$item[0]}</a></li>"; 49 49 else 50 50 echo "\n\t<li><a href='" . get_settings('siteurl') . "/wp-admin/{$parent_file}?page={$item[2]}'$class>{$item[0]}</a></li>"; 51 52 } else if (substr($item[2],0,4) == "http") { // hack for absolute urls 53 echo "\n\t<li><a href='{$item[2]}'$class>{$item[0]}</a></li>"; 54 51 55 } else { 52 56 echo "\n\t<li><a href='" . get_settings('siteurl') . "/wp-admin/{$item[2]}'$class>{$item[0]}</a></li>"; 53 57 } -
wp-admin/menu.php
18 18 19 19 $submenu['post.php'][5] = array(__('Write Post'), 1, 'post.php'); 20 20 $submenu['post.php'][10] = array(__('Write Page'), 5, 'page-new.php'); 21 if (isset($MarkdownPHPVersion)) { 22 $submenu['post.php'][15] = array(__('Markdown Syntax'), 1, 'http://daringfireball.net/projects/markdown/syntax'); 23 } 21 24 22 25 $submenu['edit.php'][5] = array(__('Posts'), 1, 'edit.php'); 23 26 $submenu['edit.php'][10] = array(__('Pages'), 5, 'edit-pages.php');