Issue with archive title
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
inc/views/page_header.php の164行目から始め、esc_html の処理を get_the_archive_title() を呼び出している archive.php と比較してください。期待されるアーカイブタイトルの出力について、リンクされている WordPress のリファレンスを確認してください。作者アーカイブのタイトルが span マークアップをテキストとして露出させるのではなく、作者名を表示すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
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
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Codeinwp/neve のほかの issue
-
bug-report bug-report-triage crash-report
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
メンテナーはふだん 1 日以内に返信
-
Duplicate H1: hidden screen-reader title H1 rendered alongside custom layout H1 when page title is hidden対応中かも @HardeepAsrani が 15 日前に担当しました。 オープンbug-report bug-report-triage customer report
難易度 4/5 1〜2日 初心者へのやさしさ 48/100
Codeinwp/neve#4652 · コメント 4 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Enhance home screen and front page customization options in Neve Free対応中かも @faisalahammad が 6 日前に担当しました。 オープンfeature-request-triage
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
メンテナーはふだん 1 日以内に返信
-
Add basic Social Icons component to free Header and Footer builder対応中かも @faisalahammad が 6 日前に担当しました。 オープンfeature-request-triage
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
メンテナーはふだん 1 日以内に返信
-
customer report feature-request-triage
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
メンテナーはふだん 1 日以内に返信
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
FriendsOfFlarum/badges#20 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 76/100
majorsilence/Reporting#493 ·
メンテナーはふだん 1 日以内に返信
-
Bug
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
Automattic/safe-publish#764 ·
メンテナーはふだん 1 日以内に返信
-
sync-en
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
sync-en
難易度 1/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信