Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion config.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
// Plugin version.
if ( ! defined( 'ATBDP_VERSION' ) ) {
define( 'ATBDP_VERSION', '8.8.5' );
define( 'ATBDP_VERSION', '8.8.6' );
}
// Plugin Folder Path.
if ( ! defined( 'ATBDP_DIR' ) ) {
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 Solution
* Plugin URI: https://wpwax.com
* Description: A comprehensive solution to create professional looking directory site of any kind. Like Yelp, Foursquare, etc.
* Version: 8.8.5
* Version: 8.8.6
* Requires PHP: 7.4
* Author: wpWax
* Author URI: https://wpwax.com
Expand Down
33 changes: 16 additions & 17 deletions includes/asset-loader/init.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,23 +56,6 @@ public static function enqueue_styles() {
wp_enqueue_style( 'directorist-ez-media-uploader-style' );
wp_enqueue_style( 'directorist-swiper-style' );
wp_enqueue_style( 'directorist-sweetalert-style' );

Enqueue::style( 'directorist/frontend', 'build/css/public/app', ['wp-components'] );
Enqueue::register_script( 'directorist-payment-receipt', 'build/js/react/frontend/payment-receipt.js', ['jquery', 'wp-api-fetch'] );
Enqueue::script( 'directorist-listing-owner-dashboard', 'build/js/react/frontend/listing-owner-dashboard' );

$c_position = directorist_get_currency_position();
$currency = directorist_get_currency();
$symbol = atbdp_currency_symbol( $currency );

wp_localize_script(
'directorist-listing-owner-dashboard', 'directorist_admin_order', [
'checkout_page_url' => get_permalink( get_directorist_option( 'checkout_page', 0 ) ),
'symbol_position' => $c_position,
'currency' => $currency,
'symbol' => $symbol,
]
);
}

/**
Expand Down Expand Up @@ -154,6 +137,21 @@ public static function load_template_scripts( $template ) {
wp_enqueue_script( 'directorist-select2-script' );
wp_enqueue_script( 'directorist-formgent-integration' );
wp_enqueue_style( 'directorist-formgent-integration-style' );
Enqueue::style( 'directorist/frontend', 'build/css/public/app', ['wp-components'] );
Enqueue::script( 'directorist-listing-owner-dashboard', 'build/js/react/frontend/listing-owner-dashboard' );

$currency = directorist_get_currency();

wp_localize_script(
'directorist-listing-owner-dashboard',
'directorist_admin_order',
[
'checkout_page_url' => get_permalink( get_directorist_option( 'checkout_page', 0 ) ),
'symbol_position' => directorist_get_currency_position(),
'currency' => $currency,
'symbol' => atbdp_currency_symbol( $currency ),
]
);
break;

// All Authors
Expand Down Expand Up @@ -366,6 +364,7 @@ public static function admin_scripts( string $hook_suffix ) {

public static function register_scripts() {
Helper::register_all_scripts( Scripts::get_all_scripts() );
Enqueue::register_script( 'directorist-payment-receipt', 'build/js/react/frontend/payment-receipt.js', ['jquery', 'wp-api-fetch'] );

// Inline styles
if ( apply_filters( 'directorist_load_inline_style', true ) ) {
Expand Down
2 changes: 1 addition & 1 deletion languages/directorist.pot
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"POT-Creation-Date: 2026-07-09 06:03+0000\n"
"POT-Creation-Date: 2026-07-13 11:53+0000\n"
"X-Poedit-Basepath: ..\n"
"X-Poedit-KeywordsList: __;_e;_ex:1,2c;_n:1,2;_n_noop:1,2;_nx:1,2,4c;_nx_noop:1,2,3c;_x:1,2c;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c\n"
"X-Poedit-SearchPath-0: .\n"
Expand Down
7 changes: 6 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Tags: business directory, listings, classifieds, directory plugin, directory
Requires at least: 4.6
Tested up to: 7.0
Requires PHP: 7.0
Stable tag: 8.8.5
Stable tag: 8.8.6
License: GPLv3
License URI: https://www.gnu.org/licenses/gpl-3.0.html

Expand Down Expand Up @@ -300,6 +300,11 @@ Directorist comes with an AI-powered directory builder. Use the Create with AI o

== Changelog ==

= 8.8.6 - Jul 13, 2026 =

**Improved**
- Improved frontend performance by loading listing owner dashboard assets only on dashboard pages.

= 8.8.5 - Jul 9, 2026 =

**Improved**
Expand Down
Loading