[wp-trac] [WordPress Trac] #43857: Show the comment / awaiting moderation message even without opt-in
WordPress Trac
noreply at wordpress.org
Sat Jan 19 12:03:47 UTC 2019
#43857: Show the comment / awaiting moderation message even without opt-in
-------------------------------------+-----------------------
Reporter: imath | Owner: (none)
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 5.1
Component: Privacy | Version: 4.9.6
Severity: normal | Resolution:
Keywords: has-patch needs-refresh | Focuses:
-------------------------------------+-----------------------
Comment (by azaozz):
To add to @pento's remarks above:
- This patch should improve the functionality of showing `unapproved`
comments to the commenter right after a comment is posted. Cookies should
not be used any more for that.
- It should not deal with (or touch) cookies or cookies consent. Comment
cookies become completely different feature.
Looking at 43857.7.diff, all parts dealing with cookies should be removed.
Also, the canonical URL doesn't need to include any query args used to
implement this functionality. Seems best to remove them in the links
template. If we do that we would also need to "fix" the URL displayed in
the browser, i.e. do the `window.history.replaceState()` from js.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43857#comment:82>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list