[wp-trac] [WordPress Trac] #23628: get_post_thumbnail_id() ERROR Fatal Upload image/media fail
WordPress Trac
noreply at wordpress.org
Tue Feb 26 20:32:54 UTC 2013
#23628: get_post_thumbnail_id() ERROR Fatal Upload image/media fail
-------------------------------+------------------------
Reporter: justintwinpeaks@… | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Media | Version: 2.9
Severity: normal | Resolution: duplicate
Keywords: |
-------------------------------+------------------------
Changes (by SergeyBiryukov):
* status: new => closed
* severity: major => normal
* version: 3.5.1 => 2.9
* milestone: Awaiting Review =>
* keywords: needs-patch =>
* resolution: => duplicate
Comment:
Related: [12134]
The error message indicates that you have version 3.3.x installed, not
3.5.1: [[BR]]
http://core.trac.wordpress.org/browser/tags/3.3.2/wp-
admin/includes/media.php#L1173
In subsequent releases, line numbers where `get_post_thumbnail_id()` is
called are different: [[BR]]
http://core.trac.wordpress.org/browser/tags/3.4.2/wp-
admin/includes/media.php#L1181
http://core.trac.wordpress.org/browser/tags/3.5.1/wp-
admin/includes/media.php#L1202
This is a duplicate of #12745 and #19814. The issue is a combination of an
old release and a theme which calls `add_theme_support( 'post-thumbnails'
)` too late.
This was fixed in #20556.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23628#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list