This version makes is possible to log things early in the WordPress “boot process”, i.e. before the after_setup_theme
hook and more post types using the block editor is now logged. Thanks to the people who contributed to this release!
Detailed changelog:
- Changed: It’s now possible to log things before the
after_setup_theme
hook by using theSimpleLogger()
function. Before this change callingSimpleLogger()
beforeafter_setup_theme
, or onafter_setup_theme
with a prio smaller than 10, would result in a fatal error (Fatal error: Uncaught Error: Class 'SimpleLogger' not found
). Props https://github.com/JoryHogeveen. - Changed: More custom post types that use the block editor (“Gutenberg”) should now have their changes logged. Props https://github.com/claytoncollie.