Initial Commit
This commit is contained in:
9
dependencies/yahnis-elsts/plugin-update-checker/vendor/Parsedown.php
vendored
Normal file
9
dependencies/yahnis-elsts/plugin-update-checker/vendor/Parsedown.php
vendored
Normal file
@ -0,0 +1,9 @@
|
||||
<?php
|
||||
if ( !class_exists('Parsedown', false) ) {
|
||||
//Load the Parsedown version that's compatible with the current PHP version.
|
||||
if ( version_compare(PHP_VERSION, '5.3.0', '>=') ) {
|
||||
require __DIR__ . '/ParsedownModern.php';
|
||||
} else {
|
||||
require __DIR__ . '/ParsedownLegacy.php';
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user