[wp-hackers] 3.5 and attachment_fields_to_edit (custom fields for media)

Marko Heijnen mailing at markoheijnen.nl
Tue Oct 9 13:46:22 UTC 2012


Ah I see it know. Wasn't really clear at first impression.
I guess some of those features will never be in core maybe some should but then more in an improved settings API you can also use in a metabox.

Op 9 okt. 2012, om 15:35 heeft Steve Taylor <steve at sltaylor.co.uk> het volgende geschreven:

> Thanks.
> 
> Not sure what makes you say the plugin won't be needed. Is 3.5 adding
> a new API for custom fields? Support for Google maps, date/time
> pickers, media selection in custom fields? It'd be great if the plugin
> is made redundant by core features, but I don't see anything like a
> significant chunk of the plugin's features in 3.5.
> 
> 
> On 9 October 2012 14:05, Marko Heijnen <mailing at markoheijnen.nl> wrote:
>> Hey Steve,
>> 
>> The best way would be asking at that ticket. Or even better put it on the agenda tomorrow when the blog post is get added on http://make.wordpress.org/core/.
>> 
>> I would say your plugin will not be needed anymore. If you want to add support it seems better for you to add legacy support to your plugin to be sure everything still works.
>> 
>> Marko
>> 
>> 
>> Op 9 okt. 2012, om 14:31 heeft Steve Taylor <steve at sltaylor.co.uk> het volgende geschreven:
>> 
>>> Hi,
>>> 
>>> A plugin of mine
>>> (http://wordpress.org/extend/plugins/developers-custom-fields/)
>>> involves adding custom fields to media attachments via the
>>> attachment_fields_to_edit hook. It looks like this method is broken in
>>> the current beta of 3.5 due to moving media editing to post.php.
>>> 
>>> Has anyone worked with this / posted about it? I've looked through the
>>> Trac ticket (http://core.trac.wordpress.org/ticket/21391) and there
>>> don't seem to be any hints for devs whose stuff this breaks.
>>> 
>>> I'm ploughing into it now, just wondered if anyone else was ahead of
>>> me! I'm guessing the new approach will be even easier to hook into
>>> (using standard meta boxes) - but does legacy support just involve
>>> leaving attachment_fields_to_edit stuff in place?
>>> 
>>> Cheers,
>>> 
>>> Steve Taylor
>>> _______________________________________________
>>> wp-hackers mailing list
>>> wp-hackers at lists.automattic.com
>>> http://lists.automattic.com/mailman/listinfo/wp-hackers
>> 
>> _______________________________________________
>> wp-hackers mailing list
>> wp-hackers at lists.automattic.com
>> http://lists.automattic.com/mailman/listinfo/wp-hackers
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers



More information about the wp-hackers mailing list