Available take username for wordpress 3.0 or lower.

This commit is contained in:
berotti3
2015-02-21 15:46:56 +09:00
parent 884f64addb
commit 42f278aafe

View File

@@ -51,7 +51,7 @@ class WpUser < WpItem
unless login
# No Permalinks
login = body[%r{<body class="archive author author-([^\s]+) author-(\d+)}i, 1]
login = body[%r{<body class="archive author author-([^\s]+)[ "]}i, 1]
end
login