HELLO v3!!!
This commit is contained in:
102
spec/fixtures/finders/users/author_id_brute_forcing/2.9.2-empty.html
vendored
Normal file
102
spec/fixtures/finders/users/author_id_brute_forcing/2.9.2-empty.html
vendored
Normal file
@@ -0,0 +1,102 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US">
|
||||
|
||||
<head profile="http://gmpg.org/xfn/11">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
|
||||
<title> wordpress-2.9.2</title>
|
||||
|
||||
<link rel="stylesheet" href="http://wp.lab/wordpress-2.9.2/wp-content/themes/default/style.css" type="text/css" media="screen" />
|
||||
<link rel="pingback" href="http://wp.lab/wordpress-2.9.2/xmlrpc.php" />
|
||||
|
||||
<style type="text/css" media="screen">
|
||||
|
||||
#page { background: url("http://wp.lab/wordpress-2.9.2/wp-content/themes/default/images/kubrickbg-ltr.jpg") repeat-y top; border: none; }
|
||||
|
||||
</style>
|
||||
|
||||
|
||||
<meta name='robots' content='noindex,nofollow' />
|
||||
<link rel="alternate" type="application/rss+xml" title="wordpress-2.9.2 » Feed" href="http://wp.lab/wordpress-2.9.2/?feed=rss2" />
|
||||
<link rel="alternate" type="application/rss+xml" title="wordpress-2.9.2 » Comments Feed" href="http://wp.lab/wordpress-2.9.2/?feed=comments-rss2" />
|
||||
<link rel="alternate" type="application/rss+xml" title="wordpress-2.9.2 » Posts by Feed" href="http://wp.lab/wordpress-2.9.2/?feed=rss2&author=4" />
|
||||
<link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://wp.lab/wordpress-2.9.2/xmlrpc.php?rsd" />
|
||||
<link rel="wlwmanifest" type="application/wlwmanifest+xml" href="http://wp.lab/wordpress-2.9.2/wp-includes/wlwmanifest.xml" />
|
||||
<link rel='index' title='wordpress-2.9.2' href='http://wp.lab/wordpress-2.9.2' />
|
||||
<meta name="generator" content="WordPress 2.9.2" />
|
||||
</head>
|
||||
<body class="archive author author-">
|
||||
<div id="page">
|
||||
|
||||
|
||||
<div id="header" role="banner">
|
||||
<div id="headerimg">
|
||||
<h1><a href="http://wp.lab/wordpress-2.9.2/">wordpress-2.9.2</a></h1>
|
||||
<div class="description">Just another WordPress weblog</div>
|
||||
</div>
|
||||
</div>
|
||||
<hr />
|
||||
|
||||
<div id="content" class="narrowcolumn" role="main">
|
||||
|
||||
<h2 class='center'>Sorry, but there aren't any posts by yet.</h2><form role="search" method="get" id="searchform" action="http://wp.lab/wordpress-2.9.2/" >
|
||||
<div><label class="screen-reader-text" for="s">Search for:</label>
|
||||
<input type="text" value="" name="s" id="s" />
|
||||
<input type="submit" id="searchsubmit" value="Search" />
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<div id="sidebar" role="complementary">
|
||||
<ul>
|
||||
<li>
|
||||
<form role="search" method="get" id="searchform" action="http://wp.lab/wordpress-2.9.2/" >
|
||||
<div><label class="screen-reader-text" for="s">Search for:</label>
|
||||
<input type="text" value="" name="s" id="s" />
|
||||
<input type="submit" id="searchsubmit" value="Search" />
|
||||
</div>
|
||||
</form> </li>
|
||||
|
||||
<!-- Author information is disabled per default. Uncomment and fill in your details if you want to use it.
|
||||
<li><h2>Author</h2>
|
||||
<p>A little something about you, the author. Nothing lengthy, just an overview.</p>
|
||||
</li>
|
||||
-->
|
||||
|
||||
</ul>
|
||||
<ul role="navigation">
|
||||
<li class="pagenav"><h2>Pages</h2><ul><li class="page_item page-item-2"><a href="http://wp.lab/wordpress-2.9.2/?page_id=2" title="About">About</a></li>
|
||||
</ul></li>
|
||||
<li><h2>Archives</h2>
|
||||
<ul>
|
||||
<li><a href='http://wp.lab/wordpress-2.9.2/?m=201303' title='March 2013'>March 2013</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li class="categories"><h2>Categories</h2><ul> <li class="cat-item cat-item-1"><a href="http://wp.lab/wordpress-2.9.2/?cat=1" title="View all posts filed under Uncategorized">Uncategorized</a> (1)
|
||||
</li>
|
||||
</ul></li> </ul>
|
||||
<ul>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<hr />
|
||||
<div id="footer" role="contentinfo">
|
||||
<!-- If you'd like to support WordPress, having the "powered by" link somewhere on your blog is the best way; it's our only promotion or advertising. -->
|
||||
<p>
|
||||
wordpress-2.9.2 is proudly powered by
|
||||
<a href="http://wordpress.org/">WordPress</a>
|
||||
<br /><a href="http://wp.lab/wordpress-2.9.2/?feed=rss2">Entries (RSS)</a>
|
||||
and <a href="http://wp.lab/wordpress-2.9.2/?feed=comments-rss2">Comments (RSS)</a>.
|
||||
<!-- 16 queries. 0.128 seconds. -->
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Gorgeous design by Michael Heilemann - http://binarybonsai.com/kubrick/ -->
|
||||
|
||||
</body>
|
||||
</html>
|
||||
123
spec/fixtures/finders/users/author_id_brute_forcing/2.9.2-permalink.html
vendored
Normal file
123
spec/fixtures/finders/users/author_id_brute_forcing/2.9.2-permalink.html
vendored
Normal file
@@ -0,0 +1,123 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US">
|
||||
|
||||
<head profile="http://gmpg.org/xfn/11">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
|
||||
<title>admin display_name « wordpress-2.9.2</title>
|
||||
|
||||
<link rel="stylesheet" href="http://wp.lab/wordpress-2.9.2/wp-content/themes/default/style.css" type="text/css" media="screen" />
|
||||
<link rel="pingback" href="http://wp.lab/wordpress-2.9.2/xmlrpc.php" />
|
||||
|
||||
<style type="text/css" media="screen">
|
||||
|
||||
#page { background: url("http://wp.lab/wordpress-2.9.2/wp-content/themes/default/images/kubrickbg-ltr.jpg") repeat-y top; border: none; }
|
||||
|
||||
</style>
|
||||
|
||||
|
||||
<meta name='robots' content='noindex,nofollow' />
|
||||
<link rel="alternate" type="application/rss+xml" title="wordpress-2.9.2 » Feed" href="http://wp.lab/wordpress-2.9.2/feed/" />
|
||||
<link rel="alternate" type="application/rss+xml" title="wordpress-2.9.2 » Comments Feed" href="http://wp.lab/wordpress-2.9.2/comments/feed/" />
|
||||
<link rel="alternate" type="application/rss+xml" title="wordpress-2.9.2 » Posts by admin display_name Feed" href="http://wp.lab/wordpress-2.9.2/author/admin/feed/" />
|
||||
<link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://wp.lab/wordpress-2.9.2/xmlrpc.php?rsd" />
|
||||
<link rel="wlwmanifest" type="application/wlwmanifest+xml" href="http://wp.lab/wordpress-2.9.2/wp-includes/wlwmanifest.xml" />
|
||||
<link rel='index' title='wordpress-2.9.2' href='http://wp.lab/wordpress-2.9.2' />
|
||||
<meta name="generator" content="WordPress 2.9.2" />
|
||||
</head>
|
||||
<body class="archive author author-admin">
|
||||
<div id="page">
|
||||
|
||||
|
||||
<div id="header" role="banner">
|
||||
<div id="headerimg">
|
||||
<h1><a href="http://wp.lab/wordpress-2.9.2/">wordpress-2.9.2</a></h1>
|
||||
<div class="description">Just another WordPress weblog</div>
|
||||
</div>
|
||||
</div>
|
||||
<hr />
|
||||
|
||||
<div id="content" class="narrowcolumn" role="main">
|
||||
|
||||
|
||||
<h2 class="pagetitle">Author Archive</h2>
|
||||
|
||||
|
||||
<div class="navigation">
|
||||
<div class="alignleft"></div>
|
||||
<div class="alignright"></div>
|
||||
</div>
|
||||
|
||||
<div class="post-1 post hentry category-uncategorized">
|
||||
<h3 id="post-1"><a href="http://wp.lab/wordpress-2.9.2/2013/03/12/hello-world/" rel="bookmark" title="Permanent Link to Hello world!">Hello world!</a></h3>
|
||||
<small>Tuesday, March 12th, 2013</small>
|
||||
|
||||
<div class="entry">
|
||||
<p>Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!</p>
|
||||
</div>
|
||||
|
||||
<p class="postmetadata"> Posted in <a href="http://wp.lab/wordpress-2.9.2/category/uncategorized/" title="View all posts in Uncategorized" rel="category tag">Uncategorized</a> | <a href="http://wp.lab/wordpress-2.9.2/2013/03/12/hello-world/#comments" title="Comment on Hello world!">1 Comment »</a></p>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="navigation">
|
||||
<div class="alignleft"></div>
|
||||
<div class="alignright"></div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div id="sidebar" role="complementary">
|
||||
<ul>
|
||||
<li>
|
||||
<form role="search" method="get" id="searchform" action="http://wp.lab/wordpress-2.9.2/" >
|
||||
<div><label class="screen-reader-text" for="s">Search for:</label>
|
||||
<input type="text" value="" name="s" id="s" />
|
||||
<input type="submit" id="searchsubmit" value="Search" />
|
||||
</div>
|
||||
</form> </li>
|
||||
|
||||
<!-- Author information is disabled per default. Uncomment and fill in your details if you want to use it.
|
||||
<li><h2>Author</h2>
|
||||
<p>A little something about you, the author. Nothing lengthy, just an overview.</p>
|
||||
</li>
|
||||
-->
|
||||
|
||||
</ul>
|
||||
<ul role="navigation">
|
||||
<li class="pagenav"><h2>Pages</h2><ul><li class="page_item page-item-2"><a href="http://wp.lab/wordpress-2.9.2/about/" title="About">About</a></li>
|
||||
</ul></li>
|
||||
<li><h2>Archives</h2>
|
||||
<ul>
|
||||
<li><a href='http://wp.lab/wordpress-2.9.2/2013/03/' title='March 2013'>March 2013</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li class="categories"><h2>Categories</h2><ul> <li class="cat-item cat-item-1"><a href="http://wp.lab/wordpress-2.9.2/category/uncategorized/" title="View all posts filed under Uncategorized">Uncategorized</a> (1)
|
||||
</li>
|
||||
</ul></li> </ul>
|
||||
<ul>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<hr />
|
||||
<div id="footer" role="contentinfo">
|
||||
<!-- If you'd like to support WordPress, having the "powered by" link somewhere on your blog is the best way; it's our only promotion or advertising. -->
|
||||
<p>
|
||||
wordpress-2.9.2 is proudly powered by
|
||||
<a href="http://wordpress.org/">WordPress</a>
|
||||
<br /><a href="http://wp.lab/wordpress-2.9.2/feed/">Entries (RSS)</a>
|
||||
and <a href="http://wp.lab/wordpress-2.9.2/comments/feed/">Comments (RSS)</a>.
|
||||
<!-- 17 queries. 0.124 seconds. -->
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Gorgeous design by Michael Heilemann - http://binarybonsai.com/kubrick/ -->
|
||||
|
||||
</body>
|
||||
</html>
|
||||
123
spec/fixtures/finders/users/author_id_brute_forcing/2.9.2.html
vendored
Normal file
123
spec/fixtures/finders/users/author_id_brute_forcing/2.9.2.html
vendored
Normal file
@@ -0,0 +1,123 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US">
|
||||
|
||||
<head profile="http://gmpg.org/xfn/11">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
|
||||
<title>admin display_name « wordpress-2.9.2</title>
|
||||
|
||||
<link rel="stylesheet" href="http://wp.lab/wordpress-2.9.2/wp-content/themes/default/style.css" type="text/css" media="screen" />
|
||||
<link rel="pingback" href="http://wp.lab/wordpress-2.9.2/xmlrpc.php" />
|
||||
|
||||
<style type="text/css" media="screen">
|
||||
|
||||
#page { background: url("http://wp.lab/wordpress-2.9.2/wp-content/themes/default/images/kubrickbg-ltr.jpg") repeat-y top; border: none; }
|
||||
|
||||
</style>
|
||||
|
||||
|
||||
<meta name='robots' content='noindex,nofollow' />
|
||||
<link rel="alternate" type="application/rss+xml" title="wordpress-2.9.2 » Feed" href="http://wp.lab/wordpress-2.9.2/?feed=rss2" />
|
||||
<link rel="alternate" type="application/rss+xml" title="wordpress-2.9.2 » Comments Feed" href="http://wp.lab/wordpress-2.9.2/?feed=comments-rss2" />
|
||||
<link rel="alternate" type="application/rss+xml" title="wordpress-2.9.2 » Posts by admin display_name Feed" href="http://wp.lab/wordpress-2.9.2/?feed=rss2&author=1" />
|
||||
<link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://wp.lab/wordpress-2.9.2/xmlrpc.php?rsd" />
|
||||
<link rel="wlwmanifest" type="application/wlwmanifest+xml" href="http://wp.lab/wordpress-2.9.2/wp-includes/wlwmanifest.xml" />
|
||||
<link rel='index' title='wordpress-2.9.2' href='http://wp.lab/wordpress-2.9.2' />
|
||||
<meta name="generator" content="WordPress 2.9.2" />
|
||||
</head>
|
||||
<body class="archive author author-admin">
|
||||
<div id="page">
|
||||
|
||||
|
||||
<div id="header" role="banner">
|
||||
<div id="headerimg">
|
||||
<h1><a href="http://wp.lab/wordpress-2.9.2/">wordpress-2.9.2</a></h1>
|
||||
<div class="description">Just another WordPress weblog</div>
|
||||
</div>
|
||||
</div>
|
||||
<hr />
|
||||
|
||||
<div id="content" class="narrowcolumn" role="main">
|
||||
|
||||
|
||||
<h2 class="pagetitle">Author Archive</h2>
|
||||
|
||||
|
||||
<div class="navigation">
|
||||
<div class="alignleft"></div>
|
||||
<div class="alignright"></div>
|
||||
</div>
|
||||
|
||||
<div class="post-1 post hentry category-uncategorized">
|
||||
<h3 id="post-1"><a href="http://wp.lab/wordpress-2.9.2/?p=1" rel="bookmark" title="Permanent Link to Hello world!">Hello world!</a></h3>
|
||||
<small>Tuesday, March 12th, 2013</small>
|
||||
|
||||
<div class="entry">
|
||||
<p>Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!</p>
|
||||
</div>
|
||||
|
||||
<p class="postmetadata"> Posted in <a href="http://wp.lab/wordpress-2.9.2/?cat=1" title="View all posts in Uncategorized" rel="category">Uncategorized</a> | <a href="http://wp.lab/wordpress-2.9.2/?p=1#comments" title="Comment on Hello world!">1 Comment »</a></p>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="navigation">
|
||||
<div class="alignleft"></div>
|
||||
<div class="alignright"></div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div id="sidebar" role="complementary">
|
||||
<ul>
|
||||
<li>
|
||||
<form role="search" method="get" id="searchform" action="http://wp.lab/wordpress-2.9.2/" >
|
||||
<div><label class="screen-reader-text" for="s">Search for:</label>
|
||||
<input type="text" value="" name="s" id="s" />
|
||||
<input type="submit" id="searchsubmit" value="Search" />
|
||||
</div>
|
||||
</form> </li>
|
||||
|
||||
<!-- Author information is disabled per default. Uncomment and fill in your details if you want to use it.
|
||||
<li><h2>Author</h2>
|
||||
<p>A little something about you, the author. Nothing lengthy, just an overview.</p>
|
||||
</li>
|
||||
-->
|
||||
|
||||
</ul>
|
||||
<ul role="navigation">
|
||||
<li class="pagenav"><h2>Pages</h2><ul><li class="page_item page-item-2"><a href="http://wp.lab/wordpress-2.9.2/?page_id=2" title="About">About</a></li>
|
||||
</ul></li>
|
||||
<li><h2>Archives</h2>
|
||||
<ul>
|
||||
<li><a href='http://wp.lab/wordpress-2.9.2/?m=201303' title='March 2013'>March 2013</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li class="categories"><h2>Categories</h2><ul> <li class="cat-item cat-item-1"><a href="http://wp.lab/wordpress-2.9.2/?cat=1" title="View all posts filed under Uncategorized">Uncategorized</a> (1)
|
||||
</li>
|
||||
</ul></li> </ul>
|
||||
<ul>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<hr />
|
||||
<div id="footer" role="contentinfo">
|
||||
<!-- If you'd like to support WordPress, having the "powered by" link somewhere on your blog is the best way; it's our only promotion or advertising. -->
|
||||
<p>
|
||||
wordpress-2.9.2 is proudly powered by
|
||||
<a href="http://wordpress.org/">WordPress</a>
|
||||
<br /><a href="http://wp.lab/wordpress-2.9.2/?feed=rss2">Entries (RSS)</a>
|
||||
and <a href="http://wp.lab/wordpress-2.9.2/?feed=comments-rss2">Comments (RSS)</a>.
|
||||
<!-- 16 queries. 0.121 seconds. -->
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Gorgeous design by Michael Heilemann - http://binarybonsai.com/kubrick/ -->
|
||||
|
||||
</body>
|
||||
</html>
|
||||
88
spec/fixtures/finders/users/author_id_brute_forcing/3.0-empty.html
vendored
Normal file
88
spec/fixtures/finders/users/author_id_brute_forcing/3.0-empty.html
vendored
Normal file
@@ -0,0 +1,88 @@
|
||||
<!DOCTYPE html>
|
||||
<html dir="ltr" lang="en-US">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>Page not found | wordpress-3.0</title>
|
||||
<link rel="profile" href="http://gmpg.org/xfn/11" />
|
||||
<link rel="stylesheet" type="text/css" media="all" href="http://wp.lab/wordpress-3.0/wp-content/themes/twentyten/style.css" />
|
||||
<link rel="pingback" href="http://wp.lab/wordpress-3.0/xmlrpc.php" />
|
||||
<meta name='robots' content='noindex,nofollow' />
|
||||
<link rel="alternate" type="application/rss+xml" title="wordpress-3.0 » Feed" href="http://wp.lab/wordpress-3.0/feed/" />
|
||||
<link rel="alternate" type="application/rss+xml" title="wordpress-3.0 » Comments Feed" href="http://wp.lab/wordpress-3.0/comments/feed/" />
|
||||
<link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://wp.lab/wordpress-3.0/xmlrpc.php?rsd" />
|
||||
<link rel="wlwmanifest" type="application/wlwmanifest+xml" href="http://wp.lab/wordpress-3.0/wp-includes/wlwmanifest.xml" />
|
||||
<link rel='index' title='wordpress-3.0' href='http://wp.lab/wordpress-3.0/' />
|
||||
<meta name="generator" content="WordPress 3.0" />
|
||||
</head>
|
||||
|
||||
<body class="error404">
|
||||
<div id="wrapper" class="hfeed">
|
||||
<div id="header">
|
||||
<div id="masthead">
|
||||
<div id="branding" role="banner">
|
||||
<div id="site-title">
|
||||
<span>
|
||||
<a href="http://wp.lab/wordpress-3.0/" title="wordpress-3.0" rel="home">wordpress-3.0</a>
|
||||
</span>
|
||||
</div>
|
||||
<div id="site-description">Just another WordPress site</div>
|
||||
|
||||
<img src="http://wp.lab/wordpress-3.0/wp-content/themes/twentyten/images/headers/path.jpg" width="940" height="198" alt="" />
|
||||
</div><!-- #branding -->
|
||||
|
||||
<div id="access" role="navigation">
|
||||
<div class="skip-link screen-reader-text"><a href="#content" title="Skip to content">Skip to content</a></div>
|
||||
<div class="menu"><ul><li ><a href="http://wp.lab/wordpress-3.0/" title="Home">Home</a></li><li class="page_item page-item-2"><a href="http://wp.lab/wordpress-3.0/about/" title="About">About</a></li></ul></div>
|
||||
</div><!-- #access -->
|
||||
</div><!-- #masthead -->
|
||||
</div><!-- #header -->
|
||||
|
||||
<div id="main">
|
||||
|
||||
<div id="container">
|
||||
<div id="content" role="main">
|
||||
|
||||
<div id="post-0" class="post error404 not-found">
|
||||
<h1 class="entry-title">Not Found</h1>
|
||||
<div class="entry-content">
|
||||
<p>Apologies, but the page you requested could not be found. Perhaps searching will help.</p>
|
||||
<form role="search" method="get" id="searchform" action="http://wp.lab/wordpress-3.0/" >
|
||||
<div><label class="screen-reader-text" for="s">Search for:</label>
|
||||
<input type="text" value="" name="s" id="s" />
|
||||
<input type="submit" id="searchsubmit" value="Search" />
|
||||
</div>
|
||||
</form> </div><!-- .entry-content -->
|
||||
</div><!-- #post-0 -->
|
||||
|
||||
</div><!-- #content -->
|
||||
</div><!-- #container -->
|
||||
<script type="text/javascript">
|
||||
// focus on search field after it has loaded
|
||||
document.getElementById('s') && document.getElementById('s').focus();
|
||||
</script>
|
||||
|
||||
</div><!-- #main -->
|
||||
|
||||
<div id="footer" role="contentinfo">
|
||||
<div id="colophon">
|
||||
|
||||
|
||||
|
||||
<div id="site-info">
|
||||
<a href="http://wp.lab/wordpress-3.0/" title="wordpress-3.0" rel="home">
|
||||
wordpress-3.0 </a>
|
||||
</div><!-- #site-info -->
|
||||
|
||||
<div id="site-generator">
|
||||
<a href="http://wordpress.org/"
|
||||
title="Semantic Personal Publishing Platform" rel="generator">
|
||||
Proudly powered by WordPress. </a>
|
||||
</div><!-- #site-generator -->
|
||||
|
||||
</div><!-- #colophon -->
|
||||
</div><!-- #footer -->
|
||||
|
||||
</div><!-- #wrapper -->
|
||||
|
||||
</body>
|
||||
</html>
|
||||
127
spec/fixtures/finders/users/author_id_brute_forcing/3.0-permalink.html
vendored
Normal file
127
spec/fixtures/finders/users/author_id_brute_forcing/3.0-permalink.html
vendored
Normal file
@@ -0,0 +1,127 @@
|
||||
<!DOCTYPE html>
|
||||
<html dir="ltr" lang="en-US">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>admin display_name | wordpress-3.0</title>
|
||||
|
||||
Some text /author/should-not-be-detected/
|
||||
|
||||
<link rel="profile" href="http://gmpg.org/xfn/11" />
|
||||
<link rel="stylesheet" type="text/css" media="all" href="http://wp.lab/wordpress-3.0/wp-content/themes/twentyten/style.css" />
|
||||
<link rel="pingback" href="http://wp.lab/wordpress-3.0/xmlrpc.php" />
|
||||
<meta name='robots' content='noindex,nofollow' />
|
||||
<link rel="alternate" type="application/rss+xml" title="wordpress-3.0 » Feed" href="http://wp.lab/wordpress-3.0/feed/" />
|
||||
<link rel="alternate" type="application/rss+xml" title="wordpress-3.0 » Comments Feed" href="http://wp.lab/wordpress-3.0/comments/feed/" />
|
||||
<link rel="alternate" type="application/rss+xml" title="wordpress-3.0 » Posts by admin display_name Feed" href="http://wp.lab/wordpress-3.0/author/admin/feed/" />
|
||||
<link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://wp.lab/wordpress-3.0/xmlrpc.php?rsd" />
|
||||
<link rel="wlwmanifest" type="application/wlwmanifest+xml" href="http://wp.lab/wordpress-3.0/wp-includes/wlwmanifest.xml" />
|
||||
<link rel='index' title='wordpress-3.0' href='http://wp.lab/wordpress-3.0/' />
|
||||
<meta name="generator" content="WordPress 3.0" />
|
||||
</head>
|
||||
|
||||
<body class="archive author author-admin logged-in">
|
||||
<div id="wrapper" class="hfeed">
|
||||
<div id="header">
|
||||
<div id="masthead">
|
||||
<div id="branding" role="banner">
|
||||
<div id="site-title">
|
||||
<span>
|
||||
<a href="http://wp.lab/wordpress-3.0/" title="wordpress-3.0" rel="home">wordpress-3.0</a>
|
||||
</span>
|
||||
</div>
|
||||
<div id="site-description">Just another WordPress site</div>
|
||||
|
||||
<img src="http://wp.lab/wordpress-3.0/wp-content/themes/twentyten/images/headers/path.jpg" width="940" height="198" alt="" />
|
||||
</div><!-- #branding -->
|
||||
|
||||
<div id="access" role="navigation">
|
||||
<div class="skip-link screen-reader-text"><a href="#content" title="Skip to content">Skip to content</a></div>
|
||||
<div class="menu"><ul><li ><a href="http://wp.lab/wordpress-3.0/" title="Home">Home</a></li><li class="page_item page-item-2"><a href="http://wp.lab/wordpress-3.0/about/" title="About">About</a></li></ul></div>
|
||||
</div><!-- #access -->
|
||||
</div><!-- #masthead -->
|
||||
</div><!-- #header -->
|
||||
|
||||
<div id="main">
|
||||
|
||||
<div id="container">
|
||||
<div id="content" role="main">
|
||||
|
||||
<h1 class="page-title author">Author Archives: <span class='vcard'><a class='url fn n' href='http://wp.lab/wordpress-3.0/author/admin/' title='admin display_name' rel='me'>admin display_name</a></span></h1>
|
||||
|
||||
<div id="post-1" class="post-1 post type-post hentry category-uncategorized">
|
||||
<h2 class="entry-title"><a href="http://wp.lab/wordpress-3.0/2013/03/12/hello-world/" title="Permalink to Hello world!" rel="bookmark">Hello world!</a></h2>
|
||||
|
||||
<div class="entry-meta">
|
||||
<span class="meta-prep meta-prep-author">Posted on</span> <a href="http://wp.lab/wordpress-3.0/2013/03/12/hello-world/" title="9:22 pm" rel="bookmark"><span class="entry-date">March 12, 2013</span></a> <span class="meta-sep">by</span> <span class="author vcard"><a class="url fn n" href="http://wp.lab/wordpress-3.0/author/admin/" title="View all posts by admin display_name">admin display_name</a></span> </div><!-- .entry-meta -->
|
||||
|
||||
<div class="entry-summary">
|
||||
<p>Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!</p>
|
||||
</div><!-- .entry-summary -->
|
||||
|
||||
<div class="entry-utility">
|
||||
<span class="cat-links">
|
||||
<span class="entry-utility-prep entry-utility-prep-cat-links">Posted in</span> <a href="http://wp.lab/wordpress-3.0/category/uncategorized/" title="View all posts in Uncategorized" rel="category tag">Uncategorized</a> </span>
|
||||
<span class="meta-sep">|</span>
|
||||
<span class="comments-link"><a href="http://wp.lab/wordpress-3.0/2013/03/12/hello-world/#comments" title="Comment on Hello world!">1 Comment</a></span>
|
||||
<span class="meta-sep">|</span> <span class="edit-link"><a class="post-edit-link" href="http://wp.lab/wordpress-3.0/wp-admin/post.php?post=1&action=edit" title="Edit Post">Edit</a></span> </div><!-- .entry-utility -->
|
||||
</div><!-- #post-## -->
|
||||
|
||||
|
||||
|
||||
|
||||
</div><!-- #content -->
|
||||
</div><!-- #container -->
|
||||
|
||||
|
||||
<div id="primary" class="widget-area" role="complementary">
|
||||
<ul class="xoxo">
|
||||
|
||||
<li id="search-2" class="widget-container widget_search"><form role="search" method="get" id="searchform" action="http://wp.lab/wordpress-3.0/" >
|
||||
<div><label class="screen-reader-text" for="s">Search for:</label>
|
||||
<input type="text" value="" name="s" id="s" />
|
||||
<input type="submit" id="searchsubmit" value="Search" />
|
||||
</div>
|
||||
</form></li> <li id="recent-posts-2" class="widget-container widget_recent_entries"> <h3 class="widget-title">Recent Posts</h3> <ul>
|
||||
<li><a href="http://wp.lab/wordpress-3.0/2013/03/12/hello-world/" title="Hello world!">Hello world!</a></li>
|
||||
</ul>
|
||||
</li><li id="recent-comments-2" class="widget-container widget_recent_comments"><h3 class="widget-title">Recent Comments</h3><ul id="recentcomments"><li class="recentcomments"><a href='http://wordpress.org/' rel='external nofollow' class='url'>Mr WordPress</a> on <a href="http://wp.lab/wordpress-3.0/2013/03/12/hello-world/#comment-1">Hello world!</a></li></ul></li><li id="archives-2" class="widget-container widget_archive"><h3 class="widget-title">Archives</h3> <ul>
|
||||
<li><a href='http://wp.lab/wordpress-3.0/2013/03/' title='March 2013'>March 2013</a></li>
|
||||
</ul>
|
||||
</li><li id="categories-2" class="widget-container widget_categories"><h3 class="widget-title">Categories</h3> <ul>
|
||||
<li class="cat-item cat-item-1"><a href="http://wp.lab/wordpress-3.0/category/uncategorized/" title="View all posts filed under Uncategorized">Uncategorized</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li><li id="meta-2" class="widget-container widget_meta"><h3 class="widget-title">Meta</h3> <ul>
|
||||
<li><a href="http://wp.lab/wordpress-3.0/wp-admin/">Site Admin</a></li> <li><a href="http://wp.lab/wordpress-3.0/wp-login.php?action=logout&_wpnonce=e9a42ccb94">Log out</a></li>
|
||||
<li><a href="http://wp.lab/wordpress-3.0/feed/" title="Syndicate this site using RSS 2.0">Entries <abbr title="Really Simple Syndication">RSS</abbr></a></li>
|
||||
<li><a href="http://wp.lab/wordpress-3.0/comments/feed/" title="The latest comments to all posts in RSS">Comments <abbr title="Really Simple Syndication">RSS</abbr></a></li>
|
||||
<li><a href="http://wordpress.org/" title="Powered by WordPress, state-of-the-art semantic personal publishing platform.">WordPress.org</a></li>
|
||||
</ul>
|
||||
</li> </ul>
|
||||
</div><!-- #primary .widget-area -->
|
||||
|
||||
</div><!-- #main -->
|
||||
|
||||
<div id="footer" role="contentinfo">
|
||||
<div id="colophon">
|
||||
|
||||
|
||||
|
||||
<div id="site-info">
|
||||
<a href="http://wp.lab/wordpress-3.0/" title="wordpress-3.0" rel="home">
|
||||
wordpress-3.0 </a>
|
||||
</div><!-- #site-info -->
|
||||
|
||||
<div id="site-generator">
|
||||
<a href="http://wordpress.org/"
|
||||
title="Semantic Personal Publishing Platform" rel="generator">
|
||||
Proudly powered by WordPress. </a>
|
||||
</div><!-- #site-generator -->
|
||||
|
||||
</div><!-- #colophon -->
|
||||
</div><!-- #footer -->
|
||||
|
||||
</div><!-- #wrapper -->
|
||||
|
||||
</body>
|
||||
</html>
|
||||
127
spec/fixtures/finders/users/author_id_brute_forcing/3.0.html
vendored
Normal file
127
spec/fixtures/finders/users/author_id_brute_forcing/3.0.html
vendored
Normal file
@@ -0,0 +1,127 @@
|
||||
<!DOCTYPE html>
|
||||
<html dir="ltr" lang="en-US">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>admin display_name | wordpress-3.0</title>
|
||||
|
||||
Some text /author/should-not-be-detected/
|
||||
|
||||
<link rel="profile" href="http://gmpg.org/xfn/11" />
|
||||
<link rel="stylesheet" type="text/css" media="all" href="http://wp.lab/wordpress-3.0/wp-content/themes/twentyten/style.css" />
|
||||
<link rel="pingback" href="http://wp.lab/wordpress-3.0/xmlrpc.php" />
|
||||
<meta name='robots' content='noindex,nofollow' />
|
||||
<link rel="alternate" type="application/rss+xml" title="wordpress-3.0 » Feed" href="http://wp.lab/wordpress-3.0/?feed=rss2" />
|
||||
<link rel="alternate" type="application/rss+xml" title="wordpress-3.0 » Comments Feed" href="http://wp.lab/wordpress-3.0/?feed=comments-rss2" />
|
||||
<link rel="alternate" type="application/rss+xml" title="wordpress-3.0 » Posts by admin display_name Feed" href="http://wp.lab/wordpress-3.0/?feed=rss2&author=1" />
|
||||
<link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://wp.lab/wordpress-3.0/xmlrpc.php?rsd" />
|
||||
<link rel="wlwmanifest" type="application/wlwmanifest+xml" href="http://wp.lab/wordpress-3.0/wp-includes/wlwmanifest.xml" />
|
||||
<link rel='index' title='wordpress-3.0' href='http://wp.lab/wordpress-3.0' />
|
||||
<meta name="generator" content="WordPress 3.0" />
|
||||
</head>
|
||||
|
||||
<body class="archive author author-admin logged-in">
|
||||
<div id="wrapper" class="hfeed">
|
||||
<div id="header">
|
||||
<div id="masthead">
|
||||
<div id="branding" role="banner">
|
||||
<div id="site-title">
|
||||
<span>
|
||||
<a href="http://wp.lab/wordpress-3.0/" title="wordpress-3.0" rel="home">wordpress-3.0</a>
|
||||
</span>
|
||||
</div>
|
||||
<div id="site-description">Just another WordPress site</div>
|
||||
|
||||
<img src="http://wp.lab/wordpress-3.0/wp-content/themes/twentyten/images/headers/path.jpg" width="940" height="198" alt="" />
|
||||
</div><!-- #branding -->
|
||||
|
||||
<div id="access" role="navigation">
|
||||
<div class="skip-link screen-reader-text"><a href="#content" title="Skip to content">Skip to content</a></div>
|
||||
<div class="menu"><ul><li ><a href="http://wp.lab/wordpress-3.0/" title="Home">Home</a></li><li class="page_item page-item-2"><a href="http://wp.lab/wordpress-3.0/?page_id=2" title="About">About</a></li></ul></div>
|
||||
</div><!-- #access -->
|
||||
</div><!-- #masthead -->
|
||||
</div><!-- #header -->
|
||||
|
||||
<div id="main">
|
||||
|
||||
<div id="container">
|
||||
<div id="content" role="main">
|
||||
|
||||
<h1 class="page-title author">Author Archives: <span class='vcard'><a class='url fn n' href='http://wp.lab/wordpress-3.0/?author=1' title='admin display_name' rel='me'>admin display_name</a></span></h1>
|
||||
|
||||
<div id="post-1" class="post-1 post type-post hentry category-uncategorized">
|
||||
<h2 class="entry-title"><a href="http://wp.lab/wordpress-3.0/?p=1" title="Permalink to Hello world!" rel="bookmark">Hello world!</a></h2>
|
||||
|
||||
<div class="entry-meta">
|
||||
<span class="meta-prep meta-prep-author">Posted on</span> <a href="http://wp.lab/wordpress-3.0/?p=1" title="9:22 pm" rel="bookmark"><span class="entry-date">March 12, 2013</span></a> <span class="meta-sep">by</span> <span class="author vcard"><a class="url fn n" href="http://wp.lab/wordpress-3.0/?author=1" title="View all posts by admin display_name">admin display_name</a></span> </div><!-- .entry-meta -->
|
||||
|
||||
<div class="entry-summary">
|
||||
<p>Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!</p>
|
||||
</div><!-- .entry-summary -->
|
||||
|
||||
<div class="entry-utility">
|
||||
<span class="cat-links">
|
||||
<span class="entry-utility-prep entry-utility-prep-cat-links">Posted in</span> <a href="http://wp.lab/wordpress-3.0/?cat=1" title="View all posts in Uncategorized" rel="category">Uncategorized</a> </span>
|
||||
<span class="meta-sep">|</span>
|
||||
<span class="comments-link"><a href="http://wp.lab/wordpress-3.0/?p=1#comments" title="Comment on Hello world!">1 Comment</a></span>
|
||||
<span class="meta-sep">|</span> <span class="edit-link"><a class="post-edit-link" href="http://wp.lab/wordpress-3.0/wp-admin/post.php?post=1&action=edit" title="Edit Post">Edit</a></span> </div><!-- .entry-utility -->
|
||||
</div><!-- #post-## -->
|
||||
|
||||
|
||||
|
||||
|
||||
</div><!-- #content -->
|
||||
</div><!-- #container -->
|
||||
|
||||
|
||||
<div id="primary" class="widget-area" role="complementary">
|
||||
<ul class="xoxo">
|
||||
|
||||
<li id="search-2" class="widget-container widget_search"><form role="search" method="get" id="searchform" action="http://wp.lab/wordpress-3.0/" >
|
||||
<div><label class="screen-reader-text" for="s">Search for:</label>
|
||||
<input type="text" value="" name="s" id="s" />
|
||||
<input type="submit" id="searchsubmit" value="Search" />
|
||||
</div>
|
||||
</form></li> <li id="recent-posts-2" class="widget-container widget_recent_entries"> <h3 class="widget-title">Recent Posts</h3> <ul>
|
||||
<li><a href="http://wp.lab/wordpress-3.0/?p=1" title="Hello world!">Hello world!</a></li>
|
||||
</ul>
|
||||
</li><li id="recent-comments-2" class="widget-container widget_recent_comments"><h3 class="widget-title">Recent Comments</h3><ul id="recentcomments"><li class="recentcomments"><a href='http://wordpress.org/' rel='external nofollow' class='url'>Mr WordPress</a> on <a href="http://wp.lab/wordpress-3.0/?p=1#comment-1">Hello world!</a></li></ul></li><li id="archives-2" class="widget-container widget_archive"><h3 class="widget-title">Archives</h3> <ul>
|
||||
<li><a href='http://wp.lab/wordpress-3.0/?m=201303' title='March 2013'>March 2013</a></li>
|
||||
</ul>
|
||||
</li><li id="categories-2" class="widget-container widget_categories"><h3 class="widget-title">Categories</h3> <ul>
|
||||
<li class="cat-item cat-item-1"><a href="http://wp.lab/wordpress-3.0/?cat=1" title="View all posts filed under Uncategorized">Uncategorized</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li><li id="meta-2" class="widget-container widget_meta"><h3 class="widget-title">Meta</h3> <ul>
|
||||
<li><a href="http://wp.lab/wordpress-3.0/wp-admin/">Site Admin</a></li> <li><a href="http://wp.lab/wordpress-3.0/wp-login.php?action=logout&_wpnonce=e9a42ccb94">Log out</a></li>
|
||||
<li><a href="http://wp.lab/wordpress-3.0/?feed=rss2" title="Syndicate this site using RSS 2.0">Entries <abbr title="Really Simple Syndication">RSS</abbr></a></li>
|
||||
<li><a href="http://wp.lab/wordpress-3.0/?feed=comments-rss2" title="The latest comments to all posts in RSS">Comments <abbr title="Really Simple Syndication">RSS</abbr></a></li>
|
||||
<li><a href="http://wordpress.org/" title="Powered by WordPress, state-of-the-art semantic personal publishing platform.">WordPress.org</a></li>
|
||||
</ul>
|
||||
</li> </ul>
|
||||
</div><!-- #primary .widget-area -->
|
||||
|
||||
</div><!-- #main -->
|
||||
|
||||
<div id="footer" role="contentinfo">
|
||||
<div id="colophon">
|
||||
|
||||
|
||||
|
||||
<div id="site-info">
|
||||
<a href="http://wp.lab/wordpress-3.0/" title="wordpress-3.0" rel="home">
|
||||
wordpress-3.0 </a>
|
||||
</div><!-- #site-info -->
|
||||
|
||||
<div id="site-generator">
|
||||
<a href="http://wordpress.org/"
|
||||
title="Semantic Personal Publishing Platform" rel="generator">
|
||||
Proudly powered by WordPress. </a>
|
||||
</div><!-- #site-generator -->
|
||||
|
||||
</div><!-- #colophon -->
|
||||
</div><!-- #footer -->
|
||||
|
||||
</div><!-- #wrapper -->
|
||||
|
||||
</body>
|
||||
</html>
|
||||
125
spec/fixtures/finders/users/author_id_brute_forcing/4.1.1-empty.html
vendored
Normal file
125
spec/fixtures/finders/users/author_id_brute_forcing/4.1.1-empty.html
vendored
Normal file
@@ -0,0 +1,125 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en-US" class="no-js">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<link rel="profile" href="http://gmpg.org/xfn/11">
|
||||
<link rel="pingback" href="http://wp.lab/wordpress-4.1.1/xmlrpc.php">
|
||||
<!--[if lt IE 9]>
|
||||
<script src="http://wp.lab/wordpress-4.1.1/wp-content/themes/twentyfifteen/js/html5.js"></script>
|
||||
<![endif]-->
|
||||
<script>(function(){document.documentElement.className='js'})();</script>
|
||||
<title>Page not found | WP 4.1.1</title>
|
||||
<meta name='robots' content='noindex,follow' />
|
||||
<link rel="alternate" type="application/rss+xml" title="WP 4.1.1 » Feed" href="http://wp.lab/wordpress-4.1.1/feed/" />
|
||||
<link rel="alternate" type="application/rss+xml" title="WP 4.1.1 » Comments Feed" href="http://wp.lab/wordpress-4.1.1/comments/feed/" />
|
||||
<link rel='stylesheet' id='twentyfifteen-fonts-css' href='//fonts.googleapis.com/css?family=Noto+Sans%3A400italic%2C700italic%2C400%2C700%7CNoto+Serif%3A400italic%2C700italic%2C400%2C700%7CInconsolata%3A400%2C700&subset=latin%2Clatin-ext' type='text/css' media='all' />
|
||||
<link rel='stylesheet' id='genericons-css' href='http://wp.lab/wordpress-4.1.1/wp-content/themes/twentyfifteen/genericons/genericons.css?ver=3.2' type='text/css' media='all' />
|
||||
<link rel='stylesheet' id='twentyfifteen-style-css' href='http://wp.lab/wordpress-4.1.1/wp-content/themes/twentyfifteen/style.css?ver=4.1.1' type='text/css' media='all' />
|
||||
<!--[if lt IE 9]>
|
||||
<link rel='stylesheet' id='twentyfifteen-ie-css' href='http://wp.lab/wordpress-4.1.1/wp-content/themes/twentyfifteen/css/ie.css?ver=20141010' type='text/css' media='all' />
|
||||
<![endif]-->
|
||||
<!--[if lt IE 8]>
|
||||
<link rel='stylesheet' id='twentyfifteen-ie7-css' href='http://wp.lab/wordpress-4.1.1/wp-content/themes/twentyfifteen/css/ie7.css?ver=20141010' type='text/css' media='all' />
|
||||
<![endif]-->
|
||||
<script type='text/javascript' src='http://wp.lab/wordpress-4.1.1/wp-includes/js/jquery/jquery.js?ver=1.11.1'></script>
|
||||
<script type='text/javascript' src='http://wp.lab/wordpress-4.1.1/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.2.1'></script>
|
||||
<link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://wp.lab/wordpress-4.1.1/xmlrpc.php?rsd" />
|
||||
<link rel="wlwmanifest" type="application/wlwmanifest+xml" href="http://wp.lab/wordpress-4.1.1/wp-includes/wlwmanifest.xml" />
|
||||
<meta name="generator" content="WordPress 4.1.1" />
|
||||
<style type="text/css">.recentcomments a{display:inline !important;padding:0 !important;margin:0 !important;}</style>
|
||||
</head>
|
||||
|
||||
<body class="error404">
|
||||
<div id="page" class="hfeed site">
|
||||
<a class="skip-link screen-reader-text" href="#content">Skip to content</a>
|
||||
|
||||
<div id="sidebar" class="sidebar">
|
||||
<header id="masthead" class="site-header" role="banner">
|
||||
<div class="site-branding">
|
||||
<p class="site-title"><a href="http://wp.lab/wordpress-4.1.1/" rel="home">WP 4.1.1</a></p>
|
||||
<p class="site-description">Just another WordPress site</p>
|
||||
<button class="secondary-toggle">Menu and widgets</button>
|
||||
</div><!-- .site-branding -->
|
||||
</header><!-- .site-header -->
|
||||
|
||||
<div id="secondary" class="secondary">
|
||||
|
||||
|
||||
|
||||
<div id="widget-area" class="widget-area" role="complementary">
|
||||
<aside id="search-2" class="widget widget_search"><form role="search" method="get" class="search-form" action="http://wp.lab/wordpress-4.1.1/">
|
||||
<label>
|
||||
<span class="screen-reader-text">Search for:</span>
|
||||
<input type="search" class="search-field" placeholder="Search …" value="" name="s" title="Search for:" />
|
||||
</label>
|
||||
<input type="submit" class="search-submit screen-reader-text" value="Search" />
|
||||
</form></aside> <aside id="recent-posts-2" class="widget widget_recent_entries"> <h2 class="widget-title">Recent Posts</h2> <ul>
|
||||
<li>
|
||||
<a href="http://wp.lab/wordpress-4.1.1/2015/02/20/hello-world/">Hello world!</a>
|
||||
</li>
|
||||
</ul>
|
||||
</aside><aside id="recent-comments-2" class="widget widget_recent_comments"><h2 class="widget-title">Recent Comments</h2><ul id="recentcomments"><li class="recentcomments"><span class="comment-author-link"><a href='https://wordpress.org/' rel='external nofollow' class='url'>Mr WordPress</a></span> on <a href="http://wp.lab/wordpress-4.1.1/2015/02/20/hello-world/#comment-1">Hello world!</a></li></ul></aside><aside id="archives-2" class="widget widget_archive"><h2 class="widget-title">Archives</h2> <ul>
|
||||
<li><a href='http://wp.lab/wordpress-4.1.1/2015/02/'>February 2015</a></li>
|
||||
</ul>
|
||||
</aside><aside id="categories-2" class="widget widget_categories"><h2 class="widget-title">Categories</h2> <ul>
|
||||
<li class="cat-item cat-item-1"><a href="http://wp.lab/wordpress-4.1.1/category/uncategorized/" >Uncategorized</a>
|
||||
</li>
|
||||
</ul>
|
||||
</aside><aside id="meta-2" class="widget widget_meta"><h2 class="widget-title">Meta</h2> <ul>
|
||||
<li><a href="http://wp.lab/wordpress-4.1.1/wp-login.php">Log in</a></li>
|
||||
<li><a href="http://wp.lab/wordpress-4.1.1/feed/">Entries <abbr title="Really Simple Syndication">RSS</abbr></a></li>
|
||||
<li><a href="http://wp.lab/wordpress-4.1.1/comments/feed/">Comments <abbr title="Really Simple Syndication">RSS</abbr></a></li>
|
||||
<li><a href="https://wordpress.org/" title="Powered by WordPress, state-of-the-art semantic personal publishing platform.">WordPress.org</a></li> </ul>
|
||||
</aside> </div><!-- .widget-area -->
|
||||
|
||||
</div><!-- .secondary -->
|
||||
|
||||
</div><!-- .sidebar -->
|
||||
|
||||
<div id="content" class="site-content">
|
||||
|
||||
<div id="primary" class="content-area">
|
||||
<main id="main" class="site-main" role="main">
|
||||
|
||||
<section class="error-404 not-found">
|
||||
<header class="page-header">
|
||||
<h1 class="page-title">Oops! That page can’t be found.</h1>
|
||||
</header><!-- .page-header -->
|
||||
|
||||
<div class="page-content">
|
||||
<p>It looks like nothing was found at this location. Maybe try a search?</p>
|
||||
|
||||
<form role="search" method="get" class="search-form" action="http://wp.lab/wordpress-4.1.1/">
|
||||
<label>
|
||||
<span class="screen-reader-text">Search for:</span>
|
||||
<input type="search" class="search-field" placeholder="Search …" value="" name="s" title="Search for:" />
|
||||
</label>
|
||||
<input type="submit" class="search-submit screen-reader-text" value="Search" />
|
||||
</form> </div><!-- .page-content -->
|
||||
</section><!-- .error-404 -->
|
||||
|
||||
</main><!-- .site-main -->
|
||||
</div><!-- .content-area -->
|
||||
|
||||
|
||||
</div><!-- .site-content -->
|
||||
|
||||
<footer id="colophon" class="site-footer" role="contentinfo">
|
||||
<div class="site-info">
|
||||
<a href="https://wordpress.org/">Proudly powered by WordPress</a>
|
||||
</div><!-- .site-info -->
|
||||
</footer><!-- .site-footer -->
|
||||
|
||||
</div><!-- .site -->
|
||||
|
||||
<script type='text/javascript' src='http://wp.lab/wordpress-4.1.1/wp-content/themes/twentyfifteen/js/skip-link-focus-fix.js?ver=20141010'></script>
|
||||
<script type='text/javascript'>
|
||||
/* <![CDATA[ */
|
||||
var screenReaderText = {"expand":"<span class=\"screen-reader-text\">expand child menu<\/span>","collapse":"<span class=\"screen-reader-text\">collapse child menu<\/span>"};
|
||||
/* ]]> */
|
||||
</script>
|
||||
<script type='text/javascript' src='http://wp.lab/wordpress-4.1.1/wp-content/themes/twentyfifteen/js/functions.js?ver=20141212'></script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
130
spec/fixtures/finders/users/author_id_brute_forcing/4.1.1-permalink.html
vendored
Normal file
130
spec/fixtures/finders/users/author_id_brute_forcing/4.1.1-permalink.html
vendored
Normal file
@@ -0,0 +1,130 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en-US" class="no-js">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<link rel="profile" href="http://gmpg.org/xfn/11">
|
||||
<link rel="pingback" href="http://wp.lab/wordpress-4.1.1/xmlrpc.php">
|
||||
<!--[if lt IE 9]>
|
||||
<script src="http://wp.lab/wordpress-4.1.1/wp-content/themes/twentyfifteen/js/html5.js"></script>
|
||||
<![endif]-->
|
||||
<script>(function(){document.documentElement.className='js'})();</script>
|
||||
<title>admin display_name | WP 4.1.1</title>
|
||||
|
||||
Some text /author/should-not-be-detected/
|
||||
|
||||
<meta name='robots' content='noindex,follow' />
|
||||
<link rel="alternate" type="application/rss+xml" title="WP 4.1.1 » Feed" href="http://wp.lab/wordpress-4.1.1/feed/" />
|
||||
<link rel="alternate" type="application/rss+xml" title="WP 4.1.1 » Comments Feed" href="http://wp.lab/wordpress-4.1.1/comments/feed/" />
|
||||
<link rel="alternate" type="application/rss+xml" title="WP 4.1.1 » Posts by admin display_name Feed" href="http://wp.lab/wordpress-4.1.1/author/admin/feed/" />
|
||||
<link rel='stylesheet' id='twentyfifteen-fonts-css' href='//fonts.googleapis.com/css?family=Noto+Sans%3A400italic%2C700italic%2C400%2C700%7CNoto+Serif%3A400italic%2C700italic%2C400%2C700%7CInconsolata%3A400%2C700&subset=latin%2Clatin-ext' type='text/css' media='all' />
|
||||
<link rel='stylesheet' id='genericons-css' href='http://wp.lab/wordpress-4.1.1/wp-content/themes/twentyfifteen/genericons/genericons.css?ver=3.2' type='text/css' media='all' />
|
||||
<link rel='stylesheet' id='twentyfifteen-style-css' href='http://wp.lab/wordpress-4.1.1/wp-content/themes/twentyfifteen/style.css?ver=4.1.1' type='text/css' media='all' />
|
||||
<!--[if lt IE 9]>
|
||||
<link rel='stylesheet' id='twentyfifteen-ie-css' href='http://wp.lab/wordpress-4.1.1/wp-content/themes/twentyfifteen/css/ie.css?ver=20141010' type='text/css' media='all' />
|
||||
<![endif]-->
|
||||
<!--[if lt IE 8]>
|
||||
<link rel='stylesheet' id='twentyfifteen-ie7-css' href='http://wp.lab/wordpress-4.1.1/wp-content/themes/twentyfifteen/css/ie7.css?ver=20141010' type='text/css' media='all' />
|
||||
<![endif]-->
|
||||
<script type='text/javascript' src='http://wp.lab/wordpress-4.1.1/wp-includes/js/jquery/jquery.js?ver=1.11.1'></script>
|
||||
<script type='text/javascript' src='http://wp.lab/wordpress-4.1.1/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.2.1'></script>
|
||||
<link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://wp.lab/wordpress-4.1.1/xmlrpc.php?rsd" />
|
||||
<link rel="wlwmanifest" type="application/wlwmanifest+xml" href="http://wp.lab/wordpress-4.1.1/wp-includes/wlwmanifest.xml" />
|
||||
<meta name="generator" content="WordPress 4.1.1" />
|
||||
<style type="text/css">.recentcomments a{display:inline !important;padding:0 !important;margin:0 !important;}</style>
|
||||
</head>
|
||||
|
||||
<body class="archive author author-admin author-1">
|
||||
<div id="page" class="hfeed site">
|
||||
<a class="skip-link screen-reader-text" href="#content">Skip to content</a>
|
||||
|
||||
<div id="sidebar" class="sidebar">
|
||||
<header id="masthead" class="site-header" role="banner">
|
||||
<div class="site-branding">
|
||||
<p class="site-title"><a href="http://wp.lab/wordpress-4.1.1/" rel="home">WP 4.1.1</a></p>
|
||||
<p class="site-description">Just another WordPress site</p>
|
||||
<button class="secondary-toggle">Menu and widgets</button>
|
||||
</div><!-- .site-branding -->
|
||||
</header><!-- .site-header -->
|
||||
|
||||
<div id="secondary" class="secondary">
|
||||
|
||||
<div id="widget-area" class="widget-area" role="complementary">
|
||||
<aside id="search-2" class="widget widget_search"><form role="search" method="get" class="search-form" action="http://wp.lab/wordpress-4.1.1/">
|
||||
<label>
|
||||
<span class="screen-reader-text">Search for:</span>
|
||||
<input type="search" class="search-field" placeholder="Search …" value="" name="s" title="Search for:" />
|
||||
</label>
|
||||
<input type="submit" class="search-submit screen-reader-text" value="Search" />
|
||||
</form></aside> <aside id="recent-posts-2" class="widget widget_recent_entries"> <h2 class="widget-title">Recent Posts</h2> <ul>
|
||||
<li>
|
||||
<a href="http://wp.lab/wordpress-4.1.1/2015/02/20/hello-world/">Hello world!</a>
|
||||
</li>
|
||||
</ul>
|
||||
</aside><aside id="recent-comments-2" class="widget widget_recent_comments"><h2 class="widget-title">Recent Comments</h2><ul id="recentcomments"><li class="recentcomments"><span class="comment-author-link"><a href='https://wordpress.org/' rel='external nofollow' class='url'>Mr WordPress</a></span> on <a href="http://wp.lab/wordpress-4.1.1/2015/02/20/hello-world/#comment-1">Hello world!</a></li></ul></aside><aside id="archives-2" class="widget widget_archive"><h2 class="widget-title">Archives</h2> <ul>
|
||||
<li><a href='http://wp.lab/wordpress-4.1.1/2015/02/'>February 2015</a></li>
|
||||
</ul>
|
||||
</aside><aside id="categories-2" class="widget widget_categories"><h2 class="widget-title">Categories</h2> <ul>
|
||||
<li class="cat-item cat-item-1"><a href="http://wp.lab/wordpress-4.1.1/category/uncategorized/" >Uncategorized</a>
|
||||
</li>
|
||||
</ul>
|
||||
</aside><aside id="meta-2" class="widget widget_meta"><h2 class="widget-title">Meta</h2> <ul>
|
||||
<li><a href="http://wp.lab/wordpress-4.1.1/wp-login.php">Log in</a></li>
|
||||
<li><a href="http://wp.lab/wordpress-4.1.1/feed/">Entries <abbr title="Really Simple Syndication">RSS</abbr></a></li>
|
||||
<li><a href="http://wp.lab/wordpress-4.1.1/comments/feed/">Comments <abbr title="Really Simple Syndication">RSS</abbr></a></li>
|
||||
<li><a href="https://wordpress.org/" title="Powered by WordPress, state-of-the-art semantic personal publishing platform.">WordPress.org</a></li> </ul>
|
||||
</aside> </div><!-- .widget-area -->
|
||||
|
||||
</div><!-- .secondary -->
|
||||
|
||||
</div><!-- .sidebar -->
|
||||
|
||||
<div id="content" class="site-content">
|
||||
|
||||
<section id="primary" class="content-area">
|
||||
<main id="main" class="site-main" role="main">
|
||||
|
||||
|
||||
<header class="page-header">
|
||||
<h1 class="page-title">Author: <span class="vcard">admin display_name</span></h1> </header><!-- .page-header -->
|
||||
|
||||
|
||||
<article id="post-1" class="post-1 post type-post status-publish format-standard hentry category-uncategorized">
|
||||
|
||||
<header class="entry-header">
|
||||
<h2 class="entry-title"><a href="http://wp.lab/wordpress-4.1.1/2015/02/20/hello-world/" rel="bookmark">Hello world!</a></h2> </header><!-- .entry-header -->
|
||||
|
||||
<div class="entry-content">
|
||||
<p>Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!</p>
|
||||
</div><!-- .entry-content -->
|
||||
|
||||
|
||||
<footer class="entry-footer">
|
||||
<span class="posted-on"><span class="screen-reader-text">Posted on </span><a href="http://wp.lab/wordpress-4.1.1/2015/02/20/hello-world/" rel="bookmark"><time class="entry-date published updated" datetime="2015-02-20T14:25:02+00:00">February 20, 2015</time></a></span><span class="comments-link"><a href="http://wp.lab/wordpress-4.1.1/2015/02/20/hello-world/#comments" title="Comment on Hello world!">1 Comment</a></span> </footer><!-- .entry-footer -->
|
||||
|
||||
</article><!-- #post-## -->
|
||||
|
||||
</main><!-- .site-main -->
|
||||
</section><!-- .content-area -->
|
||||
|
||||
|
||||
</div><!-- .site-content -->
|
||||
|
||||
<footer id="colophon" class="site-footer" role="contentinfo">
|
||||
<div class="site-info">
|
||||
<a href="https://wordpress.org/">Proudly powered by WordPress</a>
|
||||
</div><!-- .site-info -->
|
||||
</footer><!-- .site-footer -->
|
||||
|
||||
</div><!-- .site -->
|
||||
|
||||
<script type='text/javascript' src='http://wp.lab/wordpress-4.1.1/wp-content/themes/twentyfifteen/js/skip-link-focus-fix.js?ver=20141010'></script>
|
||||
<script type='text/javascript'>
|
||||
/* <![CDATA[ */
|
||||
var screenReaderText = {"expand":"<span class=\"screen-reader-text\">expand child menu<\/span>","collapse":"<span class=\"screen-reader-text\">collapse child menu<\/span>"};
|
||||
/* ]]> */
|
||||
</script>
|
||||
<script type='text/javascript' src='http://wp.lab/wordpress-4.1.1/wp-content/themes/twentyfifteen/js/functions.js?ver=20141212'></script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
130
spec/fixtures/finders/users/author_id_brute_forcing/4.1.1.html
vendored
Normal file
130
spec/fixtures/finders/users/author_id_brute_forcing/4.1.1.html
vendored
Normal file
@@ -0,0 +1,130 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en-US" class="no-js">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<link rel="profile" href="http://gmpg.org/xfn/11">
|
||||
<link rel="pingback" href="http://wp.lab/wordpress-4.1.1/xmlrpc.php">
|
||||
<!--[if lt IE 9]>
|
||||
<script src="http://wp.lab/wordpress-4.1.1/wp-content/themes/twentyfifteen/js/html5.js"></script>
|
||||
<![endif]-->
|
||||
<script>(function(){document.documentElement.className='js'})();</script>
|
||||
<title>admin display_name | WP 4.1.1</title>
|
||||
|
||||
Some text /author/should-not-be-detected/
|
||||
|
||||
<meta name='robots' content='noindex,follow' />
|
||||
<link rel="alternate" type="application/rss+xml" title="WP 4.1.1 » Feed" href="http://wp.lab/wordpress-4.1.1/?feed=rss2" />
|
||||
<link rel="alternate" type="application/rss+xml" title="WP 4.1.1 » Comments Feed" href="http://wp.lab/wordpress-4.1.1/?feed=comments-rss2" />
|
||||
<link rel="alternate" type="application/rss+xml" title="WP 4.1.1 » Posts by admin display_name Feed" href="http://wp.lab/wordpress-4.1.1/?feed=rss2&author=1" />
|
||||
<link rel='stylesheet' id='twentyfifteen-fonts-css' href='//fonts.googleapis.com/css?family=Noto+Sans%3A400italic%2C700italic%2C400%2C700%7CNoto+Serif%3A400italic%2C700italic%2C400%2C700%7CInconsolata%3A400%2C700&subset=latin%2Clatin-ext' type='text/css' media='all' />
|
||||
<link rel='stylesheet' id='genericons-css' href='http://wp.lab/wordpress-4.1.1/wp-content/themes/twentyfifteen/genericons/genericons.css?ver=3.2' type='text/css' media='all' />
|
||||
<link rel='stylesheet' id='twentyfifteen-style-css' href='http://wp.lab/wordpress-4.1.1/wp-content/themes/twentyfifteen/style.css?ver=4.1.1' type='text/css' media='all' />
|
||||
<!--[if lt IE 9]>
|
||||
<link rel='stylesheet' id='twentyfifteen-ie-css' href='http://wp.lab/wordpress-4.1.1/wp-content/themes/twentyfifteen/css/ie.css?ver=20141010' type='text/css' media='all' />
|
||||
<![endif]-->
|
||||
<!--[if lt IE 8]>
|
||||
<link rel='stylesheet' id='twentyfifteen-ie7-css' href='http://wp.lab/wordpress-4.1.1/wp-content/themes/twentyfifteen/css/ie7.css?ver=20141010' type='text/css' media='all' />
|
||||
<![endif]-->
|
||||
<script type='text/javascript' src='http://wp.lab/wordpress-4.1.1/wp-includes/js/jquery/jquery.js?ver=1.11.1'></script>
|
||||
<script type='text/javascript' src='http://wp.lab/wordpress-4.1.1/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.2.1'></script>
|
||||
<link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://wp.lab/wordpress-4.1.1/xmlrpc.php?rsd" />
|
||||
<link rel="wlwmanifest" type="application/wlwmanifest+xml" href="http://wp.lab/wordpress-4.1.1/wp-includes/wlwmanifest.xml" />
|
||||
<meta name="generator" content="WordPress 4.1.1" />
|
||||
<style type="text/css">.recentcomments a{display:inline !important;padding:0 !important;margin:0 !important;}</style>
|
||||
</head>
|
||||
|
||||
<body class="archive author author-admin author-1">
|
||||
<div id="page" class="hfeed site">
|
||||
<a class="skip-link screen-reader-text" href="#content">Skip to content</a>
|
||||
|
||||
<div id="sidebar" class="sidebar">
|
||||
<header id="masthead" class="site-header" role="banner">
|
||||
<div class="site-branding">
|
||||
<p class="site-title"><a href="http://wp.lab/wordpress-4.1.1/" rel="home">WP 4.1.1</a></p>
|
||||
<p class="site-description">Just another WordPress site</p>
|
||||
<button class="secondary-toggle">Menu and widgets</button>
|
||||
</div><!-- .site-branding -->
|
||||
</header><!-- .site-header -->
|
||||
|
||||
<div id="secondary" class="secondary">
|
||||
|
||||
<div id="widget-area" class="widget-area" role="complementary">
|
||||
<aside id="search-2" class="widget widget_search"><form role="search" method="get" class="search-form" action="http://wp.lab/wordpress-4.1.1/">
|
||||
<label>
|
||||
<span class="screen-reader-text">Search for:</span>
|
||||
<input type="search" class="search-field" placeholder="Search …" value="" name="s" title="Search for:" />
|
||||
</label>
|
||||
<input type="submit" class="search-submit screen-reader-text" value="Search" />
|
||||
</form></aside> <aside id="recent-posts-2" class="widget widget_recent_entries"> <h2 class="widget-title">Recent Posts</h2> <ul>
|
||||
<li>
|
||||
<a href="http://wp.lab/wordpress-4.1.1/?p=1">Hello world!</a>
|
||||
</li>
|
||||
</ul>
|
||||
</aside><aside id="recent-comments-2" class="widget widget_recent_comments"><h2 class="widget-title">Recent Comments</h2><ul id="recentcomments"><li class="recentcomments"><span class="comment-author-link"><a href='https://wordpress.org/' rel='external nofollow' class='url'>Mr WordPress</a></span> on <a href="http://wp.lab/wordpress-4.1.1/?p=1#comment-1">Hello world!</a></li></ul></aside><aside id="archives-2" class="widget widget_archive"><h2 class="widget-title">Archives</h2> <ul>
|
||||
<li><a href='http://wp.lab/wordpress-4.1.1/?m=201502'>February 2015</a></li>
|
||||
</ul>
|
||||
</aside><aside id="categories-2" class="widget widget_categories"><h2 class="widget-title">Categories</h2> <ul>
|
||||
<li class="cat-item cat-item-1"><a href="http://wp.lab/wordpress-4.1.1/?cat=1" >Uncategorized</a>
|
||||
</li>
|
||||
</ul>
|
||||
</aside><aside id="meta-2" class="widget widget_meta"><h2 class="widget-title">Meta</h2> <ul>
|
||||
<li><a href="http://wp.lab/wordpress-4.1.1/wp-login.php">Log in</a></li>
|
||||
<li><a href="http://wp.lab/wordpress-4.1.1/?feed=rss2">Entries <abbr title="Really Simple Syndication">RSS</abbr></a></li>
|
||||
<li><a href="http://wp.lab/wordpress-4.1.1/?feed=comments-rss2">Comments <abbr title="Really Simple Syndication">RSS</abbr></a></li>
|
||||
<li><a href="https://wordpress.org/" title="Powered by WordPress, state-of-the-art semantic personal publishing platform.">WordPress.org</a></li> </ul>
|
||||
</aside> </div><!-- .widget-area -->
|
||||
|
||||
</div><!-- .secondary -->
|
||||
|
||||
</div><!-- .sidebar -->
|
||||
|
||||
<div id="content" class="site-content">
|
||||
|
||||
<section id="primary" class="content-area">
|
||||
<main id="main" class="site-main" role="main">
|
||||
|
||||
|
||||
<header class="page-header">
|
||||
<h1 class="page-title">Author: <span class="vcard">admin display_name</span></h1> </header><!-- .page-header -->
|
||||
|
||||
|
||||
<article id="post-1" class="post-1 post type-post status-publish format-standard hentry category-uncategorized">
|
||||
|
||||
<header class="entry-header">
|
||||
<h2 class="entry-title"><a href="http://wp.lab/wordpress-4.1.1/?p=1" rel="bookmark">Hello world!</a></h2> </header><!-- .entry-header -->
|
||||
|
||||
<div class="entry-content">
|
||||
<p>Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!</p>
|
||||
</div><!-- .entry-content -->
|
||||
|
||||
|
||||
<footer class="entry-footer">
|
||||
<span class="posted-on"><span class="screen-reader-text">Posted on </span><a href="http://wp.lab/wordpress-4.1.1/?p=1" rel="bookmark"><time class="entry-date published updated" datetime="2015-02-20T14:25:02+00:00">February 20, 2015</time></a></span><span class="comments-link"><a href="http://wp.lab/wordpress-4.1.1/?p=1#comments" title="Comment on Hello world!">1 Comment</a></span> </footer><!-- .entry-footer -->
|
||||
|
||||
</article><!-- #post-## -->
|
||||
|
||||
</main><!-- .site-main -->
|
||||
</section><!-- .content-area -->
|
||||
|
||||
|
||||
</div><!-- .site-content -->
|
||||
|
||||
<footer id="colophon" class="site-footer" role="contentinfo">
|
||||
<div class="site-info">
|
||||
<a href="https://wordpress.org/">Proudly powered by WordPress</a>
|
||||
</div><!-- .site-info -->
|
||||
</footer><!-- .site-footer -->
|
||||
|
||||
</div><!-- .site -->
|
||||
|
||||
<script type='text/javascript' src='http://wp.lab/wordpress-4.1.1/wp-content/themes/twentyfifteen/js/skip-link-focus-fix.js?ver=20141010'></script>
|
||||
<script type='text/javascript'>
|
||||
/* <![CDATA[ */
|
||||
var screenReaderText = {"expand":"<span class=\"screen-reader-text\">expand child menu<\/span>","collapse":"<span class=\"screen-reader-text\">collapse child menu<\/span>"};
|
||||
/* ]]> */
|
||||
</script>
|
||||
<script type='text/javascript' src='http://wp.lab/wordpress-4.1.1/wp-content/themes/twentyfifteen/js/functions.js?ver=20141212'></script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
28
spec/fixtures/finders/users/author_posts/potential_usernames.html
vendored
Normal file
28
spec/fixtures/finders/users/author_posts/potential_usernames.html
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
<footer class="entry-footer">
|
||||
<span class="posted-on">
|
||||
<span class="screen-reader-text">Posted on </span>
|
||||
<a href="http://wp.lab/wordpress-4.1.1/2015/02/20/hello-world/" rel="bookmark">
|
||||
<time class="entry-date published updated" datetime="2015-02-20T14:25:02+00:00">February 20, 2015</time>
|
||||
</a>
|
||||
</span>
|
||||
<span class="byline">
|
||||
<span class="author vcard">
|
||||
<span class="screen-reader-text">Author </span>
|
||||
<a class="url fn n" href="http://wp.lab/wordpress-4.1.1/author/admin/">admin display_name</a>
|
||||
</span>
|
||||
</span>
|
||||
</footer>
|
||||
|
||||
<span class="byline">
|
||||
<span class="author vcard">
|
||||
<a rel="author" href="http://wp.lab/wordpress-3.8/?author=1" class="url fn n">admin display_name </a> <!-- trailing space should not appear in the result -->
|
||||
</span>
|
||||
</span>
|
||||
|
||||
<span class="single-sidebar-date">March 4, 2015 | By <a href="feature/author/editor">Editor</a></span>
|
||||
|
||||
<span class="single-sidebar-date">March 4, 2015 | By <a href="feature/?author=2">editor</a></span>
|
||||
|
||||
<span class="single-sidebar-date">March 4, 1015 | By <a href="http://ancient.world/feature/author/not-from-this-world">Should not be reported</a></span>
|
||||
|
||||
<a no-href-attribute>yolo</a>
|
||||
53
spec/fixtures/finders/users/rss_generator/feed.xml
vendored
Normal file
53
spec/fixtures/finders/users/rss_generator/feed.xml
vendored
Normal file
@@ -0,0 +1,53 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
|
||||
xmlns:content="http://purl.org/rss/1.0/modules/content/"
|
||||
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:atom="http://www.w3.org/2005/Atom"
|
||||
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
|
||||
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
|
||||
>
|
||||
|
||||
<channel>
|
||||
<title>WP Local</title>
|
||||
<atom:link href="http://ex.lo/feed/" rel="self" type="application/rss+xml" />
|
||||
<link>http://ex.lo</link>
|
||||
<description>Just another WordPress site</description>
|
||||
<lastBuildDate>Sun, 23 Sep 2018 13:53:04 +0000</lastBuildDate>
|
||||
<language>en-US</language>
|
||||
<sy:updatePeriod>hourly</sy:updatePeriod>
|
||||
<sy:updateFrequency>1</sy:updateFrequency>
|
||||
<generator>https://wordpress.org/?v=4.9.1</generator>
|
||||
<item>
|
||||
<title>Hello world!</title>
|
||||
<link>http://ex.lo/2018/09/23/hello-world/</link>
|
||||
<comments>http://ex.lo/2018/09/23/hello-world/#comments</comments>
|
||||
<pubDate>Sun, 23 Sep 2018 11:31:56 +0000</pubDate>
|
||||
<dc:creator><![CDATA[admin]]></dc:creator>
|
||||
<category><![CDATA[Uncategorized]]></category>
|
||||
|
||||
<guid isPermaLink="false">http://ex.lo/?p=1</guid>
|
||||
<description><![CDATA[Welcome to WordPress. This is your first post. Edit or delete it, then start writing!]]></description>
|
||||
<content:encoded><![CDATA[<p>Welcome to WordPress. This is your first post. Edit or delete it, then start writing!</p>
|
||||
]]></content:encoded>
|
||||
<wfw:commentRss>http://ex.lo/2018/09/23/hello-world/feed/</wfw:commentRss>
|
||||
<slash:comments>1</slash:comments>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<title>Hello world!</title>
|
||||
<link>http://ex.lo/2018/09/23/hello-world/</link>
|
||||
<comments>http://ex.lo/2018/09/23/hello-world/#comments</comments>
|
||||
<pubDate>Sun, 23 Sep 2018 11:31:56 +0000</pubDate>
|
||||
<dc:creator><![CDATA[Aa Días-Gildés]]></dc:creator>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<title>Hello world!</title>
|
||||
<link>http://ex.lo/2018/09/23/hello-world/</link>
|
||||
<comments>http://ex.lo/2018/09/23/hello-world/#comments</comments>
|
||||
<pubDate>Sun, 23 Sep 2018 11:31:56 +0000</pubDate>
|
||||
<dc:creator><dc:creator><![CDATA[Michael Schrage. <p>Michael Schrage is a researcher at the MIT Sloan School of Management Initiative on the Digital Economy, where he does research and advisory work on how digital media transforms agency, human capital, and innovation.</p>
|
||||
]]></dc:creator></dc:creator>
|
||||
</item>
|
||||
</channel>
|
||||
</rss>
|
||||
19
spec/fixtures/finders/users/rss_generator/homepage_links.html
vendored
Normal file
19
spec/fixtures/finders/users/rss_generator/homepage_links.html
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en-US" class="no-js">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<link rel="profile" href="http://gmpg.org/xfn/11">
|
||||
<link rel="pingback" href="http://ex.lo/xmlrpc.php">
|
||||
<!--[if lt IE 9]>
|
||||
<script src="http://ex.lo/wp-content/themes/twentyfifteen/js/html5.js"></script>
|
||||
<![endif]-->
|
||||
<script>(function(html){html.className = html.className.replace(/\bno-js\b/,'js')})(document.documentElement);</script>
|
||||
<title>WP 4.7 – Just another WordPress site</title>
|
||||
<meta name='robots' content='noindex,follow' />
|
||||
<link rel='dns-prefetch' href='//fonts.googleapis.com' />
|
||||
<link rel='dns-prefetch' href='//s.w.org' />
|
||||
<link href='https://fonts.gstatic.com' crossorigin rel='preconnect' />
|
||||
|
||||
<link rel="alternate" type="application/rss+xml" title="WP 4.7 » Feed" href="http://ex.lo/feed/" />
|
||||
<link rel="alternate" type="application/atom+xml" title="WP 4.7 » Atom" href="http://ex.lo/?feed=atom" />
|
||||
0
spec/fixtures/finders/users/rss_generator/homepage_no_links.html
vendored
Normal file
0
spec/fixtures/finders/users/rss_generator/homepage_no_links.html
vendored
Normal file
28
spec/fixtures/finders/users/wp_json_api/4.7.2.json
vendored
Normal file
28
spec/fixtures/finders/users/wp_json_api/4.7.2.json
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
[
|
||||
{
|
||||
"id": 1,
|
||||
"name": "admin",
|
||||
"url": "",
|
||||
"description": "",
|
||||
"link": "http://wp.lab/wordpress-4.7/author/admin/",
|
||||
"slug": "admin",
|
||||
"avatar_urls": {
|
||||
"24": "http://1.gravatar.com/avatar/473fe256a0c7b9e907b55b2f492f8686?s=24&d=mm&r=g",
|
||||
"48": "http://1.gravatar.com/avatar/473fe256a0c7b9e907b55b2f492f8686?s=48&d=mm&r=g",
|
||||
"96": "http://1.gravatar.com/avatar/473fe256a0c7b9e907b55b2f492f8686?s=96&d=mm&r=g"
|
||||
},
|
||||
"meta": [],
|
||||
"_links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "http://wp.lab/wordpress-4.7/wp-json/wp/v2/users/1"
|
||||
}
|
||||
],
|
||||
"collection": [
|
||||
{
|
||||
"href": "http://wp.lab/wordpress-4.7/wp-json/wp/v2/users"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
7
spec/fixtures/finders/users/wp_json_api/401.json
vendored
Normal file
7
spec/fixtures/finders/users/wp_json_api/401.json
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"code": "rest_user_cannot_view",
|
||||
"message": "Sorry, you are not allowed to list users.",
|
||||
"data": {
|
||||
"status": 401
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user