anthonybudd / WP_Model

A simple drop-in abstract class for creating active record style eloquent-esque models of WordPress Posts
MIT License
100 stars 20 forks source link

Spelling fixes and ability to override default post_status #5

Closed greghaygood closed 7 years ago

greghaygood commented 7 years ago

This has been a very useful class, but I ran into an issue where I needed the post_status to not get set to publish on creation, and didn't see a way around that with the current code. PHPStorm also removed the trailing whitespace, so apologies for all those innocuous changes.