Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #50913, comment 23


Ignore:
Timestamp:
09/11/2020 02:24:21 AM (6 years ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #50913, comment 23

    initial v1  
    1313These all require a post ID to check, and will cause a PHP warning if the ID is not provided. Performing these checks without passing in a post ID (or a comment ID, in case of `edit_comment`) is a developer error, so I think the warning is legitimate, hiding it would only make debugging harder.
    1414
    15 See also: comment:2:ticket:48415
     15See also: #48415, specifically comment:2:ticket:48415.