Shaun
Forum Replies Created
-
note.. I believe changing line 18 in version 1.1 & 1.2 to this:
return htmlentities(str_replace(‘&’, ‘&’, $custom_author));fixes it, as it escapes it on output.
Forum: Plugins
In reply to: Custom Permalink for Pluginanyone?
Forum: Plugins
In reply to: Custom Permalink for PluginAs a follow up this is using a custom table, not a custom post type.
Forum: Requests and Feedback
In reply to: WordPress URL Settingwow thats awesome!! thank you!! just set it up
Forum: Requests and Feedback
In reply to: WordPress URL Settingwhen WP pulls those values from the db is is just using the php define function to set them anyway?
If thats the case I will always add those lines to my wp-config, however, when wordpress sets them from the db is it going to give errors? because im assuming it isnt using
@define(‘WP_SITEURL’, ‘http://example.com/wordpress’);
note the “@”
figured out the problem… there are a few shorttags used throughout the file.
i did a regex search & replace to convert all “<?” to “<?php” if the php didnt already exist after the “<?”
I am getting this as well… WP 3.0.4 Plugin 1.6.7
Forum: Requests and Feedback
In reply to: Media Library Support in Custom FieldsI believe it was /wp-admin/includes/media.php, /wp-admin/media-upload.php & /wp-admin/async-upload.php
I documented all of my changes if you would like me to email them to you. I just can’t get to the file right now as the clients host seems to be having issues.
Forum: Requests and Feedback
In reply to: Media Library Support in Custom FieldsI created a custom post type that has additional meta boxes, when i used the insert image/audio it only inserts to the post body.
The modifications I made allow a button in the custom meta box call the media library popup, and replaces the “Insert into Post” button with a “Use this File” button that passes the file url back to the calling field rather than inserting it into the post body.
This way I, or in this case the client, can upload a sound file directly to a custom post field