Skip to content

Commit

Permalink
Remove unused global $post.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.locallylost.com/themes/hybrid-core/trunk@1005 dba0f204-706d-4bc1-bc29-8b92e0485636
  • Loading branch information
greenshady committed Feb 28, 2012
1 parent db0254f commit b28ac5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extensions/loop-pagination.php
Expand Up @@ -32,7 +32,7 @@
* @return string $page_links
*/
function loop_pagination( $args = array() ) {
global $wp_rewrite, $wp_query, $post;
global $wp_rewrite, $wp_query;

/* If there's not more than one page, return nothing. */
if ( 1 >= $wp_query->max_num_pages )
Expand Down

0 comments on commit b28ac5b

Please sign in to comment.