[wp-trac] [WordPress Trac] #39509: WP_Screen does not set post type on wp-admin/upload.php
WordPress Trac
noreply at wordpress.org
Fri May 19 18:29:00 UTC 2017
#39509: WP_Screen does not set post type on wp-admin/upload.php
---------------------------------------------+-----------------------------
Reporter: postpostmodern | Owner: joemcgill
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.8
Component: Media | Version: 4.7
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests commit | Focuses: administration
---------------------------------------------+-----------------------------
Changes (by joemcgill):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"40800"]:
{{{
#!CommitTicketReference repository="" revision="40800"
Media: Ensure WP_Screen sets post type on wp-admin/upload.php.
The post type property is set to 'attachment' when on the upload screen.
Props postpostmodern.
Fixes #39509.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39509#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list