Also referencing Issues:
#820816: #type text_format not compatible with system_settings_form($automatic_defaults = TRUE)
and
#266246: Add smart defaults for system_settings_form
on line 1584 of systems.admin.inc, system_settings_form is being passed a second parameter when the api does not show support for it. After looking into the patches in the above listed issues I see this was fixed in other functions but looks like it was missed on system_cron_settings.
| Comment | File | Size | Author |
|---|---|---|---|
| system_settings_form_incorrect_api_usage.patch | 474 bytes | megensel |
Comments
Comment #1
droplet commentedMinor change, bots happy, im happy.
Comment #2
rfayMarking needs backport.
Comment #3
damien tournoud commentedThis was missed when #266246: Add smart defaults for system_settings_form was reverted. I'm in favor.
Comment #4
damien tournoud commentedRestoring tag.
Comment #5
dries commentedGood catch. Committed to 7.x and 8.x. Thanks!