Make WordPress Core

Opened 21 years ago

Closed 19 years ago

Last modified 19 years ago

#2330 closed enhancement (wontfix)

Add filter for posts_nav_link

Reported by: coppit Owned by:
Priority: normal Milestone:
Component: General Version: 2.0
Severity: normal Keywords:
Cc: Focuses:

Description

My Category Access plugin hides posts in restricted categories. posts_nav_link puts a next page link on a page for which all the posts have been hidden. Tracing it a bit, it looks like is_single might be a good place to tweak things, but I don't see a hook to do so.

Perhaps the function should provide a category exclusion in line with my other request: ​http://trac.wordpress.org/ticket/2327

See my original post on wp-hackers here: ​http://comox.textdrive.com/pipermail/wp-hackers/2006-January/004096.html

Change History (6)

#1 @coppit
21 years ago

  • Summary Add filter for wp_get_archives → Add filter for posts_nav_link

#2 @davidhouse
21 years ago

  • Severity normal → enhancement

#3 @davidhouse
21 years ago

  • Keywords bg|commit added

#4 @rob1n
20 years ago

  • Keywords wp_get_archives bg|commit removed

#5 @Nazgul
19 years ago

  • Resolution → wontfix
  • Status new → closed

No traction in over a year, so closing as wontfix.

Feel free to reopen if you have patches/suggestions/...

#6 @Martin2006
19 years ago

I believe this is now resolved by ​http://trac.wordpress.org/ticket/5969

Note: See TracTickets for help on using tickets.