Changes between Initial Version and Version 1 of Ticket #36595, comment 3
- Timestamp:
- 04/19/2016 05:50:41 PM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #36595, comment 3
initial v1 3 3 That brings up the question if the parameter is used **anywhere** in core and if it isn't, if it wouldn't be a good idea to remove it from the code. 4 4 5 I have used `wp_insert_post` myself in a plugin and had expected that it would be set to the parameters date, so I didn't even checked it. Now I need to change the code and hack it into the database directly which isn't best practice at all .5 I have used `wp_insert_post` myself in a plugin and had expected that it would be set to the parameters date, so I didn't even checked it. Now I need to change the code and hack it into the database directly which isn't best practice at all ('''Update:''' Of course I don't have to write it directly into the DB, there's a filter that can be used. Details follow.) 6 6 7 7 Real world case: Import posts from another CMS.