Commit realizado el 12:13:52 08-04-2024

This commit is contained in:
Pagina Web Monito
2024-04-08 12:13:55 -04:00
commit 0c33094de9
7815 changed files with 1365694 additions and 0 deletions

View File

@@ -0,0 +1 @@
<?php // Silence is golden.

View File

@@ -0,0 +1,40 @@
<?php
/**
* Status & Tools main view file.
*
* @package RankMath
* @subpackage RankMath\Status
* @author Rank Math <support@rankmath.com>
* @license GPL-2.0+
* @link https://rankmath.com/wordpress/plugin/seo-suite/
* @copyright 2019 Rank Math
*/
use RankMath\Helper;
use RankMath\Helpers\Param;
defined( 'ABSPATH' ) || exit;
$default_tab = apply_filters( 'rank_math/tools/default_tab', 'status' );
$module = Helper::get_module( 'status' );
$current = Param::get( 'view', $default_tab );
if ( ! in_array( $current, array_keys( apply_filters( 'rank_math/tools/pages', [] ) ), true ) ) {
Helper::redirect( Helper::get_admin_url( 'status' ) );
exit;
}
// Header.
rank_math()->admin->display_admin_header();
?>
<div class="wrap rank-math-wrap rank-math-tools-wrap dashboard">
<span class='wp-header-end'></span>
<?php $module->display_nav(); ?>
<div class="rank-math-ui dashboard-wrapper container <?php echo esc_attr( $current ); ?>">
<?php $module->display_body( $current ); ?>
</div>
</div>

View File

@@ -0,0 +1,45 @@
<?php
/**
* System Status - debug data accordion section.
*
* @package RankMath
* @subpackage RankMath\Status
* @author Rank Math <support@rankmath.com>
* @license GPL-2.0+
* @link https://rankmath.com/wordpress/plugin/seo-suite/
* @copyright 2019 Rank Math
*/
defined( 'ABSPATH' ) || exit;
?>
<h3 class="health-check-accordion-heading">
<button aria-expanded="false" class="health-check-accordion-trigger" aria-controls="health-check-accordion-block-<?php echo esc_attr( $section ); ?>" type="button">
<span class="title">
<?php echo esc_html( $details['label'] ); ?>
<?php
if ( isset( $details['show_count'] ) && $details['show_count'] ) {
printf( '(%d)', count( $details['fields'] ) );
}
?>
</span>
<span class="icon"></span>
</button>
</h3>
<div id="health-check-accordion-block-<?php echo esc_attr( $section ); ?>" class="health-check-accordion-panel" hidden="hidden">
<?php
if ( isset( $details['description'] ) && ! empty( $details['description'] ) ) {
printf( '<p>%s</p>', esc_html( $details['description'] ) );
}
?>
<table class="widefat striped health-check-table" role="presentation">
<tbody>
<?php $this->display_system_info_fields( $details['fields'] ); ?>
</tbody>
</table>
</div>