Skip to content

Commit

Permalink
Fix user icon height & size
Browse files Browse the repository at this point in the history
  • Loading branch information
iniznet committed Dec 1, 2022
1 parent b318606 commit f2ac768
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 6 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,36 +1,48 @@
# Changelog
All notable changes to this project will be documented in this file.

## [1.2.5 - 2022-12-01](https://github.com/iniznet/authcred/releases/tag/v1.2.5)

### Bug Fixes
* Fix user icon height & size

## [1.2.4 - 2022-12-01](https://github.com/iniznet/authcred/releases/tag/v1.2.4)

### Enhancements
* Change `mycred` tab to `top up` tab in settings

## [1.2.3 - 2022-12-01](https://github.com/iniznet/authcred/releases/tag/v1.2.3)

### Bug Fixes
* Fix input fields not filling the form space

## [1.2.2 - 2022-12-01](https://github.com/iniznet/authcred/releases/tag/v1.2.2)

### Bug Fixes
* Fix potential underline & color issues

* Change border of buy button from red to blue in hover
## [1.2.1 - 2022-12-01](https://github.com/iniznet/authcred/releases/tag/v1.2.1)

### Enhancements
* Change border of buy button from red to blue in hover

## [1.2.0 - 2022-12-01](https://github.com/iniznet/authcred/releases/tag/v1.2.0)

### Enhancements
* Change password shortcode & page
* Custom/dynamic amount top up shortcode & page, similary to [mycred_buy_form] shortcode
* Custom cost top up in [authcred-buy] shortcode, you can set the custom cost for specific point amount
* Change user fields library to CMB2, it's still disabled by default as it's still in development

## [1.1.0 - 2022-11-30](https://github.com/iniznet/authcred/releases/tag/v1.1.0)

### Enhancements
* Plugin updater
* Plugin settings page

## [1.0.0 - 2022-10-29](https://github.com/iniznet/authcred/releases/tag/v1.0.0)

### Initial Features

#### Shortcodes
Expand Down
2 changes: 1 addition & 1 deletion authcred.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: AuthCRED
* Plugin URI: https://github.com/iniznet/authcred
* Description: Provide simple authentication alongside mycred integration with shortcodes
* Version: 1.2.4
* Version: 1.2.5
* Requires at least: 5.8
* Requires PHP: 7.2
* Author: niznet
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "authcred",
"version": "1.2.4",
"version": "1.2.5",
"description": "AuthCRED WP Plugin.",
"scripts": {
"dev": "vite",
Expand Down
2 changes: 1 addition & 1 deletion plugin.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name" : "AuthCRED",
"version" : "1.2.4",
"version" : "1.2.5",
"download_url" : "https://github.com/iniznet/authcred/releases/download/v1.2.1/authcred-v1.2.1.zip",
"sections" : {
"description" : "Provide Authentication pages & system alongside mycred integration."
Expand Down
2 changes: 1 addition & 1 deletion src/AuthShortcode.php
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ public function authcredLogout($atts, $content = null)
public function authcredUserIcon($atts, $content = null)
{
$defaults = [
'size' => 16,
'size' => 18,
];

$args = shortcode_atts($defaults, $atts, 'authcred-user-icon');
Expand Down
4 changes: 2 additions & 2 deletions templates/partials/user-icon.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<div class="flex items-center justify-center p-2">
<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24"><path opacity="0" d="M0 0h24v24H0z"></path><path d="M12 11a4 4 0 1 0-4-4 4 4 0 0 0 4 4zm6 10a1 1 0 0 0 1-1 7 7 0 0 0-14 0 1 1 0 0 0 1 1z"></path></svg>
<div class="flex items-center justify-center p-2 h-full">
<svg xmlns="http://www.w3.org/2000/svg" width="<?= $size ?>" height="<?= $size ?>" viewBox="0 0 24 24"><path opacity="0" d="M0 0h24v24H0z"></path><path d="M12 11a4 4 0 1 0-4-4 4 4 0 0 0 4 4zm6 10a1 1 0 0 0 1-1 7 7 0 0 0-14 0 1 1 0 0 0 1 1z"></path></svg>
</div>

0 comments on commit f2ac768

Please sign in to comment.