Problem/Motivation
There is a need for such function which would return a list of styles matching certain conditions and with all default values already included.
API changes
Function styleswitcher_list() has been replaced with styleswitcher_style_load_multiple() which can be used to get a list of styles optionally filtered by any existing properties.
Styles returned from this new function and from styleswitcher_style_load() will have all their 6 properties mandatory.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | styleswitcher-all_purpose_function_to-2536298-1.patch | 8.2 KB | pingwin4eg |
Comments
Comment #1
pingwin4egApplies after #2536288-1: Remove checking if (styleswitcher_list())
Comment #2
pingwin4egComment #4
pingwin4eg