Open giacomo-secchi opened 11 months ago
Some guide about sanification https://tommcfarlin.com/validation-and-sanitization-wordpress-settings-api/ https://konstantin.blog/2012/the-wordpress-settings-api/ (Only sanification section) https://codex.wordpress.org/Creating_Options_Pages Sanitize function doesn't receive $args passed so it is impossible to go any further until this bug isn't solved Reference of the problem: https://github.com/giacomo-secchi/write-poetry/blob/908699814132696dbccb41a1fca86bd1fc26e300/inc/Pages/Admin/SettingsPage.php#L154C6-L154C23
Some guide about sanification https://tommcfarlin.com/validation-and-sanitization-wordpress-settings-api/ https://konstantin.blog/2012/the-wordpress-settings-api/ (Only sanification section) https://codex.wordpress.org/Creating_Options_Pages Sanitize function doesn't receive $args passed so it is impossible to go any further until this bug isn't solved Reference of the problem: https://github.com/giacomo-secchi/write-poetry/blob/908699814132696dbccb41a1fca86bd1fc26e300/inc/Pages/Admin/SettingsPage.php#L154C6-L154C23