wplua: table_to_properties: use luaL_tolstring to do string conversions
The advantage is that luaL_tolstring behaves the same as the native lua tostring() function, while lua_tostring() does not. In particular, boolean values are converted properly to "true" and "false" now, while they were not converted with lua_tostring() Add a unit test too
Please register or sign in to comment