Skip to content

Commit

Permalink
D.T Version 1.43
Browse files Browse the repository at this point in the history
  • Loading branch information
corsacca committed Jul 24, 2023
1 parent 72e8ec6 commit 583dc77
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ class P2P_Connection_Type_Factory {

private static $instances = array();

public $strategy;

public static function register( $args ) {
$defaults = array(
'name' => false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ class P2P_Connection_Type {

public $reciprocal;

public $strategy;

public function __construct( $args, $sides ) {
$this->side = $sides;

Expand Down
2 changes: 1 addition & 1 deletion dt-core/release-notifications.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ function dt_release_modal() {
if ( !is_archive() && !is_single() && !isset( apply_filters( 'desktop_navbar_menu_options', [] )[untrailingslashit( $url )] ) ){
return;
}
$show_notification_for_theme_version = '1.42.1'; // increment this number with each new release modal
$show_notification_for_theme_version = '1.43.0'; // increment this number with each new release modal

$theme_version = wp_get_theme()->version;
$last_release_notification = get_user_meta( get_current_user_id(), 'dt_release_notification', true );
Expand Down
6 changes: 3 additions & 3 deletions functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
/**
* Test for minimum required PHP version
*/
if ( version_compare( phpversion(), '7.0', '<' ) ) {
if ( version_compare( phpversion(), '7.4', '<' ) ) {

/* We only support PHP >= 7.0, however, we want to support allowing users
* to install this theme even on old versions of PHP, without showing a
Expand Down Expand Up @@ -154,7 +154,7 @@ public function __construct() {
* Prepare variables
*/
$this->token = 'disciple_tools';
$this->version = '1.42.3';
$this->version = '1.43.0';
// $this->migration_number = 38; // moved to Disciple_Tools_Migration_Engine::$migration_number

$this->theme_url = get_template_directory_uri() . '/';
Expand Down Expand Up @@ -560,7 +560,7 @@ function set_up_wpdb_tables(){
function dt_theme_admin_notice_required_php_version() {
?>
<div class="notice notice-error">
<p><?php echo esc_html( 'Disciple.Tools theme requires PHP version 7.0 or greater. Your current version is: ' . phpversion() . ' Please upgrade PHP.' );?></p>
<p><?php echo esc_html( 'Disciple.Tools theme requires PHP version 7.4 or greater. Your current version is: ' . phpversion() . ' Please upgrade PHP.' );?></p>
</div>
<?php
}
2 changes: 1 addition & 1 deletion style.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Theme Name: Disciple Tools
Theme URI: https://github.com/DiscipleTools/disciple-tools-theme
Description: Disciple.Tools is a coalition management system for disciple making movements.
Author URI: https://github.com/DiscipleTools
Version: 1.42.3
Version: 1.43.0
Requires at least: 4.7.0
License: GPL-2.0 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Expand Down

0 comments on commit 583dc77

Please sign in to comment.