2
0
Fork 0
mirror of https://github.com/discourse/wp-discourse.git synced 2025-10-04 09:01:05 +08:00
wp-discourse/lib/logs/handlers/null-handler.php
Angus McLeod 22ee91dfb5
Two Five Seven (#541)
* Don't try to add url to <head> if it's not present

* Update js config and formatting for comment block and sidebar

* PHP Linting

* FIX: Don't auto-publish updates to existing posts.

See: https://meta.discourse.org/t/disable-posting-wordpress-articles-to-discourse-when-theyre-updated/204488

* Bump version and release notes.

* Fix remote-post.php linting

* Update tests.yml to install svn

* Re-generate comments js build
2025-04-15 16:53:23 -07:00

13 lines
205 B
PHP

<?php
/**
* Log handler that discards logs.
*
* @package WPDiscourse
*/
namespace WPDiscourse\Logs;
/**
* Class NullHandler
*/
class NullHandler extends \WPDiscourse\Monolog\Handler\NullHandler {}