Pass $post into 'protected_title_format' and 'private_title_format' filters
|Reported by:||johnjamesjacoby||Owned by:|
|Component:||Posts, Post Types||Keywords:||has-patch|
Currently it's only possible to change these prefixes globally.
Being able to change these prefixes based on specific $post data would be helpful for narrowing down the scope, say to specific custom post types.
I noticed also that we don't pass $post into the 'the_title' filter, which could cut down on an additional get_post() call later if we pass it here. Obviously not essential, but wouldn't hurt.