[Plugin: More Fields] Bug in implementation of more_fields_field_types filter
-
I’ve been trying to add my own field types and was finding that even though the code looked correct they weren’t showing up.
Looking through the plugin code I discovered that my more_fields_field_types filter was being executed before the plugin’s own, and the plugin’s more_fields_field_types function was resetting the array.
I’ve patched my local copy to make it work, the diff for more-fields-field-types.php is:
7,10c7 < function more_fields_field_types () { < < $f = array(); < --- > function more_fields_field_types ($f = array()) {
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘[Plugin: More Fields] Bug in implementation of more_fields_field_types filter’ is closed to new replies.