[wp-trac] [WordPress Trac] #27446: PHP notice for media attached to no more registered post type

WordPress Trac noreply at wordpress.org
Tue Jul 29 01:40:26 UTC 2014


#27446: PHP notice for media attached to no more registered post type
------------------------------+-----------------------------
 Reporter:  afercia           |       Owner:  SergeyBiryukov
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  4.0
Component:  Media             |     Version:  3.7
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:
------------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * owner:   => SergeyBiryukov
 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"29320"]:
 {{{
 #!CommitTicketReference repository="" revision="29320"
 Avoid PHP notices in Media Library if an attachment parent post type no
 longer exists.

 Synchronize the 'edit_post' capability check between the list table and
 the media grid.

 fixes #27446.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/27446#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list