Skip to content
This repository has been archived by the owner on Apr 16, 2020. It is now read-only.

Commit

Permalink
fixes #4 : Chybí nám parametr: parent-xxx
Browse files Browse the repository at this point in the history
  • Loading branch information
davidulus committed Aug 8, 2018
1 parent 989a679 commit 3b3033f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
}

define( 'CRDM_BASIC_APP_PATH', realpath( get_stylesheet_directory() ) . DIRECTORY_SEPARATOR );
define( 'CRDM_BASIC_APP_VERSION', '0.1.1' );
define( 'CRDM_BASIC_APP_VERSION', '0.2' );
define( 'CRDM_BASIC_TEMPLATE_URL', trailingslashit( get_stylesheet_directory_uri() ) );
define( 'CRDM_BASIC_PARENT_TEMPLATE_PATH', realpath( get_template_directory() ) . DIRECTORY_SEPARATOR );
define( 'CRDM_BASIC_PARENT_TEMPLATE_URL', trailingslashit( get_template_directory_uri() ) );
Expand Down Expand Up @@ -38,7 +38,7 @@ protected function init() {
}

protected function isCompatibleVersionOfWp() {
if ( isset( $GLOBALS['wp_version'] ) && version_compare( $GLOBALS['wp_version'], '4.9.7', '>=' ) ) {
if ( isset( $GLOBALS['wp_version'] ) && version_compare( $GLOBALS['wp_version'], '4.9.8', '>=' ) ) {
return true;
}

Expand All @@ -58,7 +58,7 @@ public function switchToPreviousThemeIfIncompatibleVersionOfWpOrPhp() {

if ( ! $this->isCompatibleVersionOfWp() ) {
add_action( 'admin_notices', function () {
$this->showAdminNotice( esc_html__( 'Šablona ČRDM - základní vyžaduje verzi WordPress 4.9.7 nebo vyšší!', 'crdm-basic' ), 'warning' );
$this->showAdminNotice( esc_html__( 'Šablona ČRDM - základní vyžaduje verzi WordPress 4.9.8 nebo vyšší!', 'crdm-basic' ), 'warning' );
} );
}

Expand Down
6 changes: 3 additions & 3 deletions readme.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
=== CRDM - Basic ===
Contributors: davidulus, skaut, kalich5
Requires at least: 4.9.7
Requires at least: 4.9.8
Tested up to: 5.0
Requires PHP: 7.0
Version: 0.1.1
Version: 0.2
License: GPLv3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: two-columns, three-columns, one-column, right-sidebar, left-sidebar, footer-widgets, blog, e-commerce, flexible-header, full-width-template, buddypress, custom-header, custom-background, custom-menu, custom-colors, sticky-post, threaded-comments, translation-ready, rtl-language-support, featured-images, theme-options
Expand Down Expand Up @@ -54,5 +54,5 @@ https://github.com/jhildenbiddle/get-css-data

== Changelog ==

= 0.1.1 =
= 0.2 =
* beta verze
2 changes: 1 addition & 1 deletion style.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: crdm-basic
Tags: two-columns, three-columns, one-column, right-sidebar, left-sidebar, footer-widgets, blog, e-commerce, flexible-header, full-width-template, buddypress, custom-header, custom-background, custom-menu, custom-colors, sticky-post, threaded-comments, translation-ready, rtl-language-support, featured-images, theme-options
Version: 0.1.1
Version: 0.2
*/

0 comments on commit 3b3033f

Please sign in to comment.