Skip to content

Commit 384c844

Browse files
authored
Fix deprecated error in PHP8
PHP Deprecated: Required parameter $description follows optional parameter $value in /wp-content/plugins/olympus-google-fonts/admin/class-ogf-upload-fonts-screen.php on line 184
1 parent 189d08d commit 384c844

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

admin/class-ogf-upload-fonts-screen.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ protected function font_file_new_field( $id, $title, $description, $value = '' )
181181
* @param string $value title font type meta values.
182182
* @param string $description title font type description.
183183
*/
184-
protected function font_file_edit_field( $id, $title, $value = '', $description ) {
184+
protected function font_file_edit_field( $id, $title, $value = '', $description = '' ) {
185185
?>
186186
<tr class="ogf-custom-fonts-file-wrap form-field term-<?php echo esc_attr( $id ); ?>-wrap ">
187187
<th scope="row">

0 commit comments

Comments
 (0)