Version Description
- Fixed PHP notice about deprecated argument
- Use semantic versioning for plugin files
Download this release
Release Info
| Developer | glen_scott |
| Plugin | |
| Version | 0.9.6 |
| Comparing to | |
| See all releases | |
Code changes from version 0.9.5.2 to 0.9.6
- readme.txt +7 -4
- user-photo.php +2 -2
readme.txt
CHANGED
|
@@ -1,15 +1,14 @@
|
|
| 1 |
=== User Photo ===
|
| 2 |
-
Contributors: westonruter, ryanhellyer
|
| 3 |
Tags: users, photos, images
|
| 4 |
Requires at least: 3.0.5
|
| 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 |
|
| 9 |
== Description ==
|
| 10 |
|
| 11 |
-
***Make sure you upgrade to version 0.9.5.2!***
|
| 12 |
-
|
| 13 |
Allows a user to associate a profile photo with their account through their "Your Profile" page. Admins may
|
| 14 |
add a user profile photo by accessing the "Edit User" page. Uploaded images are resized to fit the dimensions specified
|
| 15 |
on the options page; a thumbnail image correspondingly is also generated.
|
|
@@ -115,6 +114,10 @@ If you value this plugin, *please donate* to ensure that it may continue to be m
|
|
| 115 |
|
| 116 |
== Changelog ==
|
| 117 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 118 |
= 2012-05-08: 0.9.5.2 =
|
| 119 |
|
| 120 |
* Security issue (credit Ryan Hellyer).
|
| 1 |
=== User Photo ===
|
| 2 |
+
Contributors: westonruter, ryanhellyer, glen_scott
|
| 3 |
Tags: users, photos, images
|
| 4 |
Requires at least: 3.0.5
|
| 5 |
+
Tested up to: 4.3.1
|
| 6 |
+
Stable tag: 0.9.6
|
| 7 |
|
| 8 |
Allows a user to associate a photo with their account and for this photo to be displayed in their posts and comments.
|
| 9 |
|
| 10 |
== Description ==
|
| 11 |
|
|
|
|
|
|
|
| 12 |
Allows a user to associate a profile photo with their account through their "Your Profile" page. Admins may
|
| 13 |
add a user profile photo by accessing the "Edit User" page. Uploaded images are resized to fit the dimensions specified
|
| 14 |
on the options page; a thumbnail image correspondingly is also generated.
|
| 114 |
|
| 115 |
== Changelog ==
|
| 116 |
|
| 117 |
+
= 0.9.6 =
|
| 118 |
+
* Fixed PHP notice about deprecated argument
|
| 119 |
+
* Use semantic versioning for plugin files
|
| 120 |
+
|
| 121 |
= 2012-05-08: 0.9.5.2 =
|
| 122 |
|
| 123 |
* Security issue (credit Ryan Hellyer).
|
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.
|
| 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>.
|
|
@@ -74,7 +74,7 @@ $userphoto_prevent_override_avatar = false;
|
|
| 74 |
|
| 75 |
# Load up the localization file if we're using WordPress in a different language
|
| 76 |
# Place it in the "localization" folder and name it "user-photo-[value in wp-config].mo"
|
| 77 |
-
load_plugin_textdomain('user-photo',
|
| 78 |
|
| 79 |
function userphoto__init(){
|
| 80 |
if(get_option('userphoto_override_avatar') && !is_admin())
|
| 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.6
|
| 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>.
|
| 74 |
|
| 75 |
# Load up the localization file if we're using WordPress in a different language
|
| 76 |
# Place it in the "localization" folder and name it "user-photo-[value in wp-config].mo"
|
| 77 |
+
load_plugin_textdomain( 'user-photo', false, plugin_basename( dirname( __FILE__ ) ) . '/localization' ); #(thanks Pakus)
|
| 78 |
|
| 79 |
function userphoto__init(){
|
| 80 |
if(get_option('userphoto_override_avatar') && !is_admin())
|
