Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Investigate legacy Editing Options conflicts with Jetpack and Max Mega Menu

Aperta
#96 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@superdav42 ci sta già lavorando.

Dal 14/10/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

bug needs-investigation origin:interactive status:available tier:standard

What

Determine whether the current standalone SCE reproduces either legacy add-on conflict; fix only reproduced current defects and document legacy add-on coexistence/migration requirements.

Why and current-code evidence

Both 2020 reporters isolated the failure to the former Simple Comment Editing Options add-on, not SCE alone. Jetpack likes/notifications failed while logged in; Max Mega Menu rendering/CSS failed with Options 1.3.1. The maintainer could not reproduce Max Mega Menu. The current repository ports only some former Pro features and does not contain the historical Options code or a verified equivalent failure. Current frontend CSS includes global .comment-form-rating/.stars selectors; this is not proof of either reported conflict.

Source support threads

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.php
  • EDIT: includes/Output.php
  • EDIT: src/js/comment-editing/editing.js
  • EDIT: src/scss/frontend.scss
  • EDIT: README.md
  • EDIT: readme.txt
Implementation Steps
  1. Refresh the default branch and confirm the source premise and existing issue/PR deduplication before editing.
  2. Record accessible current Jetpack/Max Mega Menu versions and use logged-in/logged-out controls with SCE alone. Only compare the historical Options add-on if a legitimate existing copy is available. Inspect asset collisions/global selectors and plugin presence guards. Do not infer a current core defect from a six-year-old premium add-on report. Exact failing adapter/write surface remains unknown until reproduction; update scope before implementation.
  3. 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_scripts renders native comment UI and selects assets; src/js/comment-editing/editing.js initializes controls and calls src/js/SendCommand.js; settings readers use includes/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, and includes/Options.php::update_options are 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.json defines lint/build; composer.json, phpcs.xml.dist and phpstan.neon define PHP gates. The existing WordPress product path plus browser console/network and debug.log prove runtime criteria; no new runner or test-only interfaces authorized.
  • Schemas/config: includes/Options.php owns sce_options defaults/sanitization; includes/Ajax.php and includes/WooCommerce.php use 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.js produces dist/sce-editing.js and dist/sce-frontend.css from 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.php merges 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.php is 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

In an existing WordPress setup compare SCE enabled/disabled with logged-in Jetpack likes/notifications and Max Mega Menu; inspect console, asset order, computed CSS and PHP logs. Current failures are unverified; no automatic dispatch until accessible reproduction establishes a code deliverable.

git diff --check
php -l simple-comment-editing.php
php -l includes/Output.php
composer phpcs -- simple-comment-editing.php includes/Output.php
npx --no-install eslint src/js/comment-editing/editing.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 --check checks 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.php
  • includes/Output.php
  • src/js/comment-editing/editing.js
  • src/scss/frontend.scss
  • README.md
  • readme.txt

Acceptance Criteria

  • Each reported integration has a reproducible current result or an explicit legacy-code/access blocker.
  • Any fix preserves both third-party UI and SCE editing without blanket script disabling or global CSS suppression.

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.


aidevops.sh v3.39.27 plugin for OpenCode

Lingua principale
PHP
Stelle
19
Fork
10
Merge medio
3h 6m
PR unite (30g)
22

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Ultimate-Multisite/simple-comment-editing

Tutte le issue di Ultimate-Multisite/simple-comment-editing

Issue simili

Altre issue su PHP

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.