Fixes version testing to support RC tests.

This commit is contained in:
mateuswetah 2020-05-11 20:21:05 -03:00
parent c17cef05ad
commit 218b5b2d07
1 changed files with 3 additions and 3 deletions

View File

@ -286,7 +286,7 @@ function tainacan_customize_register( $wp_customize ) {
) )
) ); ) );
if (version_compare(TAINACAN_VERSION, '0.16') <= 0) { if (version_compare(TAINACAN_VERSION, '0.16RC') >= 0) {
/** /**
* Adds option to display Collection banner on the item single page. * Adds option to display Collection banner on the item single page.
*/ */
@ -454,7 +454,7 @@ function tainacan_customize_register( $wp_customize ) {
'fallback_refresh' => true 'fallback_refresh' => true
) ); ) );
if (version_compare(TAINACAN_VERSION, '0.16') <= 0) { if (version_compare(TAINACAN_VERSION, '0.16RC') >= 0) {
/** /**
* Adds options to display or not the document download button. * Adds options to display or not the document download button.
*/ */
@ -583,7 +583,7 @@ function tainacan_customize_register( $wp_customize ) {
) )
) ); ) );
if (version_compare(TAINACAN_VERSION, '0.16') <= 0) { if (version_compare(TAINACAN_VERSION, '0.16RC') >= 0) {
/** /**
* Adds section to control collection items page. --------------------------------------------------------- * Adds section to control collection items page. ---------------------------------------------------------