In function workbench_moderation_view_tab_title it checks if (!empty($state['published'])).
I've put a node back to 'draft' and when going back to the node page, the view tab says "view published". Shouldn't it say View draft?
When I looked at $node->workbench_moderation i saw a ['current'] property. Looking at that, I clearly see that item is marked as published = 0.
The ['published'] property shows the exact same node revision but published = 1.
Comments
Comment #1
stevectorThese issues might be related: #1194706: Incorrect Alerts after unpublishing > Published.
Comment #2
becw commentedCan you give me the steps to duplicate this issue with the latest -dev?
Comment #3
stevectorNo update in over a month. Reopen if this is still a problem.