Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #49644, comment 3


Ignore:
Timestamp:
03/13/2020 05:16:54 PM (23 months ago)
Author:
MikeSchinkel
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #49644, comment 3

    initial v1  
    1 So I proactively updated the patch to save the WP_Error to `$post_type->last_error`.
     1So I proactively updated the patch to save the `WP_Error` to `$post_type->last_error`.
    22
    33Also added a 2nd parameter to the `'unregistered_post_type'` hook and moved the `$removed` parameter I added in the first patch to the 3rd parameter position.