This commit is contained in:
ethicalhack3r
2014-04-14 19:52:19 +02:00
parent 0fcf0a6a88
commit f91e287207

View File

@@ -12,7 +12,7 @@ class WpUser < WpItem
# @return [ Array<Symbol> ] # @return [ Array<Symbol> ]
def allowed_options; [:id, :login, :display_name, :password] end def allowed_options; [:id, :login, :display_name, :password] end
# @return [ URI ] The uri to the auhor page # @return [ URI ] The uri to the author page
def uri def uri
if id if id
return @uri.merge("?author=#{id}") return @uri.merge("?author=#{id}")