Timi-Artturi Mäkelä
Timi-Artturi Mäkelä
Noticed that method polls_archive isn't running the template filters. str_replace should be implemeted the same way as in the function `display_pollresult()`.
Add escaping filters for the DustPress default partials https://github.com/devgeniem/dustpress/tree/master/partials Docs https://github.com/devgeniem/dustpress#escaping-filters
Check why \DustPress\Query::get_post( $id ); returns global post if there isn't ID https://github.com/devgeniem/dustpress/blob/master/classes/query.php#L37 Check that preview works if this will be removed.
Fixes permalink data on WP object in archive views. Tested on WPML and Polylang.
Add required php version to the composer.json.
Check on line 689 if data is not empty rather than falsy. Code fails if developer wants to return false for example in the ajax function. https://github.com/devgeniem/dustpress/blob/master/dustpress.php#L689
Sometimes you might want to use ACF fields but you don't want ACF to format data before you handle it. Now this _is not_ possible because format_value has been hard...
Causes the following warnings: `Deprecated: Creation of dynamic property`
docblock example `@param string $new_lines New line handling way. Possible values: 'wpautop', 'br', ''.` Error message suggestion: For example `( new Textarea( 'test' ) )->set_new_lines( 'wrong-parameter-value' )` could return error...
PHP 8.1: FILTER_SANITIZE_STRING has been deprecated