Skip to content

Commit

Permalink
PHP 7.4 での Deprecated エラーが出るのに対応
Browse files Browse the repository at this point in the history
  • Loading branch information
yhira committed Mar 4, 2020
1 parent e2facfd commit c4eeabe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions.php
Expand Up @@ -373,7 +373,7 @@ function get_the_keywores(){
foreach($categories as $category):
array_push( $category_names, $category -> cat_name);
endforeach ;
$keywords = implode($category_names, ',');
$keywords = implode(',', $category_names);
}
return $keywords;
}
Expand Down

0 comments on commit c4eeabe

Please sign in to comment.