芝麻web文件管理V1.00
编辑当前文件:/var/www/cognitio.in/wp-content/plugins/woocommerce/packages/woocommerce-blocks/vendor/jetpack-autoloader/class-version-selector.php
is_dev_version( $selected_version ) ) { return false; } if ( $this->is_dev_version( $compare_version ) ) { if ( $use_dev_versions ) { return true; } else { return false; } } if ( version_compare( $selected_version, $compare_version, '<' ) ) { return true; } return false; } /** * Checks whether the given package version is a development version. * * @param String $version The package version. * * @return bool True if the version is a dev version, else false. */ public function is_dev_version( $version ) { if ( 'dev-' === substr( $version, 0, 4 ) || '9999999-dev' === $version ) { return true; } return false; } }