Don't print markup in _s_content_nav() when it is not needed. Fixes #28. #38

Merged
merged 1 commit into from Sep 14, 2012

Conversation

Projects
None yet
2 participants
Contributor

kovshenin commented Aug 15, 2012

Added checks for previous (or parent) and next post in _s_content_nav() before printing any navigation-specific markup. Same approach for when using the function to print pagination links on a posts set for less than two pages.

Don't print markup in _s_content_nav() when it is not needed. Fixes #28.
Added checks for previous (or parent) and next post in _s_content_nav() before printing any navigation-specific markup. Same approach for when using the function to print pagination links on a posts set for less than two pages.

ianstewart added a commit that referenced this pull request Sep 14, 2012

Merge pull request #38 from kovshenin/patch-6
Don't print markup in _s_content_nav() when it is not needed. Fixes #28. props @kovshenin

@ianstewart ianstewart merged commit 46f6a66 into Automattic:master Sep 14, 2012

Contributor

kovshenin commented Sep 14, 2012

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment