I attempted to use the media API to add a javascript file and it results in an empty homepage - white screen of wordpress death. I even copied and pasted the code directly from your usage example and it resulted in the same. something about the add_action line causes it to fail. Am I an idiot or is there a bug?
javascript hooks not working?
(5 posts) (2 voices)-
Posted 10 months ago #
-
That's another fault of mines! Pretty much everything in the docs is written for the latest WP Framework 0.6 which isn't out yet so those APIs don't work with the current version. 0.6 will be coming out very shortly.
Posted 10 months ago # -
ahh - I see. it's tough keeping up sometimes...
Posted 10 months ago # -
Ptah,
Are the javascript hooks working better yet? Next release ETA?
Posted 9 months ago # -
Got them working in trunk. I'll be releasing WP Framework 0.4 next week (for sure this time :)) which has the new media API. see this tweet for more info.
Posted 9 months ago #
Reply
You must log in to post.