[wp-trac] [WordPress Trac] #46286: "Silence is golden" scenarios should return a 404 HTTP header
WordPress Trac
noreply at wordpress.org
Wed Apr 17 14:22:31 UTC 2019
#46286: "Silence is golden" scenarios should return a 404 HTTP header
--------------------------------------+-----------------------------
Reporter: jonoaldersonwp | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: General | Version:
Severity: minor | Resolution:
Keywords: good-first-bug has-patch | Focuses:
--------------------------------------+-----------------------------
Comment (by santilinwp):
Hello, I would suggest changing all templates with the "silence is golden"
sentence and adding a call to a function like:
wp_silence_is_golden();
that would handle the logic of redirecting to the 404 page of the current
theme.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46286#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list