PluginProbe
BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot / 3.8.9
BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot v3.8.9
4.9.2 4.9.1 4.9.0 4.8.2 4.8.1 4.8.0 4.7.0 4.6.2 4.6.1 4.6.0 4.5.6 4.5.5 4.5.4 4.5.3 4.5.2 4.5.1 4.5.0 4.4.1 4.4.0 3.3.4 3.4.0 3.4.1 3.4.2 3.5.0 3.5.1 All 200 releases
← All changes | includes/Shortcodes/Reactions.php +2 -8 4.9.03.8.9 View file →
@@ -25,9 +25,8 @@
25 25 */
26 26 public function default_attributes() {
27 27 return [
28 28 'text' => '',
29 - 'text_tag' => 'h5',
30 29 'layout' => 'layout-1',
31 30 'happy' => true,
32 31 'happy_icon' => '',
33 32 'normal' => true,
@@ -68,9 +67,9 @@
68 67 $this->views( 'widgets/reactions-2', $args );
69 68 } elseif ( isset( $atts['layout'] ) && $atts['layout'] == 'layout-3' ) {
70 69 $this->views( 'widgets/reactions-3', $args );
71 70 } else {
72 - $this->views( 'widgets/reactions', $args );
71 + $this->views( 'widgets/reactions' );
73 72 }
74 73 }
75 74
76 75 public function view_params() {
@@ -78,16 +77,11 @@
78 77 $reactions_text = ! empty( $this->attributes['text'] ) ? $this->attributes['text'] : $this->customizer->get(
79 78 'betterdocs_post_reactions_text',
80 79 __( 'What are your Feelings', 'betterdocs' )
81 80 );
82 - $text_tag = ! empty( $this->attributes['text_tag'] ) ? $this->attributes['text_tag'] : $this->customizer->get(
83 - 'betterdocs_reactions_title_tag',
84 - 'h5'
85 - );
86 81
87 82 return [
88 83 'wrapper_attr' => $wrapper_attr,
89 - 'reactions_text' => $reactions_text,
90 - 'text_tag' => $text_tag
84 + 'reactions_text' => $reactions_text
91 85 ];
92 86 }
93 87 }