[wp-trac] [WordPress Trac] #26451: PHP notices when removing a custom post type which contains posts with attachments

WordPress Trac noreply at wordpress.org
Mon Dec 9 08:31:37 UTC 2013


#26451: PHP notices when removing a custom post type which contains posts with
attachments
---------------------------------+-----------------------------
 Reporter:  Chouby               |       Owner:
     Type:  defect (bug)         |      Status:  new
 Priority:  normal               |   Milestone:  Future Release
Component:  Media                |     Version:  3.7
 Severity:  normal               |  Resolution:
 Keywords:  has-patch 3.9-early  |
---------------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * keywords:  has-patch => has-patch 3.9-early
 * version:   => 3.7
 * milestone:  Awaiting Review => Future Release


Comment:

 Introduced in [25140].

 If the parent post type no longer exists, we should probably show the
 image as unattached: [attachment:26451.2.patch].

--
Ticket URL: <http://core.trac.wordpress.org/ticket/26451#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list