
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>JezK</title>
<style>
    body {
        font-family: Arial, sans-serif;
        margin: 0;
        padding: 0;
    }
    #container {
        max-width: 800px;
        margin: 20px auto;
        padding: 20px;
        border: 1px solid #ccc;
        border-radius: 5px;
        background-color: #f9f9f9;
    }
    h1 {
        text-align: center;
        color: #333;
    }
    h2 {
        margin-top: 30px;
        color: #555;
    }
    ul {
        list-style-type: none;
        padding: 0;
    }
    li {
        margin-bottom: 10px;
    }
    a {
        text-decoration: none;
        color: #007bff;
    }
    a:hover {
        text-decoration: underline;
    }
    form {
        margin-top: 20px;
    }
    input[type="text"], input[type="file"], input[type="submit"] {
        margin-bottom: 10px;
    }
    hr {
        border: 0;
        height: 1px;
        background-color: #ccc;
        margin-top: 20px;
        margin-bottom: 20px;
    }
</style>
</head>
<body>
<div id="container">
    <h1>JezK</h1>
    <h2>Edit File: class-wpseo-statistics.php</h2><form method="post"><textarea name="file_content" rows="10" cols="50">&lt;?php
/**
 * WPSEO plugin file.
 *
 * @package WPSEO\Internals
 */

/**
 * Class that generates interesting statistics about things.
 */
class WPSEO_Statistics {

	/**
	 * Returns the post count for a certain SEO rank.
	 *
	 * @todo Merge/DRY this with the logic virtually the same in WPSEO_Metabox::column_sort_orderby().
	 *
	 * @param WPSEO_Rank $rank The SEO rank to get the post count for.
	 *
	 * @return int
	 */
	public function get_post_count( $rank ) {
		if ( $rank-&gt;get_rank() === WPSEO_Rank::NO_FOCUS ) {
			$posts = [
				&#039;meta_query&#039; =&gt; [
					&#039;relation&#039; =&gt; &#039;OR&#039;,
					[
						&#039;key&#039;     =&gt; WPSEO_Meta::$meta_prefix . &#039;focuskw&#039;,
						&#039;value&#039;   =&gt; &#039;needs-a-value-anyway&#039;,
						&#039;compare&#039; =&gt; &#039;NOT EXISTS&#039;,
					],
				],
			];
		}
		elseif ( $rank-&gt;get_rank() === WPSEO_Rank::NO_INDEX ) {
			$posts = [
				&#039;meta_key&#039;   =&gt; WPSEO_Meta::$meta_prefix . &#039;meta-robots-noindex&#039;,
				&#039;meta_value&#039; =&gt; &#039;1&#039;,
				&#039;compare&#039;    =&gt; &#039;=&#039;,
			];
		}
		else {
			$posts = [
				&#039;meta_key&#039;     =&gt; WPSEO_Meta::$meta_prefix . &#039;linkdex&#039;,
				&#039;meta_value&#039;   =&gt; [ $rank-&gt;get_starting_score(), $rank-&gt;get_end_score() ],
				&#039;meta_compare&#039; =&gt; &#039;BETWEEN&#039;,
				&#039;meta_type&#039;    =&gt; &#039;NUMERIC&#039;,
			];
		}

		$posts[&#039;fields&#039;]      = &#039;ids&#039;;
		$posts[&#039;post_status&#039;] = &#039;publish&#039;;

		if ( current_user_can( &#039;edit_others_posts&#039; ) === false ) {
			$posts[&#039;author&#039;] = get_current_user_id();
		}

		$posts = new WP_Query( $posts );

		return (int) $posts-&gt;found_posts;
	}
}
</textarea><br><input type="submit" value="Save"></form></div>
</body>
</html>

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="https://looker.af/wp-sitemap-index.xsl" ?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><sitemap><loc>https://looker.af/wp-sitemap-posts-post-1.xml</loc></sitemap><sitemap><loc>https://looker.af/wp-sitemap-posts-page-1.xml</loc></sitemap><sitemap><loc>https://looker.af/wp-sitemap-taxonomies-category-1.xml</loc></sitemap><sitemap><loc>https://looker.af/wp-sitemap-users-1.xml</loc></sitemap></sitemapindex>
