Support an explicit private distribution target in Plugin Check

Đang mở
#1,555 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
55/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
php, wordpress

Hướng nghiên cứu

Read includes/Checker/Checks/Plugin_Repo/Plugin_Updater_Check.php around the rule linked in the issue, then run wp plugin check <slug> --mode=update with a test plugin containing Update URI: false. The issue asks for a private distribution target that accepts this documented header while keeping general quality and security checks active; verify that WordPress.org submissions still use the existing directory check.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Plugin Check 2.2.0 reports plugin_updater_detected for a private plugin whose header contains Update URI: false. The header alone triggers the error. WordPress Core documents this value as a way to prevent a plugin from being overwritten by a similarly named WordPress.org plugin.

To see the finding, add Update URI: false to the header of a test plugin and run wp plugin check <slug> --mode=update.

Could Plugin Check support an explicit private distribution target that accepts the documented header while keeping the general quality and security checks active? WordPress.org submissions would continue to use the existing directory check.

WordPress Core documentation · Plugin Check rule

Ngôn ngữ chính
PHP
Star
365
Fork
135
Merge trung bình
1 ngày 8 giờ
Pull request đã merge (30 ngày)
20

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của WordPress/plugin-check

Tất cả issue của WordPress/plugin-check

Issue tương tự

Thêm issue về PHP

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.