WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #17180, comment 15


Ignore:
Timestamp:
07/09/12 16:12:56 (3 years ago)
Author:
jkudish
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #17180, comment 15

    initial v1  
    11Replying to [comment:14 westi]: 
    22> We should protect against invalid dates from XML-RPC as well by adding a similar check lower down in the API inside wp_insert_post as this is the function that finally does the db writes. 
     3 
    34> I think that as checkdate is specifically a Gregorian function we should either have a wrapper function with a filter in it or we should filter the response from it so that plugins that want to implement different calendar systems can check the date in there own way. 
    45