commit
a33bf91c15
|
|
@ -81,7 +81,7 @@
|
|||
** Fixes **
|
||||
|
||||
- Updates WooCommerce templates to current versions.
|
||||
- Corrects mis-applied version numbers in WooCommerce templates.
|
||||
- Corrects misapplied version numbers in WooCommerce templates.
|
||||
- Reverts WooCommerce Translations to woocommerce language domain.
|
||||
- Updates understrap.pot file to include several translation strings that had not been added.
|
||||
- Fixes spelling and grammar errors in the CHANGELOG.md.
|
||||
|
|
@ -135,7 +135,7 @@ This is a maintenance release incorporating many commits including code formatti
|
|||
- Removes vendor from paths
|
||||
- Removes gulp-touch-fd
|
||||
- Removes jquery.slim.min.js
|
||||
- Removes undescores-for-npm
|
||||
- Removes underscores-for-npm
|
||||
- Removes Bower
|
||||
|
||||
---
|
||||
|
|
@ -384,7 +384,7 @@ Clean rebuild
|
|||
## Release 0.8.5 July 26th 2018
|
||||
- Update to Bootstrap 4.1.3
|
||||
|
||||
## Release 0.8.4 July 16th 2018 Maintenace Release:
|
||||
## Release 0.8.4 July 16th 2018 Maintenance Release:
|
||||
- Update to Bootstrap 4.1.2
|
||||
- fixing sidebar.php problem
|
||||
- Revert to Gulp 3.x support
|
||||
|
|
@ -413,7 +413,7 @@ Clean rebuild
|
|||
## Release 0.8.2 April 11th 2018
|
||||
- Update to Bootstrap 4.1
|
||||
- Adding CONTRIBUTING.md and ISSUE_TEMPLATE.md - Thx @Thomas-A-Reinert
|
||||
- Adding empty JavaScripot file into build process for adding own JS more easily - Thx @Thomas-A-Reinert
|
||||
- Adding empty JavaScript file into build process for adding own JS more easily - Thx @Thomas-A-Reinert
|
||||
- WooCommerce update and cleanup - Thx @ZacharyElkins
|
||||
- Adding SASS source map functionality - Thx @axlright
|
||||
- Cleanup - Thx @axlright
|
||||
|
|
@ -450,7 +450,7 @@ Clean rebuild
|
|||
|
||||
## Release 0.7.0 December 29th 2017
|
||||
- Update to Bootstrap 4 Beta 3
|
||||
- Create rigth-sidebar-check.php - Thx @Vishal-Deshpande
|
||||
- Create right-sidebar-check.php - Thx @Vishal-Deshpande
|
||||
- Fixing container type customizer setting - Thx @0dp
|
||||
- Fixing comments.php - Thx @Vishal-Deshpande
|
||||
|
||||
|
|
@ -518,7 +518,7 @@ Clean rebuild
|
|||
- WooCommerce 3.1 compatibility update - Thx @typeplus
|
||||
- WooCommerce Bootstrap buttons - Thx @yeszao
|
||||
- theme-settings.php update - Thx @oralunal
|
||||
- Update responisve meta tags for Bootstrap 4 - Thx @chuckreynolds
|
||||
- Update responsive meta tags for Bootstrap 4 - Thx @chuckreynolds
|
||||
|
||||
|
||||
## Release 0.6.2 June 7h 2017
|
||||
|
|
@ -615,7 +615,7 @@ Clean rebuild
|
|||
- General bug fixing
|
||||
- Fixing live preview for customizer
|
||||
- Font Awesome update
|
||||
- Udating all npm dependencies
|
||||
- Updating all npm dependencies
|
||||
- ARIA roles update
|
||||
- Updating hamburger icon behavior
|
||||
|
||||
|
|
@ -623,7 +623,7 @@ Clean rebuild
|
|||
- Update Owl Carousel to 2.2.0
|
||||
- Update Font Awesome to 4.7.0
|
||||
- Greek language file added - Thx @stef-k
|
||||
- Portugese language file added - Thx @jfig
|
||||
- Portuguese language file added - Thx @jfig
|
||||
- Adding vertical-one-page template for landingpages - Thx @stef-k
|
||||
- Making all theme functions pluggable to allow child themes to overwrite ´em
|
||||
- French language file added - Thx @tchama
|
||||
|
|
@ -633,7 +633,7 @@ Clean rebuild
|
|||
- Basic WooCommerce templates added
|
||||
- Fixing "Gulp dist" Task
|
||||
- Adding masonry layout option to optimizer - Thx @stef-k
|
||||
- Adding fluid/fixed conatiner option to optimizer
|
||||
- Adding fluid/fixed container option to optimizer
|
||||
|
||||
|
||||
## 0.4.9 Oct. 25th 2016
|
||||
|
|
@ -646,7 +646,7 @@ Clean rebuild
|
|||
|
||||
|
||||
## 0.4.8 Oct. 10th 2016
|
||||
- Removing Bower and replace the dependency managment with npm
|
||||
- Removing Bower and replace the dependency management with npm
|
||||
- Update to Bootstrap 4 Alpha 4
|
||||
- Optimizing WooCommerce loop - Thx @typeplus
|
||||
- Updating all dependencies
|
||||
|
|
@ -732,7 +732,7 @@ Clean rebuild
|
|||
|
||||
## 0.2.9 Mar. 10th 2015
|
||||
- Adding a new theme customizer option. It lets you add a code snippet right before the closing </body> tag.
|
||||
For example for Google Analytics, Google Tag Mananger, Pingdom etc. Just copy and past your code to the input field and save the setting.
|
||||
For example for Google Analytics, Google Tag Manager, Pingdom etc. Just copy and past your code to the input field and save the setting.
|
||||
So you don´t have to edit the theme source file´s directly, and your theme stay´s updateable
|
||||
|
||||
## 0.2.8 Feb. 6th 2015
|
||||
|
|
@ -748,6 +748,6 @@ Clean rebuild
|
|||
|
||||
## 0.2 Dec. 22th 2014
|
||||
- Adding Jasny Off-Canvas nav and Owl.Carousel Slider script
|
||||
- Enqueue scipts and styled dynamically
|
||||
- Enqueue scripts and styled dynamically
|
||||
|
||||
## 0.1 Dec. 10th 2014 - First commit
|
||||
|
|
|
|||
|
|
@ -162,3 +162,17 @@ jobs:
|
|||
uses: stefanzweifel/git-auto-commit-action@v5
|
||||
with:
|
||||
commit_message: Update PHPMD basefile
|
||||
branch: ${{ github.head_ref }}
|
||||
|
||||
typos-check:
|
||||
|
||||
name: 'Typos check'
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Search for misspellings
|
||||
uses: crate-ci/typos@master
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@
|
|||
|
||||
# Ignore all files and directories starting with . or ~ or ._ or ending with ~
|
||||
.*
|
||||
!.typos.toml
|
||||
~*
|
||||
*~
|
||||
._*
|
||||
|
|
@ -27,7 +28,7 @@
|
|||
!.github
|
||||
!.gitignore
|
||||
|
||||
# Ignore all files with .lock extentions
|
||||
# Ignore all files with .lock extensions
|
||||
*.lock
|
||||
# but track
|
||||
!composer.lock
|
||||
|
|
|
|||
|
|
@ -0,0 +1,12 @@
|
|||
[files]
|
||||
extend-exclude = [
|
||||
"css/",
|
||||
"fonts/",
|
||||
"js/*.min.js",
|
||||
"js/*.map",
|
||||
"js/theme*.js",
|
||||
"languages/",
|
||||
"src/sass/assets/bootstrap4/",
|
||||
"src/sass/assets/bootstrap5/",
|
||||
"src/sass/assets/fontawesome/"
|
||||
]
|
||||
|
|
@ -63,7 +63,7 @@ if ( ! function_exists( 'understrap_generate_color_palette' ) ) {
|
|||
}
|
||||
|
||||
/**
|
||||
* Filters the default bootstrap color palette so it can be overriden by child themes or plugins when we add theme support for editor-color-palette.
|
||||
* Filters the default bootstrap color palette so it can be overridden by child themes or plugins when we add theme support for editor-color-palette.
|
||||
*
|
||||
* @since 1.0.0
|
||||
*
|
||||
|
|
|
|||
|
|
@ -119,7 +119,7 @@ if ( ! class_exists( 'Understrap_WP_Bootstrap_Navwalker' ) ) {
|
|||
* NOTE: linkmod and icon class arrays are passed by reference and
|
||||
* are maybe modified before being used later in this function.
|
||||
*/
|
||||
$classes = self::seporate_linkmods_and_icons_from_classes( $classes, $linkmod_classes, $icon_classes, $depth );
|
||||
$classes = self::separate_linkmods_and_icons_from_classes( $classes, $linkmod_classes, $icon_classes, $depth );
|
||||
|
||||
// Join any icon classes plucked from $classes into a string.
|
||||
$icon_class_string = join( ' ', $icon_classes );
|
||||
|
|
@ -407,7 +407,7 @@ if ( ! class_exists( 'Understrap_WP_Bootstrap_Navwalker' ) ) {
|
|||
*
|
||||
* @return array $classes a maybe modified array of classnames.
|
||||
*/
|
||||
private function seporate_linkmods_and_icons_from_classes( $classes, &$linkmod_classes, &$icon_classes, $depth ) {
|
||||
private function separate_linkmods_and_icons_from_classes( $classes, &$linkmod_classes, &$icon_classes, $depth ) {
|
||||
// Loop through $classes array to find linkmod or icon classes.
|
||||
foreach ( $classes as $key => $class ) {
|
||||
// If any special classes are found, store the class in it's
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@ add_action( 'wp_enqueue_scripts', 'understrap_scripts' );
|
|||
|
||||
if ( ! function_exists( 'understrap_offcanvas_admin_bar_inline_styles' ) ) {
|
||||
/**
|
||||
* Add inline styles for the offcanvas component if the admin bar is visibile.
|
||||
* Add inline styles for the offcanvas component if the admin bar is visible.
|
||||
*
|
||||
* Fixes that the offcanvas close icon is hidden behind the admin bar.
|
||||
*
|
||||
|
|
|
|||
|
|
@ -127,7 +127,7 @@ if ( ! function_exists( 'understrap_default_body_attributes' ) ) {
|
|||
}
|
||||
add_filter( 'understrap_body_attributes', 'understrap_default_body_attributes' );
|
||||
|
||||
// Escapes all occurances of 'the_archive_description'.
|
||||
// Escapes all occurrences of 'the_archive_description'.
|
||||
add_filter( 'get_the_archive_description', 'understrap_escape_the_archive_description' );
|
||||
|
||||
if ( ! function_exists( 'understrap_escape_the_archive_description' ) ) {
|
||||
|
|
@ -150,10 +150,10 @@ if ( ! function_exists( 'understrap_escape_the_archive_description' ) ) {
|
|||
}
|
||||
} // End of if function_exists( 'understrap_escape_the_archive_description' ).
|
||||
|
||||
// Escapes all occurances of 'the_title()' and 'get_the_title()'.
|
||||
// Escapes all occurrences of 'the_title()' and 'get_the_title()'.
|
||||
add_filter( 'the_title', 'understrap_kses_title' );
|
||||
|
||||
// Escapes all occurances of 'the_archive_title' and 'get_the_archive_title()'.
|
||||
// Escapes all occurrences of 'the_archive_title' and 'get_the_archive_title()'.
|
||||
add_filter( 'get_the_archive_title', 'understrap_kses_title' );
|
||||
|
||||
if ( ! function_exists( 'understrap_kses_title' ) ) {
|
||||
|
|
|
|||
|
|
@ -181,7 +181,7 @@ if ( ! function_exists( 'understrap_wc_form_field_radio' ) ) {
|
|||
* If `$args['label']` is set a `<label>` tag is prepended to the radio
|
||||
* fields. `$args['label_class']` is used for the class attribute of this
|
||||
* tag and the class attribute of the actual input labels. Hence, we must
|
||||
* remove the first occurance of the label class added via
|
||||
* remove the first occurrence of the label class added via
|
||||
* `understrap_wc_form_field_args()` that is meant for input labels only.
|
||||
*
|
||||
* @param string $field The field's HTML incl. the wrapper element.
|
||||
|
|
@ -201,7 +201,7 @@ if ( ! function_exists( 'understrap_wc_form_field_radio' ) ) {
|
|||
$label_class = 'form-check-label';
|
||||
}
|
||||
|
||||
// Remove the first occurance of the label class if neccessary.
|
||||
// Remove the first occurrence of the label class if necessary.
|
||||
if ( isset( $args['label'] ) && isset( $args['label_class'] ) ) {
|
||||
$strpos = strpos( $field, $label_class );
|
||||
if ( false !== $strpos ) {
|
||||
|
|
|
|||
|
|
@ -99,7 +99,7 @@
|
|||
|
||||
<!--
|
||||
Exclude checking for shortened URLs in Bootstrap's js. files.
|
||||
Also exlude theme.js which includes bootstrap.js.
|
||||
Also exclude theme.js which includes bootstrap.js.
|
||||
-->
|
||||
<rule ref="WPThemeReview.Privacy.ShortenedURLs.Found">
|
||||
<exclude-pattern>/js/theme*\.js</exclude-pattern>
|
||||
|
|
|
|||
|
|
@ -55,5 +55,5 @@ parameters:
|
|||
- '#Function understrap_tags_list\(\) has no return type specified.#'
|
||||
- '#Function understrap_comments_popup_link\(\) has no return type specified.#'
|
||||
- '#Function understrap_offcanvas_admin_bar_inline_styles\(\) has no return type specified.#'
|
||||
# temorary:
|
||||
# temporary:
|
||||
- '#Parameter \#2 ...\$values of function sprintf expects bool\|float\|int\|string\|null, string\|void given.#'
|
||||
|
|
|
|||
Loading…
Reference in New Issue