Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Issue with archive title

オープン
#4,056 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
php
領域
frontend

調査の方向性

inc/views/page_header.php の164行目から始め、esc_html の処理を get_the_archive_title() を呼び出している archive.php と比較してください。期待されるアーカイブタイトルの出力について、リンクされている WordPress のリファレンスを確認してください。作者アーカイブのタイトルが span マークアップをテキストとして露出させるのではなく、作者名を表示すれば完了です。

索引モデルが issue の本文から書いたものです。

説明

bug customer report
Description

When I have a child theme archive.php file contains this code
The author print as (HTML goes encoded and I see span tag directly on the screen at frontend)
Gulshan

After debugging further, I realized that problem originate due to [esc_html] used in theme file. (https://github.com/Codeinwp/neve/blob/b2ef6545be3ff498317e351070429f317c5473ff/inc/views/page_header.php#L164) function used here

It seems uneccessary. Here's how I expect
https://developer.wordpress.org/reference/functions/get_the_archive_title/#comment-1807

When I remove the esc_html in the theme file, I can see the author name properly.

Can you make such changes or suggest any better way to handle this case?
Thanks

Step-by-step reproduction instructions

.

Screenshots, screen recording, code snippet or Help Scout ticket

.

Environment info

.

Is the issue you are reporting a regression

No

主要言語
PHP
スター
307
フォーク
89
平均マージ
2日 13時間
マージ済み PR(30日)
23

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Codeinwp/neve のほかの issue

Codeinwp/neve の issue をすべて見る

似ている issue

PHP の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。