Automattic / Automattic/jetpack

Contact Form: Akismet uses subject before token replacement

Open
#841 2 comments 0 reactions 0 assignees View on GitHub
[Feature] Forms [Pri] Low [Status] Proposal [Status] Stale Bug
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

The subject is passed to Akismet and saved to post meta (to `_feedback_akismet_values`) before tokens in the subject are replaced by form values.

Contributor guide

Open the contributing guide

Research direction

Trace the Contact Form handling that sends subjects to Akismet and saves `_feedback_akismet_values`; start by finding where subject tokens are replaced relative to those operations. Done means both Akismet and the saved post meta use the subject after replacement, with the existing behavior verified by the relevant tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.