Skip to content

Fix for TimberStream constructor error

Compare
Choose a tag to compare
@lggorman lggorman released this 08 Mar 13:28
· 27 commits to master since this release

Addresses #52

  • Added a conditional to check whether TimberStreams are the correct post type rather than throwing an exception. The will prevent the subclass check performed in Timber::PostGetter from throwing an error and preventing posts from being saved.
  • Moved constructor logic into init_stream function, following the pattern used in the Timber classes.