Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change version #1792

Merged
merged 20 commits into from
Aug 10, 2024
2 changes: 1 addition & 1 deletion config.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
// Plugin version.
if ( ! defined( 'ATBDP_VERSION' ) ) {define( 'ATBDP_VERSION', '7.10.4' );}
if ( ! defined( 'ATBDP_VERSION' ) ) {define( 'ATBDP_VERSION', '7.11.0' );}
// Plugin Folder Path.
if ( ! defined( 'ATBDP_DIR' ) ) { define( 'ATBDP_DIR', plugin_dir_path( __FILE__ ) ); }
// Plugin Folder URL.
Expand Down
2 changes: 1 addition & 1 deletion directorist-base.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: Directorist - Business Directory Plugin
* Plugin URI: https://wpwax.com
* Description: A comprehensive solution to create professional looking directory site of any kind. Like Yelp, Foursquare, etc.
* Version: 7.10.4
* Version: 7.11.0
* Author: wpWax
* Author URI: https://wpwax.com
* Text Domain: directorist
Expand Down
6 changes: 3 additions & 3 deletions includes/classes/class-installation.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ class ATBDP_Installation {
'directorist_710_review_rating_clear_transients',
'directorist_710_update_db_version',
],
'7.10.4' => [
'directorist_7104_merge_dashboard_login_registration_page',
'directorist_7104_update_db_version',
'7.11.0' => [
'directorist_711_merge_dashboard_login_registration_page',
'directorist_711_update_db_version',
]
);

Expand Down
6 changes: 3 additions & 3 deletions includes/update-functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ function directorist_710_update_db_version() {
\ATBDP_Installation::update_db_version( '7.1.0' );
}

function directorist_7104_merge_dashboard_login_registration_page() {
function directorist_711_merge_dashboard_login_registration_page() {
if ( ! current_user_can( 'manage_options' ) ) {
return;
}
Expand All @@ -151,8 +151,8 @@ function directorist_7104_merge_dashboard_login_registration_page() {
update_option( 'directorist_merge_dashboard_login_reg_page', true );
}

function directorist_7104_update_db_version() {
\ATBDP_Installation::update_db_version( '7.10.4' );
function directorist_711_update_db_version() {
\ATBDP_Installation::update_db_version( '7.11.0' );
}
function directorist_7100_clean_falsy_never_expire_meta() {
global $wpdb;
Expand Down
4 changes: 2 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ Contributors: wpwax
Donate link: https://directorist.com/extensions/
Tags: member directory, listing, classifieds, directory plugin, business directory
Requires at least: 4.6
Tested up to: 6.5
Tested up to: 6.6
Requires PHP: 7.0
Stable tag: 7.10.4
Stable tag: 7.11.0
License: GPLv3
License URI: https://www.gnu.org/licenses/gpl-3.0.html

Expand Down
4 changes: 2 additions & 2 deletions templates/widgets/contact-form.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* @author wpWax
* @since 7.3.0
* @version 7.10.4
* @version 7.11.0
*/

if ( ! defined( 'ABSPATH' ) ) exit;
Expand All @@ -28,7 +28,7 @@

<?php
// Deprecated hook
do_action_deprecated( 'atbdp_before_contact_form_submit_button', array(), '7.10.4', 'directorist_before_contact_form_submit_button' );
do_action_deprecated( 'atbdp_before_contact_form_submit_button', array(), '7.11.0', 'directorist_before_contact_form_submit_button' );
// New hook
do_action( 'directorist_before_contact_form_submit_button' );
?>
Expand Down