Accept 'open' and 'closed' as valid values for mt_allow_comments and mt_allow_pings in XML-RPC
|Reported by:||josephscott||Owned by:|
The correct value for mt_allow_comments and mt_allow_pings is 1 or 0 (zero), however, WordPress has historically supported the strings closed and open as valid values. With the included patch we now support all four potential values.
Change History (16)
comment:11 ryan — 7 years ago
- Resolution set to fixed
- Status changed from new to closed
- Version changed from 2.3 to 2.2
Note: See TracTickets for help on using tickets.