Skip to content

Commit

Permalink
プロフィールボックスのディスクリプションのデフォルト値を設定
Browse files Browse the repository at this point in the history
  • Loading branch information
yhira committed Mar 22, 2024
1 parent 960602d commit 4131ed2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/html-forms.php
Expand Up @@ -1421,6 +1421,7 @@ function generate_widget_entry_card_date($prefix, $post_id = null){?>
//プロフィールボックス生成関数
if ( !function_exists( 'generate_author_box_tag' ) ):
function generate_author_box_tag($id = null, $label = null, $is_image_circle = 0){
$description = '';
$user_id = get_the_author_meta( 'ID' );
if (!$user_id || !is_singular()) {
$user_id = get_sns_default_follow_user();
Expand Down

0 comments on commit 4131ed2

Please sign in to comment.