Skip to content

Commit

Permalink
1.8.3
Browse files Browse the repository at this point in the history
  • Loading branch information
webmandesign committed Nov 25, 2019
1 parent c4245c2 commit 8fc44ef
Show file tree
Hide file tree
Showing 6 changed files with 37 additions and 11 deletions.
7 changes: 5 additions & 2 deletions assets/css/starter.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @copyright 2015 WebMan - Oliver Juhas
*
* @since 1.0.0
* @version 1.8.0
* @version 1.8.3
*/


Expand Down Expand Up @@ -2062,7 +2062,10 @@
}
.infinite-loader .spinner > div > div { width: 1.62em !important; }

.infinite-wrap { clear: both; }
.infinite-wrap {
clear: both;
width: 100%;
}

/* Related posts */

Expand Down
16 changes: 16 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# Receptar Changelog

## 1.8.3

* **Update**: Adding `nofollow` attribute to default site info links
* **Fix**: Removing post excerpt wrapper when excerpt is empty
* **Fix**: Jetpack infinite scroll layout

### Files changed:

changelog.md
readme.txt
style.css
assets/css/starter.css
inc/setup.php
template-parts/footer/site-info.php


## 1.8.2

* **Add**: Adding WhatsApp and Google social icon
Expand Down
11 changes: 9 additions & 2 deletions inc/setup.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* @copyright 2015 WebMan - Oliver Juhas
*
* @since 1.0.0
* @version 1.8.2
* @version 1.8.3
*
* CONTENT:
* - 10) Actions and filters
Expand Down Expand Up @@ -1654,13 +1654,20 @@ function receptar_excerpt( $excerpt = '' ) {
* Line breaks are required for proper functionality of `wpautop()` later on.
*
* @since 1.8.0
* @version 1.8.0
* @version 1.8.3
*
* @param string $post_excerpt
*/
if ( ! function_exists( 'receptar_wrap_excerpt' ) ) {
function receptar_wrap_excerpt( $post_excerpt = '' ) {

// Requirements check

if ( empty( $post_excerpt ) ) {
return $post_excerpt;
}


// Output

return '<div class="entry-summary">' . PHP_EOL . $post_excerpt . PHP_EOL . '</div>';
Expand Down
6 changes: 3 additions & 3 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Contributors: webmandesign
Tags: two-columns, four-columns, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-image-header, featured-images, flexible-header, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready, grid-layout, blog, food-and-drink, photography
Requires at least: 4.7.0
Tested up to: 5.2
Stable tag: 1.8.2
Stable tag: 1.8.3
License: GNU General Public License v3
License URI: https://www.gnu.org/licenses/gpl-3.0.html

Expand Down Expand Up @@ -37,8 +37,8 @@ Please see `changelog.md` file.

== Upgrade Notice ==

= 1.8.2 =
Implementing WordPress 5.2 code updates, adding WhatsApp and Google social icon, fixing CSS variables issue in non-compatible web browsers.
= 1.8.3 =
Adding `nofollow` attribute to default site info links, removing post excerpt wrapper when excerpt is empty, fixing Jetpack infinite scroll layout.


== Resources ==
Expand Down
2 changes: 1 addition & 1 deletion style.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Theme Name: Receptar
Theme URI: https://www.webmandesign.eu/portfolio/receptar-wordpress-theme/
Author: WebMan Design
Author URI: https://www.webmandesign.eu/
Version: 1.8.2
Version: 1.8.3
Text Domain: receptar
Domain Path: /languages
License: GNU General Public License v3
Expand Down
6 changes: 3 additions & 3 deletions template-parts/footer/site-info.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* @copyright WebMan Design, Oliver Juhas
*
* @since 1.4.0
* @version 1.7.0
* @version 1.8.3
*/


Expand Down Expand Up @@ -45,8 +45,8 @@

printf(
esc_html_x( 'Using %1$s %2$s theme.', '1: theme name, 2: linked "WordPress" word.', 'receptar' ),
'<a href="' . esc_url( wp_get_theme( 'receptar' )->get( 'ThemeURI' ) ) . '"><strong>' . wp_get_theme( 'receptar' )->get( 'Name' ) . '</strong></a>',
'<a href="' . esc_url( __( 'https://wordpress.org/', 'receptar' ) ) . '">WordPress</a>'
'<a rel="nofollow" href="' . esc_url( wp_get_theme( 'receptar' )->get( 'ThemeURI' ) ) . '"><strong>' . wp_get_theme( 'receptar' )->get( 'Name' ) . '</strong></a>',
'<a rel="nofollow" href="' . esc_url( __( 'https://wordpress.org/', 'receptar' ) ) . '">WordPress</a>'
);

if ( function_exists( 'the_privacy_policy_link' ) ) {
Expand Down

0 comments on commit 8fc44ef

Please sign in to comment.