Completed
Push — develop ( b2a192...9fa1de )
by Aristeides
07:24
created
modules/tooltips/class-kirki-modules-tooltips.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -76,13 +76,13 @@
 block discarded – undo
76 76
 
77 77
 		$fields = Kirki::$fields;
78 78
 		foreach ( $fields as $field ) {
79
-			if ( isset( $field['tooltip'] ) && ! empty( $field['tooltip'] ) ) {
79
+			if ( isset( $field[ 'tooltip' ] ) && ! empty( $field[ 'tooltip' ] ) ) {
80 80
 				// Get the control ID and properly format it for the tooltips.
81
-				$id = str_replace( '[', '-', str_replace( ']', '', $field['settings'] ) );
81
+				$id = str_replace( '[', '-', str_replace( ']', '', $field[ 'settings' ] ) );
82 82
 				// Add the tooltips content.
83 83
 				$this->tooltips_content[ $id ] = array(
84 84
 					'id'      => $id,
85
-					'content' => $field['tooltip'],
85
+					'content' => $field[ 'tooltip' ],
86 86
 				);
87 87
 			}
88 88
 		}
Please login to merge, or discard this patch.