HEX
Server: Apache/2.4.34 (Red Hat) OpenSSL/1.0.2k-fips
System: Linux WORDPRESS 3.10.0-1160.118.1.el7.x86_64 #1 SMP Thu Apr 4 03:33:23 EDT 2024 x86_64
User: digital (1020)
PHP: 7.2.24
Disabled: NONE
Upload Files
File: /datos/www/www.colombia.co/public_html/wp-content/plugins/backwpup/inc/class-help.php
<?php

class BackWPup_Help
{
    public static function help()
    {
        if (method_exists(get_current_screen(), 'add_help_tab')) {
            get_current_screen()->add_help_tab([
                'id' => 'plugininfo',
                'title' => __('Plugin Info', 'backwpup'),
                'content' => '<p> ' . str_replace('\"', '"', sprintf(_x('%1$s version %2$s. A project by <a href="http://inpsyde.com">Inpsyde GmbH</a>.', 'Plugin name and link; Plugin Version', 'backwpup'), '<a href="' . esc_attr__('http://backwpup.com', 'backwpup') . '">' . BackWPup::get_plugin_data('Name') . '</a>', BackWPup::get_plugin_data('Version'))) . '</p>'
                . '<p>' . esc_html__('BackWPup comes with ABSOLUTELY NO WARRANTY. This is a free software, and you are welcome to redistribute it under certain conditions.', 'backwpup') . '</p>',
            ]);

            $text_help_sidebar = '<p><strong>' . __('For more information:', 'backwpup') . '</strong></p>';
            $text_help_sidebar .= '<p><a href="' . esc_attr__('http://backwpup.com', 'backwpup') . '">' . BackWPup::get_plugin_data('Name') . '</a></p>';
            $text_help_sidebar .= '<p><a href="http://wordpress.org/extend/plugins/backwpup/">' . esc_html__('Plugin on wordpress.org', 'backwpup') . '</a></p>';
            $text_help_sidebar .= '<p><a href="' . esc_attr__('http://docs.backwpup.com', 'backwpup') . '">' . esc_html__('Manual', 'backwpup') . '</a></p>';

            get_current_screen()->set_help_sidebar($text_help_sidebar);
        }
    }

    /**
     * @static
     *
     * @param array $tab
     */
    public static function add_tab($tab = [])
    {
        if (method_exists(get_current_screen(), 'add_help_tab')) {
            get_current_screen()->add_help_tab($tab);
        }
    }
}