Plugin Directory

Changeset 2996976

Timestamp:
11/16/2023 11:09:39 AM (9 months ago)
Author:
rafiq91
Message:

Update to version 7.8.1 from GitHub

Location:
directorist
Files:
2 deleted
12 edited
1 copied

Legend:

Unmodified
Added
Removed
  • directorist/tags/7.8.1/config.php

    r2994648 r2996976  
    11<?php
    22// Plugin version.
    3 if ( ! defined( 'ATBDP_VERSION' ) ) {define( 'ATBDP_VERSION', '7.8.0' );}
     3if ( ! defined( 'ATBDP_VERSION' ) ) {define( 'ATBDP_VERSION', '7.8.' );}
    44// Plugin Folder Path.
    55if ( ! defined( 'ATBDP_DIR' ) ) { define( 'ATBDP_DIR', plugin_dir_path( __FILE__ ) ); }
  • directorist/tags/7.8.1/directorist-base.php

    r2994648 r2996976  
    44 * Plugin URI: https://wpwax.com
    55 * Description: A comprehensive solution to create professional looking directory site of any kind. Like Yelp, Foursquare, etc.
    6  * Version: 7.8.0
     6 * Version: 7.8.
    77 * Author: wpWax
    88 * Author URI: https://wpwax.com
  • directorist/tags/7.8.1/includes/classes/class-tools.php

    r2965600 r2996976  
    167167                            }
    168168
    169                             if ('category' == $taxonomy) {
     169                            if () {
    170170                                $taxonomy = ATBDP_CATEGORY;
    171                             }elseif ('location' == $taxonomy) {
     171                            }) {
    172172                                $taxonomy = ATBDP_LOCATION;
    173                             }else{
     173                            }{
    174174                                $taxonomy = ATBDP_TAGS;
    175175                            }
     
    178178                            $multiple = $terms > 0;
    179179
    180                             foreach( $terms as $term ) {
     180                            foreach( $terms as $term ) {
    181181                                $term_id = $this->get_or_create_term_id( $term, $taxonomy );
    182182
     
    185185                                }
    186186
    187                                 update_term_meta( $term_id, '_directory_type', [ $directory_type ] );
     187                                if ( $taxonomy === ATBDP_CATEGORY || $taxonomy === ATBDP_LOCATION ) {
     188                                    directorist_update_term_directory( $term_id, array( $directory_type ), true );
     189                                }
     190
    188191                                $term_ids[] = $term_id;
    189192                            }
  • directorist/tags/7.8.1/includes/directorist-directory-functions.php

    r2994648 r2996976  
    148148    return true;
    149149}
     150
     151
     152
     153
     154
     155
     156
     157
     158
     159
     160
     161
     162
     163
     164
     165
     166
     167
     168
     169
     170
     171
     172
     173
     174
     175
     176
     177
     178
     179
     180
     181
     182
     183
     184
     185
     186
     187
     188
     189
     190
  • directorist/tags/7.8.1/languages/directorist.pot

    r2994648 r2996976  
    77"Content-Type: text/plain; charset=UTF-8\n"
    88"Content-Transfer-Encoding: 8bit\n"
    9 "POT-Creation-Date: 2023-11-12 07:54+0000\n"
     9"POT-Creation-Date: 2023-11-1+0000\n"
    1010"X-Poedit-Basepath: ..\n"
    1111"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"
     
    607607msgstr ""
    608608
    609 #: ../includes/asset-loader/localized_data.php:200, ../includes/classes/class-tools.php:554
     609#: ../includes/asset-loader/localized_data.php:200, ../includes/classes/class-tools.php:55
    610610msgid "Done"
    611611msgstr ""
     
    24132413msgstr ""
    24142414
    2415 #: ../includes/classes/class-settings-panel.php:1830, ../includes/classes/class-settings-panel.php:3171, ../includes/classes/class-setup-wizard.php:633, ../includes/classes/class-tools.php:439, ../includes/elementor/all-listing.php:193, ../includes/elementor/category.php:94, ../includes/elementor/location.php:93, ../includes/elementor/search-result.php:107, ../includes/elementor/tag.php:93
     2415#: ../includes/classes/class-settings-panel.php:1830, ../includes/classes/class-settings-panel.php:3171, ../includes/classes/class-setup-wizard.php:633, ../includes/classes/class-tools.php:4, ../includes/elementor/all-listing.php:193, ../includes/elementor/category.php:94, ../includes/elementor/location.php:93, ../includes/elementor/search-result.php:107, ../includes/elementor/tag.php:93
    24162416msgid "Price"
    24172417msgstr ""
     
    40854085msgstr ""
    40864086
    4087 #: ../includes/classes/class-settings-panel.php:5173, ../includes/classes/class-tools.php:461, ../includes/classes/class-tools.php:462
     4087#: ../includes/classes/class-settings-panel.php:5173, ../includes/classes/class-tools.php:46
    40884088msgid "Tools"
    40894089msgstr ""
     
    43374337msgstr ""
    43384338
    4339 #: ../includes/classes/class-tools.php:367
     4339#: ../includes/classes/class-tools.php:3
    43404340msgid "Sorry, only CSV and TXT files are allowed."
    43414341msgstr ""
    43424342
    4343 #: ../includes/classes/class-tools.php:365
     4343#: ../includes/classes/class-tools.php:36
    43444344msgid "Please select a valid CSV or TXT file."
    43454345msgstr ""
    43464346
    4347 #: ../includes/classes/class-tools.php:423
     4347#: ../includes/classes/class-tools.php:42
    43484348msgid "Publish Date"
    43494349msgstr ""
    43504350
    4351 #: ../includes/classes/class-tools.php:424
     4351#: ../includes/classes/class-tools.php:42
    43524352msgid "Listing Status"
    43534353msgstr ""
    43544354
    4355 #: ../includes/classes/class-tools.php:440, ../includes/modules/multi-directory-setup/builder-preset-fields.php:255
     4355#: ../includes/classes/class-tools.php:44, ../includes/modules/multi-directory-setup/builder-preset-fields.php:255
    43564356msgid "Price Range"
    43574357msgstr ""
    43584358
    4359 #: ../includes/classes/class-tools.php:444
     4359#: ../includes/classes/class-tools.php:44
    43604360msgid "Map Latitude"
    43614361msgstr ""
    43624362
    4363 #: ../includes/classes/class-tools.php:445
     4363#: ../includes/classes/class-tools.php:44
    43644364msgid "Map Longitude"
    43654365msgstr ""
    43664366
    4367 #: ../includes/classes/class-tools.php:446
     4367#: ../includes/classes/class-tools.php:44
    43684368msgid "Hide Map"
    43694369msgstr ""
    43704370
    4371 #: ../includes/classes/class-tools.php:532
     4371#: ../includes/classes/class-tools.php:53
    43724372msgid "Upload CSV File"
    43734373msgstr ""
    43744374
    4375 #: ../includes/classes/class-tools.php:540
     4375#: ../includes/classes/class-tools.php:54
    43764376msgid "Column Mapping"
    43774377msgstr ""
    43784378
    4379 #: ../includes/classes/class-tools.php:548, ../views/admin-templates/post-types-manager/all-listing-types.php:61, ../views/admin-templates/post-types-manager/all-listing-types.php:203, ../views/admin-templates/post-types-manager/all-listing-types.php:221
     4379#: ../includes/classes/class-tools.php:5, ../views/admin-templates/post-types-manager/all-listing-types.php:61, ../views/admin-templates/post-types-manager/all-listing-types.php:203, ../views/admin-templates/post-types-manager/all-listing-types.php:221
    43804380msgid "Import"
    43814381msgstr ""
  • directorist/tags/7.8.1/readme.txt

    r2994648 r2996976  
    66Tested up to: 6.4
    77Requires PHP: 7.0
    8 Stable tag: 7.8.0
     8Stable tag: 7.8.
    99License: GPLv3
    1010License URI: https://www.gnu.org/licenses/gpl-3.0.html
     
    410410
    411411== Changelog ==
     412
     413
     414
     415
    412416
    4134177.8.0 - Nov 12, 2023
  • directorist/trunk/config.php

    r2994648 r2996976  
    11<?php
    22// Plugin version.
    3 if ( ! defined( 'ATBDP_VERSION' ) ) {define( 'ATBDP_VERSION', '7.8.0' );}
     3if ( ! defined( 'ATBDP_VERSION' ) ) {define( 'ATBDP_VERSION', '7.8.' );}
    44// Plugin Folder Path.
    55if ( ! defined( 'ATBDP_DIR' ) ) { define( 'ATBDP_DIR', plugin_dir_path( __FILE__ ) ); }
  • directorist/trunk/directorist-base.php

    r2994648 r2996976  
    44 * Plugin URI: https://wpwax.com
    55 * Description: A comprehensive solution to create professional looking directory site of any kind. Like Yelp, Foursquare, etc.
    6  * Version: 7.8.0
     6 * Version: 7.8.
    77 * Author: wpWax
    88 * Author URI: https://wpwax.com
  • directorist/trunk/includes/classes/class-tools.php

    r2965600 r2996976  
    167167                            }
    168168
    169                             if ('category' == $taxonomy) {
     169                            if () {
    170170                                $taxonomy = ATBDP_CATEGORY;
    171                             }elseif ('location' == $taxonomy) {
     171                            }) {
    172172                                $taxonomy = ATBDP_LOCATION;
    173                             }else{
     173                            }{
    174174                                $taxonomy = ATBDP_TAGS;
    175175                            }
     
    178178                            $multiple = $terms > 0;
    179179
    180                             foreach( $terms as $term ) {
     180                            foreach( $terms as $term ) {
    181181                                $term_id = $this->get_or_create_term_id( $term, $taxonomy );
    182182
     
    185185                                }
    186186
    187                                 update_term_meta( $term_id, '_directory_type', [ $directory_type ] );
     187                                if ( $taxonomy === ATBDP_CATEGORY || $taxonomy === ATBDP_LOCATION ) {
     188                                    directorist_update_term_directory( $term_id, array( $directory_type ), true );
     189                                }
     190
    188191                                $term_ids[] = $term_id;
    189192                            }
  • directorist/trunk/includes/directorist-directory-functions.php

    r2994648 r2996976  
    148148    return true;
    149149}
     150
     151
     152
     153
     154
     155
     156
     157
     158
     159
     160
     161
     162
     163
     164
     165
     166
     167
     168
     169
     170
     171
     172
     173
     174
     175
     176
     177
     178
     179
     180
     181
     182
     183
     184
     185
     186
     187
     188
     189
     190
  • directorist/trunk/languages/directorist.pot

    r2994648 r2996976  
    77"Content-Type: text/plain; charset=UTF-8\n"
    88"Content-Transfer-Encoding: 8bit\n"
    9 "POT-Creation-Date: 2023-11-12 07:54+0000\n"
     9"POT-Creation-Date: 2023-11-1+0000\n"
    1010"X-Poedit-Basepath: ..\n"
    1111"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"
     
    607607msgstr ""
    608608
    609 #: ../includes/asset-loader/localized_data.php:200, ../includes/classes/class-tools.php:554
     609#: ../includes/asset-loader/localized_data.php:200, ../includes/classes/class-tools.php:55
    610610msgid "Done"
    611611msgstr ""
     
    24132413msgstr ""
    24142414
    2415 #: ../includes/classes/class-settings-panel.php:1830, ../includes/classes/class-settings-panel.php:3171, ../includes/classes/class-setup-wizard.php:633, ../includes/classes/class-tools.php:439, ../includes/elementor/all-listing.php:193, ../includes/elementor/category.php:94, ../includes/elementor/location.php:93, ../includes/elementor/search-result.php:107, ../includes/elementor/tag.php:93
     2415#: ../includes/classes/class-settings-panel.php:1830, ../includes/classes/class-settings-panel.php:3171, ../includes/classes/class-setup-wizard.php:633, ../includes/classes/class-tools.php:4, ../includes/elementor/all-listing.php:193, ../includes/elementor/category.php:94, ../includes/elementor/location.php:93, ../includes/elementor/search-result.php:107, ../includes/elementor/tag.php:93
    24162416msgid "Price"
    24172417msgstr ""
     
    40854085msgstr ""
    40864086
    4087 #: ../includes/classes/class-settings-panel.php:5173, ../includes/classes/class-tools.php:461, ../includes/classes/class-tools.php:462
     4087#: ../includes/classes/class-settings-panel.php:5173, ../includes/classes/class-tools.php:46
    40884088msgid "Tools"
    40894089msgstr ""
     
    43374337msgstr ""
    43384338
    4339 #: ../includes/classes/class-tools.php:367
     4339#: ../includes/classes/class-tools.php:3
    43404340msgid "Sorry, only CSV and TXT files are allowed."
    43414341msgstr ""
    43424342
    4343 #: ../includes/classes/class-tools.php:365
     4343#: ../includes/classes/class-tools.php:36
    43444344msgid "Please select a valid CSV or TXT file."
    43454345msgstr ""
    43464346
    4347 #: ../includes/classes/class-tools.php:423
     4347#: ../includes/classes/class-tools.php:42
    43484348msgid "Publish Date"
    43494349msgstr ""
    43504350
    4351 #: ../includes/classes/class-tools.php:424
     4351#: ../includes/classes/class-tools.php:42
    43524352msgid "Listing Status"
    43534353msgstr ""
    43544354
    4355 #: ../includes/classes/class-tools.php:440, ../includes/modules/multi-directory-setup/builder-preset-fields.php:255
     4355#: ../includes/classes/class-tools.php:44, ../includes/modules/multi-directory-setup/builder-preset-fields.php:255
    43564356msgid "Price Range"
    43574357msgstr ""
    43584358
    4359 #: ../includes/classes/class-tools.php:444
     4359#: ../includes/classes/class-tools.php:44
    43604360msgid "Map Latitude"
    43614361msgstr ""
    43624362
    4363 #: ../includes/classes/class-tools.php:445
     4363#: ../includes/classes/class-tools.php:44
    43644364msgid "Map Longitude"
    43654365msgstr ""
    43664366
    4367 #: ../includes/classes/class-tools.php:446
     4367#: ../includes/classes/class-tools.php:44
    43684368msgid "Hide Map"
    43694369msgstr ""
    43704370
    4371 #: ../includes/classes/class-tools.php:532
     4371#: ../includes/classes/class-tools.php:53
    43724372msgid "Upload CSV File"
    43734373msgstr ""
    43744374
    4375 #: ../includes/classes/class-tools.php:540
     4375#: ../includes/classes/class-tools.php:54
    43764376msgid "Column Mapping"
    43774377msgstr ""
    43784378
    4379 #: ../includes/classes/class-tools.php:548, ../views/admin-templates/post-types-manager/all-listing-types.php:61, ../views/admin-templates/post-types-manager/all-listing-types.php:203, ../views/admin-templates/post-types-manager/all-listing-types.php:221
     4379#: ../includes/classes/class-tools.php:5, ../views/admin-templates/post-types-manager/all-listing-types.php:61, ../views/admin-templates/post-types-manager/all-listing-types.php:203, ../views/admin-templates/post-types-manager/all-listing-types.php:221
    43804380msgid "Import"
    43814381msgstr ""
  • directorist/trunk/readme.txt

    r2994648 r2996976  
    66Tested up to: 6.4
    77Requires PHP: 7.0
    8 Stable tag: 7.8.0
     8Stable tag: 7.8.
    99License: GPLv3
    1010License URI: https://www.gnu.org/licenses/gpl-3.0.html
     
    410410
    411411== Changelog ==
     412
     413
     414
     415
    412416
    4134177.8.0 - Nov 12, 2023
Note: See TracChangeset for help on using the changeset viewer.