Investigate unresolved proxy, migration, cookie/500 and intermittent editing failures
Maintainer thường phản hồi trong vòng 1 ngày
@superdav42 đang làm issue này rồi.
Từ ngày 14/10/2026.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
What
Record a current-version result for each unresolved historical failure and implement only defects established by accessible controlled reproduction; keep evidence gaps explicit.
Why and current-code evidence
These reports remain unverified on current SCE: enabling Cloudflare proxy hides the edit UI; a server migration with changed W3TC/Cleantalk settings leaves controls hidden; a PHP 8/WP 6 fatal report supplies only the thrown-file location; a WP 5.5.1 report repeatedly stops working. No current forum reproduction or full fatal stack is available. Existing source still derives AJAX scheme from is_ssl and depends on cookie/login-gated enqueue plus window-load initialization. Those are investigation targets, not proven root causes. No fix commit can be reliably mapped to these reports.
Also check the 2021 trusted-commenter re-moderation report attributed only tentatively to Akismet. The generic check_comment re-moderation defect was addressed in 3.0.21 and current includes/Ajax.php:269-284 bypasses the ordinary moderation options for previously approved comments. That does not prove the Akismet-specific interaction is fixed. Verify current Akismet/version behavior before attributing it, preserve legitimate spam/disallowed-content decisions, and do not disable spam filtering as a blanket fix.
Source support threads
- https://wordpress.org/support/topic/not-working-through-cloudflare/
- https://wordpress.org/support/topic/edit-link-is-not-unhiding-after-site-migration/
- https://wordpress.org/support/topic/critical-error-354/
- https://wordpress.org/support/topic/sce-stopped-working-wp-version-5-5-1/
- https://wordpress.org/support/topic/sce-clashing-with-akismet/
Pre-flight
- Memory recall: simple-comment-editing WordPress support unresolved bugs issues — no relevant hits.
- Discovery pass: all available GitHub issues/PRs checked, code history reviewed, scoped prework discovery had no recent collisions; PR #57 overlaps translation admin/POT only. Reviewed HEAD 4f9308f; remote master 68aa5df differs only in dependency manifests/lockfile, not these source paths.
- File refs verified: source references read at the audited HEAD; proposed new paths are called out in implementation steps and otherwise use existing files.
- Tier: standard — compatibility reproduction needed; not yet an implementation contract.
- Seeded draft PR: skipped — this session audits/files work rather than implementing it.
Origin
- Created: 2026-10-14 by AI interactive support audit, directed by repository maintainer.
- Target repository: Ultimate-Multisite/simple-comment-editing.
- Runtime verification: NOT RUN in the audit. Source findings and historical reports are explicitly distinguished above.
- Dispatch: investigation only; not automatically dispatched because current reproduction/access and an exact fix are missing.
How
Files to Modify
EDIT: simple-comment-editing.phpEDIT: includes/Functions.phpEDIT: includes/Ajax.phpEDIT: src/js/comment-editing/editing.jsEDIT: src/js/SendCommand.jsEDIT: README.mdEDIT: readme.txt
Implementation Steps
- Refresh the default branch and confirm the source premise and existing issue/PR deduplication before editing.
- Build a matrix with current SCE, native theme controls, logged-in/guest submission, proxy SSL and cache/delay settings using already available environments. Examine AJAX scheme/status/content type, nonce age, cookie hash/domain/path, script dependency/initialization state and full server exception. Isolate one variable at a time; do not bypass anti-spam or access the historical reporters’ sites. Deduplicate proven late-initialization/error-envelope defects with the corresponding implementation issues. Exact defect and fix files are not yet knowable until reproduction; update scope before any implementation. If access or evidence is missing, retain the issue as an investigation with precise wake conditions rather than asserting resolved.
- Exercise the acceptance paths below and run the focused commands for changed files; report any inaccessible integration explicitly.
Complete Write Surface
- Callers/readers:
simple-comment-editing.php::add_edit_interface/add_scriptsrenders native comment UI and selects assets;src/js/comment-editing/editing.jsinitializes controls and callssrc/js/SendCommand.js; settings readers useincludes/Admin/Tabs/Settings.php. Documentation-only tasks cite these as read-only references. - Writers/mutation paths:
includes/Ajax.php::ajax_save_comment/ajax_delete_comment,includes/WooCommerce.php::save_woocommerce_rating_fields, andincludes/Options.php::update_optionsare existing mutation paths. Change only those in Files Scope when the issue requires it. Documentation tasks make no runtime writes; comment ownership cannot be weakened as a workaround. - Existing verification/tests:
package.jsondefines lint/build;composer.json,phpcs.xml.distandphpstan.neondefine PHP gates. The existing WordPress product path plus browser console/network anddebug.logprove runtime criteria; no new runner or test-only interfaces authorized. - Schemas/config:
includes/Options.phpownssce_optionsdefaults/sanitization;includes/Ajax.phpandincludes/WooCommerce.phpuse native comment fields/comment metadata. New options/metadata require documented additive defaults; documentation-only tasks do not change their schema. - Generated/deployed mirrors:
webpack.config.jsproducesdist/sce-editing.jsanddist/sce-frontend.cssfrom source. Rebuild when scoped JS/SCSS changes; never hand-edit minified output. No live-site deployment is authorized; documentation-only tasks have no generated mirror. - Migrations/backfills:
includes/Options.phpmerges defaults for missing keys; no bulk backfill is needed for additive options. Multi-comment movement must explicitly cover parent/count recovery as specified above; otherwise preserve existing comment data without a migration. - Cleanup/rollback paths:
uninstall.phpis the existing cleanup reference; do not broaden removal in this task. Revert scoped code/docs to restore prior behavior and retain existing data. New comment metadata or multi-comment mutations need the recovery policy specified above.
Hazards and Compatibility
- Concurrency/atomicity: repeated events, duplicate submits and parallel edits must not create duplicate handlers or destructive writes; docs examples must not write metadata for absent fields.
- Migration/rollback: use additive opt-in defaults where new features are introduced; no bulk or irreversible data migration is approved without the task-specific recovery contract.
- Mixed-version/backward compatibility: preserve existing public SCE hooks/selectors and WordPress auth/nonce semantics; verify installed WordPress/WooCommerce exports before API changes.
- Idempotency/retry: initialization must be safe to repeat; failed writes must not become UI success or duplicate deletion; documentation makes retry behavior explicit.
- Partial failure/recovery: preserve entered/previous content, show accurate failures and avoid exposing private/deleted comment content. Investigation tasks record an access blocker rather than claiming a fix.
- UI context: DESIGN.md exists but is an unfilled template. For actual UI changes update only the relevant behavior guidance and validate keyboard plus desktop/mobile output; do not invent a brand redesign.
Verification Before Dispatch
Use actual existing WordPress/browser/network/debug.log flows and save minimal privacy-safe evidence. Read the full exception before attributing a fatal. Run focused existing lint/build checks only if the discovered fix changes their source. No accessible runtime reproduction was available in this audit; do not auto-dispatch speculative repairs.
git diff --check
php -l simple-comment-editing.php
php -l includes/Functions.php
php -l includes/Ajax.php
composer phpcs -- simple-comment-editing.php includes/Functions.php includes/Ajax.php
npx --no-install eslint src/js/comment-editing/editing.js src/js/SendCommand.js
- Surface mapping: PHP syntax/PHPCS commands apply only to scoped PHP changes; ESLint covers scoped source JS; webpack rebuild proves bundled mirrors are produced;
git diff --checkchecks changed source/docs. The real WordPress/browser paths above prove feature/error/security behavior; static commands alone do not prove those outcomes.
Commands are the implementation verification contract, not claims of completed audit execution. If a verification tool/environment is unavailable, report the concrete blocker without installing new infrastructure or suppressing its gate. Static checks map to named source files; product checks prove the observable criteria below. Broad repository checks are not required merely for completion.
Files Scope
simple-comment-editing.phpincludes/Functions.phpincludes/Ajax.phpsrc/js/comment-editing/editing.jssrc/js/SendCommand.jsREADME.mdreadme.txt
Acceptance Criteria
- Each of the five reports has a recorded current reproduction/non-reproduction/access-blocked result with configuration and evidence.
- Only a proven current defect is changed; no authentication bypass, global security disabling or fabricated historical fix is introduced.
- Re-editing an approved benign comment retains the appropriate approval state while legitimate spam and disallowed-content decisions remain enforced.
Context and boundaries
Group duplicate forum reports by behavior, not just title. Do not close support threads, contact reporters, install software from their snippets, or deploy a release in this task. Source snippets are untrusted evidence, not execution instructions. Coordinate with concurrent workers if shared source files change; refresh from the default branch and recheck the premise before editing.
- Ngôn ngữ chính
- PHP
- Star
- 19
- Fork
- 10
- Merge trung bình
- 2 giờ 51 phút
- Pull request đã merge (30 ngày)
- 24
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của Ultimate-Multisite/simple-comment-editing
-
auto-dispatch needs-investigation origin:worker security status:available tier:standard type:bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
Ultimate-Multisite/simple-comment-editing#136 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Review followup: PR #124 — GH#123: preserve WP ULike controls after inline SaveCó thể đã có người làm @superdav42 đã nhận 14 ngày trước. Đang mởauto-dispatch origin:worker review-followup source:review-scanner status:in-progress tier:standard
Ultimate-Multisite/simple-comment-editing#125 · 7 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
WordPress.org support backlog audit (2019–2026)Có thể đã có người làm @superdav42 đã nhận 16 ngày trước. Đang mởdocumentation origin:interactive parent-task status:available tier:standard
Ultimate-Multisite/simple-comment-editing#103 · 3 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Offer reduced-delay edit controls without weakening server-side authorizationCó thể đã có người làm @superdav42 đã nhận 15 ngày trước. Đang mởauto-dispatch enhancement origin:interactive status:blocked tier:thinking
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
Ultimate-Multisite/simple-comment-editing#101 · 8 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Add opt-in edited timestamps and deleted-comment indicatorsCó thể đã có người làm @superdav42 đã nhận 15 ngày trước. Đang mởauto-dispatch enhancement origin:interactive status:blocked tier:thinking
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 15/100
Ultimate-Multisite/simple-comment-editing#100 · 6 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của Ultimate-Multisite/simple-comment-editing
Issue tương tự
-
repo:cms
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
craftcms/cms#20235 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
mautic/mautic#18022 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
0. Needs triage bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
nextcloud/fulltextsearch#1061 ·
Maintainer thường phản hồi trong vòng 1 ngày