This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| use Rack::ContentLength | |
| run lambda { |env| | |
| [200, {'Content-Type'=>'text/html'}, ::File.open("index.html", "r")] | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function menu_order_filter($menu) { | |
| $dev_menu = array('plugins.php', 'tools.php', 'themes.php'); | |
| array_splice($menu, 1, 0, $dev_menu); | |
| return array_unique($menu); | |
| } | |
| add_filter('custom_menu_order', create_function('', 'return true;')); | |
| add_filter('menu_order', 'menu_order_filter'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function menu_order_filter($menu) { | |
| // | |
| // reorder the menu here by operating on $menu | |
| // which is an array with position => 'url'; | |
| // separators will appear as | |
| // 'separator1', 'separator2' ... 'separator-last' | |
| // | |
| // example: | |
| // Array | |
| // ( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function menu_order_filter($menu) { | |
| // | |
| // reorder the menu here by operating on $menu | |
| // which is an array with position => 'url'; | |
| // separators will appear as |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| O que você pode dar para o Bandeira, e vencer no céu por isso... | |
| ________________________________________________________________ | |
NewerOlder