Changeset 1654015
- Timestamp:
- 05/10/2017 05:04:26 AM (9 years ago)
- Location:
- cimy-user-extra-fields/trunk
- Files:
-
- 2 edited
-
README_OFFICIAL.txt (modified) (1 diff)
-
cimy_uef_register.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
cimy-user-extra-fields/trunk/README_OFFICIAL.txt
r1653979 r1654015 632 632 633 633 CHANGELOG: 634 v2.7.3 - /05/2017 635 - Fixed https warning when switching from http and a registration logo has been uploded previously (thanks to Pascal) 636 634 637 v2.7.2 - 10/05/2017 635 638 - Fixed registration rules were applied on profile update when certain plug-ins are installed, like bbpress (thanks to Vane R.) -
cimy-user-extra-fields/trunk/cimy_uef_register.php
r1354953 r1654015 1368 1368 if (!empty($options["registration-logo"])) { 1369 1369 global $cuef_upload_webpath; 1370 list($logo_width, $logo_height, $logo_type, $logo_attr) = getimagesize($options["registration-logo"]); 1370 $bg_url = $cuef_upload_webpath.basename($options["registration-logo"]); 1371 list($logo_width, $logo_height, $logo_type, $logo_attr) = getimagesize($bg_url); 1371 1372 ?> 1372 1373 <style type="text/css"> 1373 1374 #login h1:first-child a:first-child { 1374 background: url(<?php echo esc_url($ cuef_upload_webpath.basename($options["registration-logo"])); ?>) no-repeat top center;1375 background: url(<?php echo esc_url($bg_url); ?>) no-repeat top center; 1375 1376 background-position: center top; 1376 1377 background-size: <?php echo $logo_width; ?>px <?php echo $logo_height; ?>px;
Note: See TracChangeset
for help on using the changeset viewer.