Changeset 3506964
- Timestamp:
- 04/15/2026 10:38:49 AM (3 days ago)
- Location:
- directorist
- Files:
-
- 14 edited
- 1 copied
-
tags/8.6.9 (copied) (copied from directorist/trunk)
-
tags/8.6.9/.distignore (modified) (1 diff)
-
tags/8.6.9/config.php (modified) (1 diff)
-
tags/8.6.9/directorist-base.php (modified) (1 diff)
-
tags/8.6.9/includes/classes/class-user.php (modified) (1 diff)
-
tags/8.6.9/includes/rest-api/functions.php (modified) (1 diff)
-
tags/8.6.9/languages/directorist.pot (modified) (1 diff)
-
tags/8.6.9/readme.txt (modified) (2 diffs)
-
trunk/.distignore (modified) (1 diff)
-
trunk/config.php (modified) (1 diff)
-
trunk/directorist-base.php (modified) (1 diff)
-
trunk/includes/classes/class-user.php (modified) (1 diff)
-
trunk/includes/rest-api/functions.php (modified) (1 diff)
-
trunk/languages/directorist.pot (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
directorist/tags/8.6.9/.distignore
r3479029 r3506964 47 47 /README.md 48 48 /node-update-notes.md 49 /CLAUDE.md -
directorist/tags/8.6.9/config.php
r3501495 r3506964 2 2 // Plugin version. 3 3 if ( ! defined( 'ATBDP_VERSION' ) ) { 4 define( 'ATBDP_VERSION', '8.6. 8' );4 define( 'ATBDP_VERSION', '8.6.9' ); 5 5 } 6 6 // Plugin Folder Path. -
directorist/tags/8.6.9/directorist-base.php
r3501495 r3506964 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: 8.6. 86 * Version: 8.6.9 7 7 * Author: wpWax 8 8 * Author URI: https://wpwax.com -
directorist/tags/8.6.9/includes/classes/class-user.php
r3478925 r3506964 301 301 </td> 302 302 </tr> 303 <?php $email_verify_checkbox = ob_get_clean(); ?> 303 <?php 304 $email_verify_checkbox = ob_get_clean(); 305 $allowed_tags = array_merge( 306 wp_kses_allowed_html( 'post' ), 307 array( 308 'input' => array( 309 'type' => true, 310 'name' => true, 311 'id' => true, 312 'value' => true, 313 'checked' => true, 314 ), 315 ) 316 ); 317 ?> 304 318 <script> 305 319 jQuery(($) => { 306 $('#your-profile .user-email-wrap, #createuser .user-pass2-wrap').after(`<?php 307 echo wp_kses_post( $email_verify_checkbox ); 308 ?>`); 320 $('#your-profile .user-email-wrap, #createuser .user-pass2-wrap').after(`<?php echo wp_kses( $email_verify_checkbox, $allowed_tags ); ?>`); 309 321 }); 310 322 </script> -
directorist/tags/8.6.9/includes/rest-api/functions.php
r3385954 r3506964 127 127 $allowed_mime_types = get_allowed_mime_types(); 128 128 129 // Add extension to the name when downloaded from extension less url 130 if ( strrpos( $file_array['name'], '.' ) === false ) { 131 $mime_type = mime_content_type( $file_array['tmp_name'] ); 132 $_mime_types = array_flip( $allowed_mime_types ); 133 $extensions = isset( $_mime_types[ $mime_type ] ) ? $_mime_types[ $mime_type ] : ''; 134 $extensions = explode( '|', $extensions, 2 ); 135 $file_array['name'] .= '.' . $extensions[0]; 129 // Add extension to the name when downloaded from extension-less URL, 130 // or when the URL path ends with a domain-like suffix (e.g. .com) that 131 // is not a valid image extension — as happens with logo.dev URLs. 132 $name_ext = strtolower( pathinfo( $file_array['name'], PATHINFO_EXTENSION ) ); 133 $_mime_types = array_flip( $allowed_mime_types ); 134 $ext_is_valid = false; 135 136 if ( $name_ext ) { 137 foreach ( $allowed_mime_types as $exts => $mime ) { 138 if ( in_array( $name_ext, explode( '|', $exts ), true ) ) { 139 $ext_is_valid = true; 140 break; 141 } 142 } 143 } 144 145 if ( ! $ext_is_valid ) { 146 $mime_type = mime_content_type( $file_array['tmp_name'] ); 147 $extensions = isset( $_mime_types[ $mime_type ] ) ? $_mime_types[ $mime_type ] : ''; 148 $extensions = explode( '|', $extensions, 2 ); 149 150 // Strip the invalid extension (e.g. ".com") before appending the real one. 151 if ( $name_ext ) { 152 $file_array['name'] = substr( $file_array['name'], 0, strrpos( $file_array['name'], '.' ) ); 153 } 154 155 if ( ! empty( $extensions[0] ) ) { 156 $file_array['name'] .= '.' . $extensions[0]; 157 } 136 158 } 137 159 -
directorist/tags/8.6.9/languages/directorist.pot
r3501495 r3506964 7 7 "Content-Type: text/plain; charset=UTF-8\n" 8 8 "Content-Transfer-Encoding: 8bit\n" 9 "POT-Creation-Date: 2026-04- 08 08:58+0000\n"9 "POT-Creation-Date: 2026-04-15 10:10+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" -
directorist/tags/8.6.9/readme.txt
r3501495 r3506964 6 6 Tested up to: 6.9 7 7 Requires PHP: 7.0 8 Stable tag: 8.6. 88 Stable tag: 8.6.9 9 9 License: GPLv3 10 10 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 301 301 == Changelog == 302 302 303 = 8.6.9 - Apr 15, 2026 = 304 305 **Fixed** 306 - Email verified checkbox not rendering in admin user profile. (#2812) 307 - Fixed CSV import not downloading images from extension-less CDN URLs (e.g. logo.dev) (#2809) 308 303 309 = 8.6.8 - Apr 8, 2026 = 304 310 -
directorist/trunk/.distignore
r3479029 r3506964 47 47 /README.md 48 48 /node-update-notes.md 49 /CLAUDE.md -
directorist/trunk/config.php
r3501495 r3506964 2 2 // Plugin version. 3 3 if ( ! defined( 'ATBDP_VERSION' ) ) { 4 define( 'ATBDP_VERSION', '8.6. 8' );4 define( 'ATBDP_VERSION', '8.6.9' ); 5 5 } 6 6 // Plugin Folder Path. -
directorist/trunk/directorist-base.php
r3501495 r3506964 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: 8.6. 86 * Version: 8.6.9 7 7 * Author: wpWax 8 8 * Author URI: https://wpwax.com -
directorist/trunk/includes/classes/class-user.php
r3478925 r3506964 301 301 </td> 302 302 </tr> 303 <?php $email_verify_checkbox = ob_get_clean(); ?> 303 <?php 304 $email_verify_checkbox = ob_get_clean(); 305 $allowed_tags = array_merge( 306 wp_kses_allowed_html( 'post' ), 307 array( 308 'input' => array( 309 'type' => true, 310 'name' => true, 311 'id' => true, 312 'value' => true, 313 'checked' => true, 314 ), 315 ) 316 ); 317 ?> 304 318 <script> 305 319 jQuery(($) => { 306 $('#your-profile .user-email-wrap, #createuser .user-pass2-wrap').after(`<?php 307 echo wp_kses_post( $email_verify_checkbox ); 308 ?>`); 320 $('#your-profile .user-email-wrap, #createuser .user-pass2-wrap').after(`<?php echo wp_kses( $email_verify_checkbox, $allowed_tags ); ?>`); 309 321 }); 310 322 </script> -
directorist/trunk/includes/rest-api/functions.php
r3385954 r3506964 127 127 $allowed_mime_types = get_allowed_mime_types(); 128 128 129 // Add extension to the name when downloaded from extension less url 130 if ( strrpos( $file_array['name'], '.' ) === false ) { 131 $mime_type = mime_content_type( $file_array['tmp_name'] ); 132 $_mime_types = array_flip( $allowed_mime_types ); 133 $extensions = isset( $_mime_types[ $mime_type ] ) ? $_mime_types[ $mime_type ] : ''; 134 $extensions = explode( '|', $extensions, 2 ); 135 $file_array['name'] .= '.' . $extensions[0]; 129 // Add extension to the name when downloaded from extension-less URL, 130 // or when the URL path ends with a domain-like suffix (e.g. .com) that 131 // is not a valid image extension — as happens with logo.dev URLs. 132 $name_ext = strtolower( pathinfo( $file_array['name'], PATHINFO_EXTENSION ) ); 133 $_mime_types = array_flip( $allowed_mime_types ); 134 $ext_is_valid = false; 135 136 if ( $name_ext ) { 137 foreach ( $allowed_mime_types as $exts => $mime ) { 138 if ( in_array( $name_ext, explode( '|', $exts ), true ) ) { 139 $ext_is_valid = true; 140 break; 141 } 142 } 143 } 144 145 if ( ! $ext_is_valid ) { 146 $mime_type = mime_content_type( $file_array['tmp_name'] ); 147 $extensions = isset( $_mime_types[ $mime_type ] ) ? $_mime_types[ $mime_type ] : ''; 148 $extensions = explode( '|', $extensions, 2 ); 149 150 // Strip the invalid extension (e.g. ".com") before appending the real one. 151 if ( $name_ext ) { 152 $file_array['name'] = substr( $file_array['name'], 0, strrpos( $file_array['name'], '.' ) ); 153 } 154 155 if ( ! empty( $extensions[0] ) ) { 156 $file_array['name'] .= '.' . $extensions[0]; 157 } 136 158 } 137 159 -
directorist/trunk/languages/directorist.pot
r3501495 r3506964 7 7 "Content-Type: text/plain; charset=UTF-8\n" 8 8 "Content-Transfer-Encoding: 8bit\n" 9 "POT-Creation-Date: 2026-04- 08 08:58+0000\n"9 "POT-Creation-Date: 2026-04-15 10:10+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" -
directorist/trunk/readme.txt
r3501495 r3506964 6 6 Tested up to: 6.9 7 7 Requires PHP: 7.0 8 Stable tag: 8.6. 88 Stable tag: 8.6.9 9 9 License: GPLv3 10 10 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 301 301 == Changelog == 302 302 303 = 8.6.9 - Apr 15, 2026 = 304 305 **Fixed** 306 - Email verified checkbox not rendering in admin user profile. (#2812) 307 - Fixed CSV import not downloading images from extension-less CDN URLs (e.g. logo.dev) (#2809) 308 303 309 = 8.6.8 - Apr 8, 2026 = 304 310
Note: See TracChangeset
for help on using the changeset viewer.