Changeset 2798490
- Timestamp:
- 10/13/2022 07:37:43 PM (3 years ago)
- Location:
- constellation-client-portal/trunk
- Files:
-
- 5 edited
-
README.txt (modified) (1 diff)
-
admin/class-ars-constellation-client-portal-admin.php (modified) (1 diff)
-
admin/class-ars-constellation-client-portal-company.php (modified) (3 diffs)
-
admin/js/ars-constellation-client-portal-admin.js (modified) (1 diff)
-
ars-constellation-client-portal.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
constellation-client-portal/trunk/README.txt
r2796722 r2798490 196 196 197 197 == Changelog == 198 = 1.5.2 (Pro) - 2022-13-10 = 199 * All Core 1.5.2 updates. 200 201 = 1.5.2 (Core) - 2022-13-10 = 202 * Update: Moved the Select2 script related to the client-add-company-select user field to the core admin js file from the pro admin js file so that the Select2 UI works as expected in the core plugin. 203 * Update: Updated the functionality that checks for saved additional assigned companies in the extra_user_profile_fields function to ensure that an array is returned if no companies are assigned, to prevent errors on user edit pages in PHP 8. 204 198 205 = 1.5.1 (Pro) - 2022-10-10 = 199 206 * Improvement: Added new accp_update_login_redirect_url filter to allow developers to change the login redirect URL. -
constellation-client-portal/trunk/admin/class-ars-constellation-client-portal-admin.php
r2738704 r2798490 2297 2297 <?php 2298 2298 2299 $saved_companies = is_object($user) ? get_user_meta($user->ID, 'client_additional_company', true) : ''; 2299 $saved_companies = array(); 2300 2301 if(is_object($user)){ 2302 2303 if ( get_user_meta($user->ID, 'client_additional_company', true) && !empty(get_user_meta($user->ID, 'client_additional_company', true)) ){ 2304 2305 $saved_companies = get_user_meta($user->ID, 'client_additional_company', true); 2306 2307 } 2308 2309 } 2300 2310 2301 2311 $args = array( -
constellation-client-portal/trunk/admin/class-ars-constellation-client-portal-company.php
r2707099 r2798490 1043 1043 die(); 1044 1044 1045 if( !is_admin() || !current_user_can('manage_options') )1045 if( !is_admin() || !current_user_can('manage_options') ) 1046 1046 die(); 1047 1047 … … 1125 1125 1126 1126 /** 1127 * Assign the compan to the new user.1127 * Assign the company to the new user. 1128 1128 */ 1129 update_user_meta($new_user_id, 'client_company', (int)$company_id); 1129 update_user_meta($new_user_id, 'client_company', (int)$company_id); 1130 1130 1131 1131 … … 1161 1161 1162 1162 } 1163 1163 1164 1164 1165 /** -
constellation-client-portal/trunk/admin/js/ars-constellation-client-portal-admin.js
r2773559 r2798490 16 16 17 17 } 18 19 $('.client-add-company-select').select2({ 20 placeholder: 'Select a company...', 21 multiple: true, 22 allowClear: true, 23 tags: true, 24 tokenSeparators: [',', ' '] 25 }); 18 26 19 27 // Delete file associated with accp_clientfile post -
constellation-client-portal/trunk/ars-constellation-client-portal.php
r2796722 r2798490 5 5 * Plugin URI: https://adrianrodriguezstudios.com/constellation-client-portal/ 6 6 * Description: Create private pages for each of your clients, post private files, and protect your client files from unauthorized users and search engines. <strong>Important:</strong> All Site-level File Protection features will cease to function if the plugin is disabled or uninstalled. 7 * Version: 1.5. 17 * Version: 1.5.2 8 8 * Author: ARS 9 9 * Author URI: https://adrianrodriguezstudios.com … … 41 41 */ 42 42 define('ACCP_PLUGIN_NAME', 'ARS_CONSTELLATION_CLIENT_PORTAL'); 43 define('ACCP_PLUGIN_VERSION', '1.5. 1'); // Change the version in the header as well.43 define('ACCP_PLUGIN_VERSION', '1.5.2'); // Change the version in the header as well. 44 44 define( ACCP_PLUGIN_NAME, ACCP_PLUGIN_VERSION ); 45 45
Note: See TracChangeset
for help on using the changeset viewer.