@@ -76,13 +76,13 @@ |
||
| 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 | } |