User Photo - Version 0.9.5.1

Version Description

Download this release

Release Info

Developer westonruter
Plugin Icon wp plugin User Photo
Version 0.9.5.1
Comparing to
See all releases

Code changes from version 0.9.5 to 0.9.5.1

Files changed (2) hide show
  1. readme.txt +3 -3
  2. user-photo.php +1 -1
readme.txt CHANGED
@@ -2,7 +2,7 @@
2
  Contributors: westonruter
3
  Tags: users, photos, images
4
  Tested up to: 3.0.5
5
- Stable tag: 0.9.5
6
 
7
  Allows a user to associate a photo with their account and for this photo to be displayed in their posts and comments.
8
 
@@ -26,8 +26,8 @@ The first two should be placed in the posts loop near <code>the_author()</code>,
26
  loop near <code>comment_author()</code> (or their respective equivalents). Furthermore, <code>userphoto_the_author_photo()</code>
27
  and <code>userphoto_the_author_thumbnail()</code> may be called anywhere (i.e. sidebar) if <code>$authordata</code> is set.
28
 
29
- The output of these template tags may be modified by passing four parameters: <code>$before</code>, <code>$after</code>,
30
- <code>$attributes</code>, and <code>$default_src</code>, as in: <code>userphoto_the_author_photo($before, $after, $attributes, $default_src)</code>.
31
  If the user photo exists (or <code>$default_src</code> is supplied), then the text provided in the <code>$before</code> and <code>$after</code> parameters is respectively
32
  prefixed and suffixed to the generated <code>img</code> tag (a common pattern in WordPress). If attributes are provided in the <code>$attributes</code>
33
  parameter, then they are returned as attributes of the generated <code>img</code> element. For example: <code>userphoto_the_author_photo('', '', array(style => 'border:0'))</code>
2
  Contributors: westonruter
3
  Tags: users, photos, images
4
  Tested up to: 3.0.5
5
+ Stable tag: 0.9.5.1
6
 
7
  Allows a user to associate a photo with their account and for this photo to be displayed in their posts and comments.
8
 
26
  loop near <code>comment_author()</code> (or their respective equivalents). Furthermore, <code>userphoto_the_author_photo()</code>
27
  and <code>userphoto_the_author_thumbnail()</code> may be called anywhere (i.e. sidebar) if <code>$authordata</code> is set.
28
 
29
+ The output of these template tags may be modified by passing four parameters: `$before`, `$after`, `$attributes`, and `$default_src`,
30
+ as in: <code>userphoto_the_author_photo($before, $after, $attributes, $default_src)</code>.
31
  If the user photo exists (or <code>$default_src</code> is supplied), then the text provided in the <code>$before</code> and <code>$after</code> parameters is respectively
32
  prefixed and suffixed to the generated <code>img</code> tag (a common pattern in WordPress). If attributes are provided in the <code>$attributes</code>
33
  parameter, then they are returned as attributes of the generated <code>img</code> element. For example: <code>userphoto_the_author_photo('', '', array(style => 'border:0'))</code>
user-photo.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: User Photo
4
  Plugin URI: http://wordpress.org/extend/plugins/user-photo/
5
  Description: Allows users to associate photos with their accounts by accessing their "Your Profile" page. Uploaded images are resized to fit the dimensions specified on the options page; a thumbnail image is also generated. New template tags introduced are: <code>userphoto_the_author_photo</code>, <code>userphoto_the_author_thumbnail</code>, <code>userphoto_comment_author_photo</code>, and <code>userphoto_comment_author_thumbnail</code>. Uploaded images may be moderated by administrators.
6
- Version: 0.9.5
7
  Author: <a href="http://weston.ruter.net/">Weston Ruter</a>
8
 
9
  Original code by Weston Ruter <http://weston.ruter.net> at Shepherd Interactive <http://shepherd-interactive.com>.
3
  Plugin Name: User Photo
4
  Plugin URI: http://wordpress.org/extend/plugins/user-photo/
5
  Description: Allows users to associate photos with their accounts by accessing their "Your Profile" page. Uploaded images are resized to fit the dimensions specified on the options page; a thumbnail image is also generated. New template tags introduced are: <code>userphoto_the_author_photo</code>, <code>userphoto_the_author_thumbnail</code>, <code>userphoto_comment_author_photo</code>, and <code>userphoto_comment_author_thumbnail</code>. Uploaded images may be moderated by administrators.
6
+ Version: 0.9.5.1
7
  Author: <a href="http://weston.ruter.net/">Weston Ruter</a>
8
 
9
  Original code by Weston Ruter <http://weston.ruter.net> at Shepherd Interactive <http://shepherd-interactive.com>.