This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
public function prevent_duplicate_error_notices( string $message ): ?string { | |
if ( wc_has_notice( $message ) ) { | |
return null; | |
} | |
return $message; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Embed Gist in webpage | |
https://gist.github.com/benjamine | |
2. Submit bug to WP | |
https://make.wordpress.org/core/handbook/reporting-bugs/ | |
https://core.trac.wordpress.org/ | |
NewerOlder