[wp-trac] Re: [WordPress Trac] #5010: Bug in Updating attachment of
a post = loosing post_parent
WordPress Trac
wp-trac at lists.automattic.com
Fri Sep 21 20:37:28 GMT 2007
#5010: Bug in Updating attachment of a post = loosing post_parent
----------------------------------------------+-----------------------------
Reporter: michelwp | Owner: anonymous
Type: defect | Status: new
Priority: high | Milestone: 2.3
Component: Administration | Version: 2.2.3
Severity: major | Resolution:
Keywords: attachment post_parent has-patch |
----------------------------------------------+-----------------------------
Comment (by michelwp):
I agree : EXTR_SKIP introduced with 2.2 reveal that the third arg
$post_parent is set by default to 0.... and the post_parent transmitted by
the object cannot be created... [[BR]]
I don't know why both object and this arg are in the function ? [[BR]]
And if calling functions use this both args.. [[BR]]
(for temporary patch I use it (3° arg) from the calling function with an
internal name as $parent...) [[BR]]
The patch of filosofo don't keep the problem of this third arg....
--
Ticket URL: <http://trac.wordpress.org/ticket/5010#comment:7>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list