Opened 13 years ago
Closed 13 years ago
#14630 closed feature request (worksforme)
Text Replacement for Featured Image Link
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.0 |
Component: | Post Thumbnails | Keywords: | close |
Focuses: | Cc: |
Description
Hi There, Just been doing some media gallery integration for WP e-Commerce Plugin. We use the featured Image as the Product Thumbnail / Image. For our new version that uses custom post types. We've got it almost all integrated. However we wanted to change the link in the Media Uploader from saying 'Use as Featured Image' to 'Use as Product Thumbnail' but could not find a filter in the media.php file to allow this customization.
I have added a patch that does just this and I think it would be great for any developer using custom post types and wanting to use the featured image system for their custom post type as It allows a little more customization with the wording..
I know media gallery is going to be looked into in up coming big release, but thought this little addition could be handy in next minor release?
best
jeff
Attachments (4)
Change History (9)
#2
@
13 years ago
Im such a n00b, sorry guys wp_featured_product.diff is the real diff... the others are my wp-e-commerce plugin diffs *sorry*
#3
@
13 years ago
- Keywords close added; Post Thumbnail media gallery featured featured images removed
I don't think we should be doing anything with the media screens if we can help it, until 3.2.
Translations can be filtered. Check out the translate() function, it has a filter called gettext. Make sure you only attach the filter on the specific screen you need it. I would attach it on a late action, then remove it whe done, to avoid unnecessary cycles.
http://blog.ftwr.co.uk/archives/2010/01/02/mangling-strings-for-fun-and-profit/
Whoops sorry I made a mistake in the new diff works a little better.
best
Jeff