Changeset 2996976
- Timestamp:
- 11/16/2023 11:09:39 AM (9 months ago)
- Location:
- directorist
- Files:
-
- 2 deleted
- 12 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
directorist/tags/7.8.1/config.php
r2994648 r2996976 1 1 <?php 2 2 // Plugin version. 3 if ( ! defined( 'ATBDP_VERSION' ) ) {define( 'ATBDP_VERSION', '7.8. 0' );}3 if ( ! defined( 'ATBDP_VERSION' ) ) {define( 'ATBDP_VERSION', '7.8.' );} 4 4 // Plugin Folder Path. 5 5 if ( ! defined( 'ATBDP_DIR' ) ) { define( 'ATBDP_DIR', plugin_dir_path( __FILE__ ) ); } -
directorist/tags/7.8.1/directorist-base.php
r2994648 r2996976 4 4 * Plugin URI: https://wpwax.com 5 5 * Description: A comprehensive solution to create professional looking directory site of any kind. Like Yelp, Foursquare, etc. 6 * Version: 7.8. 06 * Version: 7.8. 7 7 * Author: wpWax 8 8 * Author URI: https://wpwax.com -
directorist/tags/7.8.1/includes/classes/class-tools.php
r2965600 r2996976 167 167 } 168 168 169 if ( 'category' == $taxonomy) {169 if () { 170 170 $taxonomy = ATBDP_CATEGORY; 171 } elseif ('location' == $taxonomy) {171 }) { 172 172 $taxonomy = ATBDP_LOCATION; 173 } else{173 }{ 174 174 $taxonomy = ATBDP_TAGS; 175 175 } … … 178 178 $multiple = $terms > 0; 179 179 180 foreach ( $terms as $term ) {180 foreach( $terms as $term ) { 181 181 $term_id = $this->get_or_create_term_id( $term, $taxonomy ); 182 182 … … 185 185 } 186 186 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 188 191 $term_ids[] = $term_id; 189 192 } -
directorist/tags/7.8.1/includes/directorist-directory-functions.php
r2994648 r2996976 148 148 return true; 149 149 } 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 7 7 "Content-Type: text/plain; charset=UTF-8\n" 8 8 "Content-Transfer-Encoding: 8bit\n" 9 "POT-Creation-Date: 2023-11-1 2 07:54+0000\n"9 "POT-Creation-Date: 2023-11-1+0000\n" 10 10 "X-Poedit-Basepath: ..\n" 11 11 "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" … … 607 607 msgstr "" 608 608 609 #: ../includes/asset-loader/localized_data.php:200, ../includes/classes/class-tools.php:55 4609 #: ../includes/asset-loader/localized_data.php:200, ../includes/classes/class-tools.php:55 610 610 msgid "Done" 611 611 msgstr "" … … 2413 2413 msgstr "" 2414 2414 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 39, ../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:932415 #: ../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 2416 2416 msgid "Price" 2417 2417 msgstr "" … … 4085 4085 msgstr "" 4086 4086 4087 #: ../includes/classes/class-settings-panel.php:5173, ../includes/classes/class-tools.php:46 1, ../includes/classes/class-tools.php:4624087 #: ../includes/classes/class-settings-panel.php:5173, ../includes/classes/class-tools.php:46 4088 4088 msgid "Tools" 4089 4089 msgstr "" … … 4337 4337 msgstr "" 4338 4338 4339 #: ../includes/classes/class-tools.php:3 674339 #: ../includes/classes/class-tools.php:3 4340 4340 msgid "Sorry, only CSV and TXT files are allowed." 4341 4341 msgstr "" 4342 4342 4343 #: ../includes/classes/class-tools.php:36 54343 #: ../includes/classes/class-tools.php:36 4344 4344 msgid "Please select a valid CSV or TXT file." 4345 4345 msgstr "" 4346 4346 4347 #: ../includes/classes/class-tools.php:42 34347 #: ../includes/classes/class-tools.php:42 4348 4348 msgid "Publish Date" 4349 4349 msgstr "" 4350 4350 4351 #: ../includes/classes/class-tools.php:42 44351 #: ../includes/classes/class-tools.php:42 4352 4352 msgid "Listing Status" 4353 4353 msgstr "" 4354 4354 4355 #: ../includes/classes/class-tools.php:44 0, ../includes/modules/multi-directory-setup/builder-preset-fields.php:2554355 #: ../includes/classes/class-tools.php:44, ../includes/modules/multi-directory-setup/builder-preset-fields.php:255 4356 4356 msgid "Price Range" 4357 4357 msgstr "" 4358 4358 4359 #: ../includes/classes/class-tools.php:44 44359 #: ../includes/classes/class-tools.php:44 4360 4360 msgid "Map Latitude" 4361 4361 msgstr "" 4362 4362 4363 #: ../includes/classes/class-tools.php:44 54363 #: ../includes/classes/class-tools.php:44 4364 4364 msgid "Map Longitude" 4365 4365 msgstr "" 4366 4366 4367 #: ../includes/classes/class-tools.php:44 64367 #: ../includes/classes/class-tools.php:44 4368 4368 msgid "Hide Map" 4369 4369 msgstr "" 4370 4370 4371 #: ../includes/classes/class-tools.php:53 24371 #: ../includes/classes/class-tools.php:53 4372 4372 msgid "Upload CSV File" 4373 4373 msgstr "" 4374 4374 4375 #: ../includes/classes/class-tools.php:54 04375 #: ../includes/classes/class-tools.php:54 4376 4376 msgid "Column Mapping" 4377 4377 msgstr "" 4378 4378 4379 #: ../includes/classes/class-tools.php:5 48, ../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:2214379 #: ../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 4380 4380 msgid "Import" 4381 4381 msgstr "" -
directorist/tags/7.8.1/readme.txt
r2994648 r2996976 6 6 Tested up to: 6.4 7 7 Requires PHP: 7.0 8 Stable tag: 7.8. 08 Stable tag: 7.8. 9 9 License: GPLv3 10 10 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 410 410 411 411 == Changelog == 412 413 414 415 412 416 413 417 7.8.0 - Nov 12, 2023 -
directorist/trunk/config.php
r2994648 r2996976 1 1 <?php 2 2 // Plugin version. 3 if ( ! defined( 'ATBDP_VERSION' ) ) {define( 'ATBDP_VERSION', '7.8. 0' );}3 if ( ! defined( 'ATBDP_VERSION' ) ) {define( 'ATBDP_VERSION', '7.8.' );} 4 4 // Plugin Folder Path. 5 5 if ( ! defined( 'ATBDP_DIR' ) ) { define( 'ATBDP_DIR', plugin_dir_path( __FILE__ ) ); } -
directorist/trunk/directorist-base.php
r2994648 r2996976 4 4 * Plugin URI: https://wpwax.com 5 5 * Description: A comprehensive solution to create professional looking directory site of any kind. Like Yelp, Foursquare, etc. 6 * Version: 7.8. 06 * Version: 7.8. 7 7 * Author: wpWax 8 8 * Author URI: https://wpwax.com -
directorist/trunk/includes/classes/class-tools.php
r2965600 r2996976 167 167 } 168 168 169 if ( 'category' == $taxonomy) {169 if () { 170 170 $taxonomy = ATBDP_CATEGORY; 171 } elseif ('location' == $taxonomy) {171 }) { 172 172 $taxonomy = ATBDP_LOCATION; 173 } else{173 }{ 174 174 $taxonomy = ATBDP_TAGS; 175 175 } … … 178 178 $multiple = $terms > 0; 179 179 180 foreach ( $terms as $term ) {180 foreach( $terms as $term ) { 181 181 $term_id = $this->get_or_create_term_id( $term, $taxonomy ); 182 182 … … 185 185 } 186 186 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 188 191 $term_ids[] = $term_id; 189 192 } -
directorist/trunk/includes/directorist-directory-functions.php
r2994648 r2996976 148 148 return true; 149 149 } 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 7 7 "Content-Type: text/plain; charset=UTF-8\n" 8 8 "Content-Transfer-Encoding: 8bit\n" 9 "POT-Creation-Date: 2023-11-1 2 07:54+0000\n"9 "POT-Creation-Date: 2023-11-1+0000\n" 10 10 "X-Poedit-Basepath: ..\n" 11 11 "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" … … 607 607 msgstr "" 608 608 609 #: ../includes/asset-loader/localized_data.php:200, ../includes/classes/class-tools.php:55 4609 #: ../includes/asset-loader/localized_data.php:200, ../includes/classes/class-tools.php:55 610 610 msgid "Done" 611 611 msgstr "" … … 2413 2413 msgstr "" 2414 2414 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 39, ../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:932415 #: ../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 2416 2416 msgid "Price" 2417 2417 msgstr "" … … 4085 4085 msgstr "" 4086 4086 4087 #: ../includes/classes/class-settings-panel.php:5173, ../includes/classes/class-tools.php:46 1, ../includes/classes/class-tools.php:4624087 #: ../includes/classes/class-settings-panel.php:5173, ../includes/classes/class-tools.php:46 4088 4088 msgid "Tools" 4089 4089 msgstr "" … … 4337 4337 msgstr "" 4338 4338 4339 #: ../includes/classes/class-tools.php:3 674339 #: ../includes/classes/class-tools.php:3 4340 4340 msgid "Sorry, only CSV and TXT files are allowed." 4341 4341 msgstr "" 4342 4342 4343 #: ../includes/classes/class-tools.php:36 54343 #: ../includes/classes/class-tools.php:36 4344 4344 msgid "Please select a valid CSV or TXT file." 4345 4345 msgstr "" 4346 4346 4347 #: ../includes/classes/class-tools.php:42 34347 #: ../includes/classes/class-tools.php:42 4348 4348 msgid "Publish Date" 4349 4349 msgstr "" 4350 4350 4351 #: ../includes/classes/class-tools.php:42 44351 #: ../includes/classes/class-tools.php:42 4352 4352 msgid "Listing Status" 4353 4353 msgstr "" 4354 4354 4355 #: ../includes/classes/class-tools.php:44 0, ../includes/modules/multi-directory-setup/builder-preset-fields.php:2554355 #: ../includes/classes/class-tools.php:44, ../includes/modules/multi-directory-setup/builder-preset-fields.php:255 4356 4356 msgid "Price Range" 4357 4357 msgstr "" 4358 4358 4359 #: ../includes/classes/class-tools.php:44 44359 #: ../includes/classes/class-tools.php:44 4360 4360 msgid "Map Latitude" 4361 4361 msgstr "" 4362 4362 4363 #: ../includes/classes/class-tools.php:44 54363 #: ../includes/classes/class-tools.php:44 4364 4364 msgid "Map Longitude" 4365 4365 msgstr "" 4366 4366 4367 #: ../includes/classes/class-tools.php:44 64367 #: ../includes/classes/class-tools.php:44 4368 4368 msgid "Hide Map" 4369 4369 msgstr "" 4370 4370 4371 #: ../includes/classes/class-tools.php:53 24371 #: ../includes/classes/class-tools.php:53 4372 4372 msgid "Upload CSV File" 4373 4373 msgstr "" 4374 4374 4375 #: ../includes/classes/class-tools.php:54 04375 #: ../includes/classes/class-tools.php:54 4376 4376 msgid "Column Mapping" 4377 4377 msgstr "" 4378 4378 4379 #: ../includes/classes/class-tools.php:5 48, ../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:2214379 #: ../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 4380 4380 msgid "Import" 4381 4381 msgstr "" -
directorist/trunk/readme.txt
r2994648 r2996976 6 6 Tested up to: 6.4 7 7 Requires PHP: 7.0 8 Stable tag: 7.8. 08 Stable tag: 7.8. 9 9 License: GPLv3 10 10 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 410 410 411 411 == Changelog == 412 413 414 415 412 416 413 417 7.8.0 - Nov 12, 2023
Note: See TracChangeset
for help on using the changeset viewer.