villesiltala

Results 17 issues of villesiltala

If you pass for example a true/false field **object** for the `add_condition_logic()` method to control visibility of a groupable field, a repeater in this case, the condition will hide the...

The `inner_set_key()` method is used for all keys set through the `Field` constructor. It sanitizes keys with the WP `sanitize_title()` function. This is necessary when the key is created out...

No some helpers return an error message as the helper content. This is problematic in production environment as it is seen by the end user. Provide filters for the error...

enhancement

If a public model method is overridden in an extending class, DustPress executes both during data fetching. The expected outcome would be that only the method in the extending class...

Basic autoloading for main the classes in the core autoloader expect the directory separator to be `/`. This will not work in Windows and the classes are not found. Use...

The image helper currently outputs an error message on various occasions. If the error message would be returned through a filter, it would enable hiding the error message on production...

enhancement

It seems that DustPHP can not include partial files if the theme is symlinked from another directory.

There should be a note int the documentation that the `create_ajax_instance()` function does not filter or sanitize the input coming through from DustPress.jss requests.

If a model passes a reference of a WP_Query class object for the renderer, opening the object context in a Dust template causes the query to be run again with...

enhancement

If the model method running in the `fetch_data` function was wrapped in a try block, DustPress could prevent renderer from crashing if an error occurs in any of the model...

enhancement