WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #21989, comment 11


Ignore:
Timestamp:
07/07/2014 02:36:08 AM (5 years ago)
Author:
rmccue
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #21989, comment 11

    initial v1  
    77Choices I can think of, in preferred order:
    88
    9 1. Add extra parameter to `add_option` to skip sanitization: patch inbound
     91. Add extra parameter to `add_option` to skip sanitization: [attachment:21989.2.diff] handles this
    10102. Skip the `pre_update_option` filters when adding options via `update_option` (should probably add `pre_add_option_{$option}` and `pre_add_option` filters as well; this also breaks BC with the filters): [attachment:21989.diff] handles this
    1111