mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-27 16:04:31 +00:00
Make twentyeleven_content_nav() pluggable. props adeptris, SergeyBiryukov. fixes #18585.
git-svn-id: https://develop.svn.wordpress.org/trunk@19242 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -421,6 +421,7 @@ function twentyeleven_widgets_init() {
|
||||
}
|
||||
add_action( 'widgets_init', 'twentyeleven_widgets_init' );
|
||||
|
||||
if ( ! function_exists( 'twentyeleven_content_nav' ) ) :
|
||||
/**
|
||||
* Display navigation to next/previous pages when applicable
|
||||
*/
|
||||
@@ -435,6 +436,7 @@ function twentyeleven_content_nav( $nav_id ) {
|
||||
</nav><!-- #nav-above -->
|
||||
<?php endif;
|
||||
}
|
||||
endif; // twentyeleven_content_nav
|
||||
|
||||
/**
|
||||
* Return the URL for the first link found in the post content.
|
||||
|
||||
Reference in New Issue
Block a user