I get when including in a theme
@adamholte,@chris,
That explains something, as I just started experimenting with a theme-included setup yesterday and couldn’t figure out why I wasn’t seeing any fields. I thought I was doing something wrong, but it seems I was just experiencing the same issue as you guys.
I meant to post a bug report on this but forgot. I can’t remember which field it is, but one type doesn’t get a closing bracket for the translation function {__()}.
Copy and paste the php output into an IDE like netbeans and you’ll see the error lines.
(away from computer right now or I’d do it myself)
I have this problem too. It wasn’t the case in the previous stable release. (4.2.2 I think)
Thanks Elliot – I was just coming back to explain that I forgot to add the post_id to my example, but obviously it doesn’t affect the info from your first paragraph.
I have got a system working now, but maybe you could clarify something for me: Because of WP’s use of hooks (like in this case), if you want to work with variables between hooked functions, you basically have to assign them to global variables – is that correct, or is there a better way?
Cheers.