Skip to content

Commit

Permalink
Use admin_url() properly in footer.php
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisvanpatten committed Nov 6, 2012
1 parent 4da1e5d commit 3aca435
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion footer.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
* @since 1.0
*/
function my_admin_footer() {
echo 'Built by <a href="#">My Company</a> with <a href="http://wordpress.org">WordPress</a>. &bull; <a href="' . admin_url() . 'freedoms.php">Freedoms</a> &bull; <a href="' . admin_url() . 'credits.php">Credits</a>';
echo 'Built by <a href="#">My Company</a> with <a href="http://wordpress.org">WordPress</a>. &bull; <a href="' . admin_url('freedoms.php') . '">Freedoms</a> &bull; <a href="' . admin_url('credits.php') . '">Credits</a>';
}
add_filter('admin_footer_text', 'my_admin_footer');

0 comments on commit 3aca435

Please sign in to comment.