Changeset 617276
- Timestamp:
- 10/25/2012 11:54:40 AM (13 years ago)
- Location:
- dt-author-box/trunk
- Files:
-
- 1 added
- 2 edited
-
dt_authorbox.php (modified) (3 diffs)
-
images/pixel.png (added)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
dt-author-box/trunk/dt_authorbox.php
r610149 r617276 4 4 Plugin URI: http://www.digitaltweaker.com/web/wordpress/2012/04/digital-tweakers-author-box-plugin-for-wordpress 5 5 Description: Easily adds an author box signature to the end of your posts or articles with little setup. Adds profile image, author bio, author twitter link, and author website link. All settings can be found under user profile. For more documentation, visit the plugin website. 6 Version: 1.1. 36 Version: 1.1.4 7 7 License: GPL 8 8 Author: Digital Tweaker … … 173 173 ?><script type="text/javascript"> 174 174 jQuery(document).ready(function() { 175 176 jQuery('#uploadimage').click(function() { 177 formfield = jQuery('#image').attr('name'); 178 tb_show('', 'media-upload.php?type=image&TB_iframe=true'); 179 return false; 180 }); 175 jQuery(document).find("input[id^='uploadimage']").live('click', function(){ 176 //var num = this.id.split('-')[1]; 177 formfield = jQuery('#image').attr('name'); 178 tb_show('', 'media-upload.php?type=image&TB_iframe=true'); 181 179 182 180 window.send_to_editor = function(html) { 183 imgurl = jQuery('img',html).attr('src');184 jQuery('#image').val(imgurl);185 tb_remove();181 imgurl = jQuery('img',html).attr('src'); 182 jQuery('#image').val(imgurl); 183 tb_remove(); 186 184 } 187 185 186 return false; 187 }); 188 188 }); 189 189 </script> … … 192 192 global $pagenow; 193 193 194 if ( 'profile.php' == $pagenow ) {194 if ( 'profile.php' || 'users.php' == $pagenow ) { 195 195 add_action('admin_head','dt_profile_image_upload'); 196 196 wp_enqueue_script('media-upload'); -
dt-author-box/trunk/readme.txt
r610149 r617276 1 1 === DT Author Box === 2 2 Requires at least: 3.1.2 3 Tested up to: 3. 3.24 Stable tag: 1.1. 33 Tested up to: 3.4.2 4 Stable tag: 1.1.4 5 5 Contributors: Digital Tweaker 6 6 Donate link: http://www.digitaltweaker.com/donate … … 48 48 49 49 == Changelog == 50 = 1.1.4 = 51 * Fixed Profile Upload Image Button 52 50 53 = 1.1.3 = 51 54 * Fixed Fatal Error along with others
Note: See TracChangeset
for help on using the changeset viewer.