2011-05-31, 21:02:04
hameau Wrote:Hello,
Using i18n v1.5 (also evident in v1.4).
Following your advice in another thread, I'm having some problems with get_i18n_content().
I'm doing my own file_exists() check before calling get_i18n_content(), in order to provide default content. Can I get get_i18n_content() to give me a known default value if $slug doesn't exist ? (Or is that what return_i18n_data() is supposed to be doing ?)
- get_i18n_content($slug) returns an error (undefined function return_i18n_data() in plugins/i18n_base.php on line 207)
- get_i18n_content($slug,true) works as intended, provided that $slug is a valid slug, otherwise the same error
I have to check this.