Skip to content

Commit

Permalink
1.4.0; Font Awesome 6.4 and verified for WordPress 6.4
Browse files Browse the repository at this point in the history
  • Loading branch information
joho1968 committed Nov 20, 2023
1 parent b096973 commit b1501c7
Show file tree
Hide file tree
Showing 20 changed files with 56 additions and 38 deletions.
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![Software License](https://img.shields.io/badge/License-GPL%20v2-green.svg?style=flat-square)](LICENSE) [![PHP 7.2\+](https://img.shields.io/badge/PHP-7.2-blue?style=flat-square)](https://php.net) [![PHP 7.4\+](https://img.shields.io/badge/PHP-7.4-blue?style=flat-square)](https://php.net) [![WordPress 5](https://img.shields.io/badge/WordPress-5.9-orange?style=flat-square)](https://wordpress.org)
[![Software License](https://img.shields.io/badge/License-GPL%20v2-green.svg?style=flat-square)](LICENSE) [![PHP 7.2\+](https://img.shields.io/badge/PHP-7.2-blue?style=flat-square)](https://php.net) [![PHP 7.4\+](https://img.shields.io/badge/PHP-7.4-blue?style=flat-square)](https://php.net) [![WordPress 5](https://img.shields.io/badge/WordPress-6.4-orange?style=flat-square)](https://wordpress.org)

# SCFA

Expand All @@ -18,8 +18,8 @@ A few notes about this plugin:
* You may choose to disable Font Awesome assets if you include them elsewhere
* This plugin may create entries in your PHP error log (if active)
* This plugin contains no tracking code and does not process or collect any information about the visitor
* Tested with WordPress 5.5-5.9
* Tested with PHP 7.2 and PHP 7.4
* Tested with WordPress 5.5-6.4
* Tested with PHP 7.2 and PHP 8

## Installation

Expand Down Expand Up @@ -65,6 +65,10 @@ You can replace all of the Font Awesome files in the `css/fontawesome/` sub-dire

## Changelog

### 1.4.0
* Upgraded to FontAwesome 6.4
* Tested plugin with WordPress 6.4.1

### 1.3.0
* Upgraded to FontAwesome 6.0
* Tested plugin with WordPress 5.9
Expand Down
16 changes: 12 additions & 4 deletions shortcodes-for-font-awesome/README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ Contributors: joho68, webbplatsen
Donate link: https://code.webbplatsen.net/wordpress/wordpress-shortcodes-for-font-awesome/
Tags: font awesome, fontawesome, webfont, font, icon
Requires at least: 5.5.0
Tested up to: 5.9.0
Stable tag: 1.3.0
Tested up to: 6.4
Stable tag: 1.4.0
Requires PHP: 7.2
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Expand All @@ -25,8 +25,8 @@ A few notes about this plugin:
* You may choose to disable Font Awesome assets if you include them elsewhere
* This plugin may create entries in your PHP error log (if active)
* This plugin contains no tracking code and does not process or collect any information about the visitor
* Tested with WordPress 5.5-5.9
* Tested with PHP 7.2 and PHP 7.4
* Tested with WordPress 5.5-6.4.1
* Tested with PHP 7.2 and PHP 8

== Installation ==

Expand Down Expand Up @@ -76,6 +76,10 @@ https://fontawesome.com/search?q=filter&m=free

== Changelog ==

= 1.4.0 =
* Upgraded to FontAwesome 6.4
* Tested plugin with WordPress 6.4.1

= 1.3.0 =
* Upgraded to FontAwesome 6.0
* Tested plugin with WordPress 5.9
Expand Down Expand Up @@ -106,6 +110,10 @@ https://fontawesome.com/search?q=filter&m=free

== Upgrade Notice ==

= 1.4.0 =
Simply update the plugin via wordpress.org or download and install as per the installation instructions above.

The .eot, .svg, and .woff files in the /css/webfonts/ directory of the plugin are not used by Font Awesome 6 and can be removed.
= 1.3.0 =
Simply update the plugin via wordpress.org or download and install as per the installation instructions above.

Expand Down
9 changes: 6 additions & 3 deletions shortcodes-for-font-awesome/css/fontawesome/all.min.css

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions shortcodes-for-font-awesome/css/fontawesome/brands.min.css

Large diffs are not rendered by default.

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions shortcodes-for-font-awesome/css/fontawesome/regular.min.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*!
* Font Awesome Free 6.0.0 by @fontawesome - https://fontawesome.com
* Font Awesome Free 6.4.2 by @fontawesome - https://fontawesome.com
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
* Copyright 2022 Fonticons, Inc.
* Copyright 2023 Fonticons, Inc.
*/
:host,:root{--fa-font-regular:normal 400 1em/1 "Font Awesome 6 Free"}@font-face{font-family:"Font Awesome 6 Free";font-style:normal;font-weight:400;font-display:block;src:url(../webfonts/fa-regular-400.woff2) format("woff2"),url(../webfonts/fa-regular-400.ttf) format("truetype")}.fa-regular,.far{font-family:"Font Awesome 6 Free";font-weight:400}
:host,:root{--fa-style-family-classic:"Font Awesome 6 Free";--fa-font-regular:normal 400 1em/1 "Font Awesome 6 Free"}@font-face{font-family:"Font Awesome 6 Free";font-style:normal;font-weight:400;font-display:block;src:url(../webfonts/fa-regular-400.woff2) format("woff2"),url(../webfonts/fa-regular-400.ttf) format("truetype")}.fa-regular,.far{font-weight:400}
6 changes: 3 additions & 3 deletions shortcodes-for-font-awesome/css/fontawesome/solid.min.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*!
* Font Awesome Free 6.0.0 by @fontawesome - https://fontawesome.com
* Font Awesome Free 6.4.2 by @fontawesome - https://fontawesome.com
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
* Copyright 2022 Fonticons, Inc.
* Copyright 2023 Fonticons, Inc.
*/
:host,:root{--fa-font-solid:normal 900 1em/1 "Font Awesome 6 Free"}@font-face{font-family:"Font Awesome 6 Free";font-style:normal;font-weight:900;font-display:block;src:url(../webfonts/fa-solid-900.woff2) format("woff2"),url(../webfonts/fa-solid-900.ttf) format("truetype")}.fa-solid,.fas{font-family:"Font Awesome 6 Free";font-weight:900}
:host,:root{--fa-style-family-classic:"Font Awesome 6 Free";--fa-font-solid:normal 900 1em/1 "Font Awesome 6 Free"}@font-face{font-family:"Font Awesome 6 Free";font-style:normal;font-weight:900;font-display:block;src:url(../webfonts/fa-solid-900.woff2) format("woff2"),url(../webfonts/fa-solid-900.ttf) format("truetype")}.fa-solid,.fas{font-weight:900}

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions shortcodes-for-font-awesome/css/fontawesome/v4-shims.min.css

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified shortcodes-for-font-awesome/css/webfonts/fa-brands-400.ttf
Binary file not shown.
Binary file modified shortcodes-for-font-awesome/css/webfonts/fa-brands-400.woff2
Binary file not shown.
Binary file modified shortcodes-for-font-awesome/css/webfonts/fa-regular-400.ttf
Binary file not shown.
Binary file modified shortcodes-for-font-awesome/css/webfonts/fa-regular-400.woff2
Binary file not shown.
Binary file modified shortcodes-for-font-awesome/css/webfonts/fa-solid-900.ttf
Binary file not shown.
Binary file modified shortcodes-for-font-awesome/css/webfonts/fa-solid-900.woff2
Binary file not shown.
Binary file modified shortcodes-for-font-awesome/css/webfonts/fa-v4compatibility.ttf
Binary file not shown.
Binary file modified shortcodes-for-font-awesome/css/webfonts/fa-v4compatibility.woff2
Binary file not shown.
10 changes: 5 additions & 5 deletions shortcodes-for-font-awesome/scfa.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* Plugin Name: Shortcodes for Font Awesome
* Plugin URI: https://code.webbplatsen.net/wordpress/wordpress-shortcodes-for-font-awesome/
* Description: Generate inline HTML for Font Awesome using shortcodes
* Version: 1.3.0
* Version: 1.4.0
* Author: Joaquim Homrighausen <joho@webbplatsen.se>
* Author URI: https://github.com/joho1968/
* License: GPL-2.0+
Expand All @@ -20,7 +20,7 @@
* Domain Path: /languages
*
* scfa.php (Shortcodes for Font Awesome)
* Copyright (C) 2020, 2021, 2022 Joaquim Homrighausen
* Copyright (C) 2020-2023 Joaquim Homrighausen
*
* This file is part of SCFA. SCFA is free software.
*
Expand Down Expand Up @@ -51,7 +51,7 @@

// Current plugin version.
define( 'SCFA_WORDPRESS_PLUGIN', true );
define( 'SCFA_VERSION', '1.3.0' );
define( 'SCFA_VERSION', '1.4.0' );
define( 'SCFA_REV', 1 );
define( 'SCFA_PLUGINNAME_HUMAN', 'SCFA' );
define( 'SCFA_PLUGINNAME_SLUG', 'shortcodes-for-font-awesome' );
Expand Down Expand Up @@ -94,7 +94,7 @@ public function __construct( string $version = '', string $slug = '' ) {
if ( defined( 'SCFA_VERSION' ) ) {
$this->scfa_plugin_version = SCFA_VERSION;
} else {
$this->scfa_plugin_version = '1.2.1';
$this->scfa_plugin_version = '1.4.0';
}
} else {
$this->scfa_plugin_version = $version;
Expand Down Expand Up @@ -443,7 +443,7 @@ public function scfa_admin_settings() {
'class' => 'row',
'type' => 'radio',
'options' => array (
1 => __( 'Serve local Font Awesome CSS', 'shortcodes-for-font-awesome' ),
1 => __( 'Serve local Font Awesome CSS', 'shortcodes-for-font-awesome' ) . ' ("FontAwesome Free")',
2 => __( 'Serve asset URL as CSS', 'shortcodes-for-font-awesome' ),
3 => __( 'Serve asset URL as Font Awesome CDN kit', 'shortcodes-for-font-awesome' ),
4 => __( 'None of the above, Font Awesome is activated elsewhere', 'shortcodes-for-font-awesome' ),
Expand Down

0 comments on commit b1501c7

Please sign in to comment.