Simple Author Box - Version 2.48

Version Description

  • 2022-04-14
  • Fixed author box showing on all post types in some cases
  • We messed up v2.46 and 2.47 - sorry :(
Download this release

Release Info

Developer WebFactory
Plugin Icon 128x128 Simple Author Box
Version 2.48
Comparing to
See all releases

Code changes from version 2.47 to 2.48

Files changed (3) hide show
  1. inc/functions.php +3 -1
  2. readme.txt +5 -4
  3. simple-author-box.php +3 -3
inc/functions.php CHANGED
@@ -13,7 +13,9 @@ if ( ! function_exists( 'wpsabox_author_box' ) ) {
13
 
14
  function wpsabox_author_box( $saboxmeta = null, $user_id = null) {
15
  global $post;
16
- $show = (is_single() && isset($post->post_type) && $post->post_type == 'post') || is_author() || (is_archive() && 1 != $this->options['sab_hide_on_archive']);
 
 
17
 
18
  /**
19
  * Hook: sabox_check_if_show.
13
 
14
  function wpsabox_author_box( $saboxmeta = null, $user_id = null) {
15
  global $post;
16
+ $sabox_options = Simple_Author_Box_Helper::get_option( 'saboxplugin_options' );
17
+
18
+ $show = (is_single() && isset($post->post_type) && $post->post_type == 'post') || is_author() || (is_archive() && 1 != $sabox_options['sab_hide_on_archive']);
19
 
20
  /**
21
  * Hook: sabox_check_if_show.
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: WebFactory
3
  Tags: author box, responsive author box, author profile fields, author social icons, author bio, author description, author profile, post author, guest author, guest posts, guest author box, block
4
  Requires at least: 4.6
5
  Requires PHP: 5.6
6
- Tested up to: 5.9
7
- Stable tag: 2.47
8
  License: GPLv3 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -48,9 +48,10 @@ Add a responsive author box with social icons to any post. Great author box for
48
 
49
 
50
  == Changelog ==
51
- = 2.47 =
52
- * 2022-04-13
53
  * Fixed author box showing on all post types in some cases
 
54
 
55
  = 2.45 =
56
  * 2021-11-28
3
  Tags: author box, responsive author box, author profile fields, author social icons, author bio, author description, author profile, post author, guest author, guest posts, guest author box, block
4
  Requires at least: 4.6
5
  Requires PHP: 5.6
6
+ Tested up to: 6.1
7
+ Stable tag: 2.48
8
  License: GPLv3 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
48
 
49
 
50
  == Changelog ==
51
+ = 2.48 =
52
+ * 2022-04-14
53
  * Fixed author box showing on all post types in some cases
54
+ * We messed up v2.46 and 2.47 - sorry :(
55
 
56
  = 2.45 =
57
  * 2021-11-28
simple-author-box.php CHANGED
@@ -3,20 +3,20 @@
3
  * Plugin Name: Simple Author Box
4
  * Plugin URI: https://wpauthorbox.com/
5
  * Description: Adds a responsive author box with social icons on any post.
6
- * Version: 2.47
7
  * Author: WebFactory Ltd
8
  * Author URI: https://www.webfactoryltd.com/
9
  * Requires: 4.6
10
  * License: GPLv3 or later
11
  * License URI: http://www.gnu.org/licenses/gpl-3.0.html
12
  * Requires PHP: 5.6
13
- * Tested up to: 5.9
14
 
15
  *
16
  * Copyright 2014-2017 Tiguan office@tiguandesign.com
17
  * Copyright 2017-2019 MachoThemes office@machothemes.com
18
  * Copyright 2019 GreenTreeLabs diego@greentreelabs.net
19
- * Copyright 2019-2021 WebFactory Ltd support@webfactoryltd.com
20
  *
21
  * This program is free software; you can redistribute it and/or modify
22
  * it under the terms of the GNU General Public License, version 3, as
3
  * Plugin Name: Simple Author Box
4
  * Plugin URI: https://wpauthorbox.com/
5
  * Description: Adds a responsive author box with social icons on any post.
6
+ * Version: 2.48
7
  * Author: WebFactory Ltd
8
  * Author URI: https://www.webfactoryltd.com/
9
  * Requires: 4.6
10
  * License: GPLv3 or later
11
  * License URI: http://www.gnu.org/licenses/gpl-3.0.html
12
  * Requires PHP: 5.6
13
+ * Tested up to: 6.0
14
 
15
  *
16
  * Copyright 2014-2017 Tiguan office@tiguandesign.com
17
  * Copyright 2017-2019 MachoThemes office@machothemes.com
18
  * Copyright 2019 GreenTreeLabs diego@greentreelabs.net
19
+ * Copyright 2019-2022 WebFactory Ltd support@webfactoryltd.com
20
  *
21
  * This program is free software; you can redistribute it and/or modify
22
  * it under the terms of the GNU General Public License, version 3, as