PluginProbe
GiveWP – Donation Plugin and Fundraising Platform / 4.16.9
GiveWP – Donation Plugin and Fundraising Platform v4.16.9
4.16.9 4.16.8.1 4.16.8 4.16.7.2 4.16.7.1 4.16.7 4.16.6.1 4.16.6 4.16.5.1 4.16.5 4.16.4 4.16.3 4.16.2 4.16.1 4.16.0 4.15.5 4.15.4 4.15.3 4.15.2 4.15.1 4.15.0 2.3.0 2.3.1 2.3.2 2.30.0 All 255 releases
← All changes | includes/class-give-tooltips.php +4 -4 2.3.04.16.9 View file →
@@ -4,9 +4,9 @@
4 4 * Class for managing tooltips
5 5 *
6 6 * @package Give
7 7 * @subpackage Classes/Give_Tooltips
8 - * @copyright Copyright (c) 2017, WordImpress
8 + * @copyright Copyright (c) 2017, GiveWP
9 9 * @license https://opensource.org/licenses/gpl-license GNU Public License
10 10 * @since 2.0
11 11 */
12 12 class Give_Tooltips {
@@ -117,9 +117,9 @@
117 117 // Set label.
118 118 $args['attributes']['aria-label'] = $args['label'];
119 119
120 120 // Set classes.
121 - $args['attributes']['class'] = ! empty( $args['attributes']['class'] ) ? $args['attributes']['class'] : '';
121 + $args['attributes']['class'] = ! empty( $args['attributes']['class'] ) ? $args['attributes']['class'] : '';
122 122 $args['attributes']['class'] .= " {$tooltip_pos[ $args['position'] ]}";
123 123 $args['attributes']['class'] .= ! empty( $args['status'] ) ? " {$tooltip_status[ $args['status'] ]}" : '';
124 124 $args['attributes']['class'] .= ! empty( $args['size'] ) ? " {$tooltip_size[ $args['size'] ]}" : '';
125 125 $args['attributes']['class'] .= $args['show_always'] ? ' hint--always' : '';
@@ -124,9 +124,9 @@
124 124 $args['attributes']['class'] .= ! empty( $args['size'] ) ? " {$tooltip_size[ $args['size'] ]}" : '';
125 125 $args['attributes']['class'] .= $args['show_always'] ? ' hint--always' : '';
126 126 $args['attributes']['class'] .= $args['round_edges'] ? ' hint--rounded' : '';
127 127 $args['attributes']['class'] .= $args['animate'] ? ' hint--bounce' : ' hint--no-animate';
128 - $args['attributes']['class'] = trim( $args['attributes']['class'] );
128 + $args['attributes']['class'] = trim( $args['attributes']['class'] );
129 129
130 130 // Set link attribute in tooltip has anchor tag.
131 131 if ( 'a' === $args['tag'] && ! empty( $args['link'] ) ) {
132 132 $args['attributes']['href'] = esc_url( $args['link'] );
@@ -196,5 +196,5 @@
196 196 $tooltip_markup = $this->render_span( $args );
197 197
198 198 return $tooltip_markup;
199 199 }
200 -}
200 +}