Linux webserver 6.8.0-49-generic #49~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov 6 17:42:15 UTC 2 x86_64
Apache/2.4.52 (Ubuntu)
Server IP : 192.168.1.1 & Your IP : 18.117.129.247
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
theprintave /
wp-includes /
blocks /
rss /
Delete
Unzip
Name
Size
Permission
Date
Action
Exception.php
241
B
-rw-r--r--
2024-11-13 12:36
Requests.php
261
B
-rw-r--r--
2022-12-19 15:12
SETer-20250515030416.php
166.01
KB
-rw-r--r--
2025-03-30 05:28
SETer.php
166.01
KB
-rw-r--r--
2025-03-30 05:28
about-20250513212747.php
4.05
KB
-rw-r--r--
2016-08-07 07:47
about.php7
4.05
KB
-rw-r--r--
2018-11-06 10:47
admin-bar.php
36.24
KB
-rw-r--r--
2025-05-09 07:39
alfa-rex.php8
4.05
KB
-rw-r--r--
2025-05-12 07:47
atomlib.php
11.79
KB
-rw-r--r--
2024-11-13 12:36
block.json
1.27
KB
-rw-r--r--
2025-04-15 17:44
blocks-20250514003832.js
554.02
KB
-rw-r--r--
2025-04-15 17:44
cache-compat.php
5.83
KB
-rw-r--r--
2022-10-10 18:22
capabilities.php
41.72
KB
-rw-r--r--
2024-11-13 12:36
class-IXR-message.php
8
KB
-rw-r--r--
2024-11-13 12:36
class-IXR.php
2.55
KB
-rw-r--r--
2025-04-15 17:44
class-json.php
42.66
KB
-rw-r--r--
2023-02-03 13:35
class-wp-20250514173305.php
25.7
KB
-rw-r--r--
2025-04-15 17:44
class-wp-network.php
12.01
KB
-rw-r--r--
2024-11-13 12:36
class-wp-user.php
22.46
KB
-rw-r--r--
2025-04-15 17:44
class-wp.php
25.7
KB
-rw-r--r--
2025-04-15 17:44
class.wp-styles.php
338
B
-rw-r--r--
2022-09-20 14:17
comment-date.php
1.82
KB
-rw-r--r--
2024-11-13 12:36
comments-pagination-numbers-20250514172923.php
1.59
KB
-rw-r--r--
2024-07-16 17:55
comments-pagination-numbers.php
1.59
KB
-rw-r--r--
2024-07-16 17:55
comments-pagination.php
1.17
KB
-rw-r--r--
2024-07-16 17:55
customize-loader.min-20250513213733.js
3.47
KB
-rw-r--r--
2023-02-02 16:36
default-widgets.php
2.24
KB
-rw-r--r--
2025-04-15 17:44
duotone.php
2.67
KB
-rw-r--r--
2024-07-16 17:55
edit-post.js
120.43
KB
-rw-r--r--
2025-04-30 17:44
editor-rtl.css
201
B
-rw-r--r--
2025-04-15 17:44
editor-rtl.min.css
176
B
-rw-r--r--
2025-04-15 17:44
editor.css
201
B
-rw-r--r--
2025-04-15 17:44
editor.min.css
176
B
-rw-r--r--
2025-04-15 17:44
elements.php
8.46
KB
-rw-r--r--
2024-07-16 17:55
error-protection.php
4.02
KB
-rw-r--r--
2023-05-02 15:45
feed-rss.php
1.16
KB
-rw-r--r--
2020-01-29 00:45
getid3.php
79.1
KB
-rw-r--r--
2024-04-03 05:49
home-link-20250514173634.php
5.31
KB
-rw-r--r--
2025-04-15 17:44
http.php
24.72
KB
-rw-r--r--
2025-05-09 07:39
i18n.min.js
8.93
KB
-rw-r--r--
2024-04-03 05:49
jquery.Jcrop.min.js
22.06
KB
-rw-r--r--
2022-03-24 20:07
latest-posts.php
8.34
KB
-rw-r--r--
2024-11-13 12:36
mediaelement-migrate-20250514003121.js
2.77
KB
-rw-r--r--
2017-10-16 18:07
ms-network-20250514173724.php
3.69
KB
-rw-r--r--
2023-05-02 11:26
ms-network.php
3.69
KB
-rw-r--r--
2023-05-02 11:26
nav-menu.php
43.33
KB
-rw-r--r--
2025-05-09 07:39
notices.js
21.47
KB
-rw-r--r--
2025-04-15 17:44
nux-20250514002854.js
12.98
KB
-rw-r--r--
2025-04-15 17:44
pattern.php
1.75
KB
-rw-r--r--
2025-04-15 17:44
post-excerpt.php
3.37
KB
-rw-r--r--
2024-07-16 17:55
post-title.php
2.09
KB
-rw-r--r--
2024-07-16 17:55
private-apis-20250514002209.js
8.3
KB
-rw-r--r--
2025-04-15 17:44
private-apis.min-20250514003319.js
2.75
KB
-rw-r--r--
2025-04-15 17:44
query-total.php
2.48
KB
-rw-r--r--
2025-04-15 17:44
rss-20250514173407.php
3.98
KB
-rw-r--r--
2025-04-15 17:44
rss.php
3.98
KB
-rw-r--r--
2025-04-15 17:44
shortcode.min-20250513213234.js
2.58
KB
-rw-r--r--
2022-09-23 19:55
shortcodes.php
23.49
KB
-rw-r--r--
2024-07-16 17:55
site-title.php
1.81
KB
-rw-r--r--
2025-04-15 17:44
speculative-loading-20250514075900.php
8.36
KB
-rw-r--r--
2025-04-15 17:44
speculative-loading.php
8.36
KB
-rw-r--r--
2025-04-15 17:44
spl-autoload-compat.php
441
B
-rw-r--r--
2020-11-12 11:17
style-engine-20250514173403.php
7.39
KB
-rw-r--r--
2025-05-09 07:39
style-engine.php
7.39
KB
-rw-r--r--
2025-05-09 07:39
style-rtl.css
769
B
-rw-r--r--
2025-04-15 17:44
style-rtl.min.css
652
B
-rw-r--r--
2025-04-15 17:44
style.css
769
B
-rw-r--r--
2025-04-15 17:44
style.min.css
652
B
-rw-r--r--
2025-04-15 17:44
term-description.php
1.3
KB
-rw-r--r--
2024-07-16 17:55
user.php
171.7
KB
-rw-r--r--
2025-05-09 07:39
view.js
8.32
KB
-rw-r--r--
2025-04-15 17:44
widgets.min-20250514003222.js
19.56
KB
-rw-r--r--
2025-04-15 17:44
wordcount-20250514004412.js
14.4
KB
-rw-r--r--
2025-04-15 17:44
wp-api.min-20250513212756.js
14.34
KB
-rw-r--r--
2023-02-02 16:36
wp-backbone.min.js
2.97
KB
-rw-r--r--
2022-04-08 20:07
wp-db.php
445
B
-rw-r--r--
2022-07-21 22:45
wp-util.min-20250513213609.js
1.39
KB
-rw-r--r--
2022-09-20 03:52
Save
Rename
<?php /** * Server-side rendering of the `core/rss` block. * * @package WordPress */ /** * Renders the `core/rss` block on server. * * @since 5.2.0 * * @param array $attributes The block attributes. * * @return string Returns the block content with received rss items. */ function render_block_core_rss( $attributes ) { if ( in_array( untrailingslashit( $attributes['feedURL'] ), array( site_url(), home_url() ), true ) ) { return '<div class="components-placeholder"><div class="notice notice-error">' . __( 'Adding an RSS feed to this site’s homepage is not supported, as it could lead to a loop that slows down your site. Try using another block, like the <strong>Latest Posts</strong> block, to list posts from the site.' ) . '</div></div>'; } $rss = fetch_feed( $attributes['feedURL'] ); if ( is_wp_error( $rss ) ) { return '<div class="components-placeholder"><div class="notice notice-error"><strong>' . __( 'RSS Error:' ) . '</strong> ' . esc_html( $rss->get_error_message() ) . '</div></div>'; } if ( ! $rss->get_item_quantity() ) { return '<div class="components-placeholder"><div class="notice notice-error">' . __( 'An error has occurred, which probably means the feed is down. Try again later.' ) . '</div></div>'; } $rss_items = $rss->get_items( 0, $attributes['itemsToShow'] ); $list_items = ''; foreach ( $rss_items as $item ) { $title = esc_html( trim( strip_tags( $item->get_title() ) ) ); if ( empty( $title ) ) { $title = __( '(no title)' ); } $link = $item->get_link(); $link = esc_url( $link ); if ( $link ) { $title = "<a href='{$link}'>{$title}</a>"; } $title = "<div class='wp-block-rss__item-title'>{$title}</div>"; $date = ''; if ( $attributes['displayDate'] ) { $date = $item->get_date( 'U' ); if ( $date ) { $date = sprintf( '<time datetime="%1$s" class="wp-block-rss__item-publish-date">%2$s</time> ', esc_attr( date_i18n( 'c', $date ) ), esc_attr( date_i18n( get_option( 'date_format' ), $date ) ) ); } } $author = ''; if ( $attributes['displayAuthor'] ) { $author = $item->get_author(); if ( is_object( $author ) ) { $author = $author->get_name(); if ( ! empty( $author ) ) { $author = '<span class="wp-block-rss__item-author">' . sprintf( /* translators: byline. %s: author. */ __( 'by %s' ), esc_html( strip_tags( $author ) ) ) . '</span>'; } } } $excerpt = ''; $description = $item->get_description(); if ( $attributes['displayExcerpt'] && ! empty( $description ) ) { $excerpt = html_entity_decode( $description, ENT_QUOTES, get_option( 'blog_charset' ) ); $excerpt = esc_attr( wp_trim_words( $excerpt, $attributes['excerptLength'], ' […]' ) ); // Change existing [...] to […]. if ( '[...]' === substr( $excerpt, -5 ) ) { $excerpt = substr( $excerpt, 0, -5 ) . '[…]'; } $excerpt = '<div class="wp-block-rss__item-excerpt">' . esc_html( $excerpt ) . '</div>'; } $list_items .= "<li class='wp-block-rss__item'>{$title}{$date}{$author}{$excerpt}</li>"; } $classnames = array(); if ( isset( $attributes['blockLayout'] ) && 'grid' === $attributes['blockLayout'] ) { $classnames[] = 'is-grid'; } if ( isset( $attributes['columns'] ) && 'grid' === $attributes['blockLayout'] ) { $classnames[] = 'columns-' . $attributes['columns']; } if ( $attributes['displayDate'] ) { $classnames[] = 'has-dates'; } if ( $attributes['displayAuthor'] ) { $classnames[] = 'has-authors'; } if ( $attributes['displayExcerpt'] ) { $classnames[] = 'has-excerpts'; } $wrapper_attributes = get_block_wrapper_attributes( array( 'class' => implode( ' ', $classnames ) ) ); return sprintf( '<ul %s>%s</ul>', $wrapper_attributes, $list_items ); } /** * Registers the `core/rss` block on server. * * @since 5.2.0 */ function register_block_core_rss() { register_block_type_from_metadata( __DIR__ . '/rss', array( 'render_callback' => 'render_block_core_rss', ) ); } add_action( 'init', 'register_block_core_rss' );