Skip to content

Commit

Permalink
プロフィール情報が未入力の時、メッセージのリンクをクリックするとページがNot Foundになる不具合修正
Browse files Browse the repository at this point in the history
  • Loading branch information
yhira committed Dec 26, 2023
1 parent 82b7e7e commit 22cb239
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/html-forms.php
Expand Up @@ -1502,7 +1502,7 @@ function generate_author_box_tag($id = null, $label = null, $is_image_circle = 0
}

} elseif (is_user_logged_in()) {
echo __( 'プロフィール内容は管理画面から変更可能です→', THEME_NAME ).'<a href="/wp-admin/user-edit.php?user_id='.get_the_author_meta( 'ID' ).'">'.__( 'プロフィール設定画面', THEME_NAME ).'</a><br>'.__( '※このメッセージは、ログインユーザーにしか表示されません。', THEME_NAME );
echo __( 'プロフィール内容は管理画面から変更可能です→', THEME_NAME ).'<a href="' . home_url() . '/wp-admin/user-edit.php?user_id='.get_the_author_meta( 'ID' ).'">'.__( 'プロフィール設定画面', THEME_NAME ).'</a><br>'.__( '※このメッセージは、ログインユーザーにしか表示されません。', THEME_NAME );
}
?>

Expand Down

0 comments on commit 22cb239

Please sign in to comment.