Submit
Path:
~
/
home
/
bfxleof
/
www
/
wp-content
/
plugins
/
loco-translate
/
src
/
admin
/
File Content:
class-wpseo-statistics.php
<?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->get_rank() === WPSEO_Rank::NO_FOCUS ) { $posts = [ 'meta_query' => [ 'relation' => 'OR', [ 'key' => WPSEO_Meta::$meta_prefix . 'focuskw', 'value' => 'needs-a-value-anyway', 'compare' => 'NOT EXISTS', ], ], ]; } elseif ( $rank->get_rank() === WPSEO_Rank::NO_INDEX ) { $posts = [ 'meta_key' => WPSEO_Meta::$meta_prefix . 'meta-robots-noindex', 'meta_value' => '1', 'compare' => '=', ]; } else { $posts = [ 'meta_key' => WPSEO_Meta::$meta_prefix . 'linkdex', 'meta_value' => [ $rank->get_starting_score(), $rank->get_end_score() ], 'meta_compare' => 'BETWEEN', 'meta_type' => 'NUMERIC', ]; } $posts['fields'] = 'ids'; $posts['post_status'] = 'publish'; if ( current_user_can( 'edit_others_posts' ) === false ) { $posts['author'] = get_current_user_id(); } $posts = new WP_Query( $posts ); return (int) $posts->found_posts; } }
Edit
Rename
Chmod
Delete
FILE
FOLDER
Name
Size
Permission
Action
config
---
0755
list
---
0755
AjaxRouter.php
6839 bytes
0644
DownloadConfController.php
945 bytes
0644
JsonSerializable.php
577 bytes
0644
Project.php
25730 bytes
0644
Revisions.php
6508 bytes
0644
SyncOptions.php
2310 bytes
0644
class-sitemaps-admin.php
3665 bytes
0644
class-wpseo-statistics-20260705060524.php
1443 bytes
0644
class-wpseo-statistics.php
1443 bytes
0644
dashboard-1650-rtl.css
1634 bytes
0644
deactivation.php
21118 bytes
0644
duplicator-main-20260707001922.php
26907 bytes
0644
duplicator-main.php
26907 bytes
0644
duplicator.php
1781 bytes
0644
elFinderVolumeLocalFileSystem.class-20260623050500-20260706214316.php
48544 bytes
0644
elFinderVolumeLocalFileSystem.class-20260623050500.php
48544 bytes
0644
exceptions.php
708 bytes
0644
image-helper.php
10231 bytes
0644
loco.php
5626 bytes
0644
manager-20260705065820.php
14659 bytes
0644
manager.php
14659 bytes
0644
meta-fields-presenter.php
1600 bytes
0644
recovery.php
1146 bytes
0644
root.php
1951 bytes
0644
uninstall.php
4401 bytes
0644
wordpress-seojs-ar-20260708002531.json
25925 bytes
0644
wordpress-seojs-ar.json
25925 bytes
0644
wordpress-seojs-fi.json
19387 bytes
0644
N4ST4R_ID | Naxtarrr