get_bloginfo example

$requires_php
            );

            $blocked_message .= '<li>' . esc_html( $error ) . '</li>';
            $can_update       = false;
        }

        if ( ! is_wp_version_compatible( $requires_wp ) ) {
            $error = sprintf(
                /* translators: 1: Current WordPress version, 2: Version required by the uploaded theme. */
                __( 'Your WordPress version is %1$s, however the uploaded theme requires %2$s.' ),
                get_bloginfo( 'version' ),
                $requires_wp
            );

            $blocked_message .= '<li>' . esc_html( $error ) . '</li>';
            $can_update       = false;
        }

        $blocked_message .= '</ul>';

        if ( $can_update ) {
            if ( $this->is_downgrading ) {
                
'label'       => '',
            'status'      => '',
            'badge'       => array(
                'label' => __( 'Performance' ),
                'color' => 'blue',
            ),
            'description' => '',
            'actions'     => '',
            'test'        => 'wordpress_version',
        );

        $core_current_version = get_bloginfo( 'version' );
        $core_updates         = get_core_updates();

        if ( ! is_array( $core_updates ) ) {
            $result['status'] = 'recommended';

            $result['label'] = sprintf(
                /* translators: %s: Your current version of WordPress. */
                __( 'WordPress version %s' ),
                $core_current_version
            );

            
global $wpdb$_wp_theme_features;

        // Save few function calls.         $upload_dir             = wp_upload_dir();
        $permalink_structure    = get_option( 'permalink_structure' );
        $is_ssl                 = is_ssl();
        $is_multisite           = is_multisite();
        $users_can_register     = get_option( 'users_can_register' );
        $blog_public            = get_option( 'blog_public' );
        $default_comment_status = get_option( 'default_comment_status' );
        $environment_type       = wp_get_environment_type();
        $core_version           = get_bloginfo( 'version' );
        $core_updates           = get_core_updates();
        $core_update_needed     = '';

        if ( is_array( $core_updates ) ) {
            foreach ( $core_updates as $core => $update ) {
                if ( 'upgrade' === $update->response ) {
                    /* translators: %s: Latest WordPress version number. */
                    $core_update_needed = ' ' . sprintf( __( '(Latest version: %s)' )$update->version );
                } else {
                    $core_update_needed = '';
                }
            }
require_once __DIR__ . '/admin.php';

// This file was used to also display the Privacy tab on the About screen from 4.9.6 until 5.3.0. if ( isset( $_GET['privacy-notice'] ) ) {
    wp_redirect( admin_url( 'privacy.php' ), 301 );
    exit;
}

// Used in the HTML title tag. $title = __( 'Freedoms' );

list( $display_version ) = explode( '-', get_bloginfo( 'version' ) );

require_once ABSPATH . 'wp-admin/admin-header.php';
?> <div class="wrap about__container"> <div class="about__header"> <div class="about__header-title"> <h1> <?php _e( 'The Four Freedoms' ); ?> </h1> </div> <div class="about__header-text">

?> <hr /> <div id="footer" role="contentinfo"> <!-- If you'd like to support WordPress, having the "powered by" link somewhere on your blog is the best way; it's our only promotion or advertising. --> <p> <?php         printf(
            /* translators: 1: Site name, 2: WordPress */
            __( '%1$s is proudly powered by %2$s' ),
            get_bloginfo( 'name' ),
            '<a href="https://wordpress.org/">WordPress</a>'
        );
        ?> </p> </div> </div> <!-- Gorgeous design by Michael Heilemann - http://binarybonsai.com/ --> <?php /* "Just what do you think you're doing Dave?" */ ?> <?php wp_footer(); ?>
 elseif ( 'taxonomy' === $item->type && ! empty( $item->object_id ) ) {
            $original_term_title = get_term_field( 'name', $item->object_id, $item->object, 'raw' );
            if ( ! is_wp_error( $original_term_title ) ) {
                $original_title = $original_term_title;
            }
        } elseif ( 'post_type_archive' === $item->type ) {
            $original_object = get_post_type_object( $item->object );
            if ( $original_object ) {
                $original_title = $original_object->labels->archives;
            }
        }
        $original_title = html_entity_decode( $original_title, ENT_QUOTES, get_bloginfo( 'charset' ) );
        return $original_title;
    }

    /** * Get type label. * * @since 4.7.0 * * @param object $item Nav menu item. * @return string The type label. */
    
$widgets = array();

        foreach ( $wp_registered_widgets as $widget ) {
            $parsed_id     = wp_parse_widget_id( $widget['id'] );
            $widget_object = $wp_widget_factory->get_widget_object( $parsed_id['id_base'] );

            $widget['id']       = $parsed_id['id_base'];
            $widget['is_multi'] = (bool) $widget_object;

            if ( isset( $widget['name'] ) ) {
                $widget['name'] = html_entity_decode( $widget['name'], ENT_QUOTES, get_bloginfo( 'charset' ) );
            }

            if ( isset( $widget['description'] ) ) {
                $widget['description'] = html_entity_decode( $widget['description'], ENT_QUOTES, get_bloginfo( 'charset' ) );
            }

            unset( $widget['callback'] );

            $classname = '';
            foreach ( (array) $widget['classname'] as $cn ) {
                if ( is_string( $cn ) ) {
                    

        );

        /* * Gather all strings in PHP that may be needed by JS on the client. * Once JS i18n is implemented (in #20491), this can be removed. */
        $some_non_rendered_areas_messages    = array();
        $some_non_rendered_areas_messages[1] = html_entity_decode(
            __( 'Your theme has 1 other widget area, but this particular page does not display it.' ),
            ENT_QUOTES,
            get_bloginfo( 'charset' )
        );
        $registered_sidebar_count            = count( $wp_registered_sidebars );
        for ( $non_rendered_count = 2; $non_rendered_count < $registered_sidebar_count$non_rendered_count++ ) {
            $some_non_rendered_areas_messages[ $non_rendered_count ] = html_entity_decode(
                sprintf(
                    /* translators: %s: The number of other widget areas registered but not rendered. */
                    _n(
                        'Your theme has %s other widget area, but this particular page does not display it.',
                        'Your theme has %s other widget areas, but this particular page does not display them.',
                        $non_rendered_count
                    ),
                    
<a target="_blank" href="<?php echo esc_url( $api->donate_link ); ?>"><?php _e( 'Donate to this plugin &#187;' ); ?></a> <?php } ?> <?php } ?> </div> <div id="section-holder"> <?php     $requires_php = isset( $api->requires_php ) ? $api->requires_php : null;
    $requires_wp  = isset( $api->requires ) ? $api->requires : null;

    $compatible_php = is_php_version_compatible( $requires_php );
    $compatible_wp  = is_wp_version_compatible( $requires_wp );
    $tested_wp      = ( empty( $api->tested ) || version_compare( get_bloginfo( 'version' )$api->tested, '<=' ) );

    if ( ! $compatible_php ) {
        echo '<div class="notice notice-error notice-alt"><p>';
        _e( '<strong>Error:</strong> This plugin <strong>requires a newer version of PHP</strong>.' );
        if ( current_user_can( 'update_php' ) ) {
            printf(
                /* translators: %s: URL to Update PHP page. */
                ' ' . __( '<a href="%s" target="_blank">Click here to learn more about updating PHP</a>.' ),
                esc_url( wp_get_update_php_url() )
            );

            
single_cat_title( '', false )
                    );
                ?> </p> <?php elseif ( is_day() ) : /* If this is a daily archive */ ?> <p> <?php                     printf(
                        /* translators: 1: Site link, 2: Archive date. */
                        __( 'You are currently browsing the %1$s blog archives for the day %2$s.' ),
                        sprintf( '<a href="%1$s/">%2$s</a>', get_bloginfo( 'url' )get_bloginfo( 'name' ) ),
                        get_the_time( __( 'l, F jS, Y' ) )
                    );
                ?> </p> <?php elseif ( is_month() ) : /* If this is a monthly archive */ ?> <p> <?php                     printf(
                        /* translators: 1: Site link, 2: Archive month. */
                        __( 'You are currently browsing the %1$s blog archives for %2$s.' ),
                        
/** * Refresh the parameters passed to the JavaScript via JSON. * * @since 3.4.0 * @since 4.2.0 Moved from WP_Customize_Upload_Control. * * @see WP_Customize_Control::to_json() */
    public function to_json() {
        parent::to_json();
        $this->json['label']         = html_entity_decode( $this->label, ENT_QUOTES, get_bloginfo( 'charset' ) );
        $this->json['mime_type']     = $this->mime_type;
        $this->json['button_labels'] = $this->button_labels;
        $this->json['canUpload']     = current_user_can( 'upload_files' );

        $value = $this->value();

        if ( is_object( $this->setting ) ) {
            if ( $this->setting->default ) {
                /* * Fake an attachment model - needs all fields used by template. * Note that the default value must be a URL, NOT an attachment ID. */
if ( 'html5' === $format ) {
            // The title may be filtered: Strip out HTML and make sure the aria-label is never empty.             $title      = trim( strip_tags( $title ) );
            $aria_label = $title ? $title : $default_title;
            echo '<nav aria-label="' . esc_attr( $aria_label ) . '">';
        }
        ?> <ul> <?php wp_register(); ?> <li><?php wp_loginout(); ?></li> <li><a href="<?php echo esc_url( get_bloginfo( 'rss2_url' ) ); ?>"><?php _e( 'Entries feed' ); ?></a></li> <li><a href="<?php echo esc_url( get_bloginfo( 'comments_rss2_url' ) ); ?>"><?php _e( 'Comments feed' ); ?></a></li> <?php             /** * Filters the "WordPress.org" list item HTML in the Meta widget. * * @since 3.6.0 * @since 4.9.0 Added the `$instance` parameter. * * @param string $html Default HTML for the WordPress.org list item. * @param array $instance Array of settings for the current widget. */
$suffix     = wp_scripts_get_suffix();
    $dev_suffix = wp_scripts_get_suffix( 'dev' );
    $guessurl   = site_url();

    if ( ! $guessurl ) {
        $guessed_url = true;
        $guessurl    = wp_guess_url();
    }

    $scripts->base_url        = $guessurl;
    $scripts->content_url     = defined( 'WP_CONTENT_URL' ) ? WP_CONTENT_URL : '';
    $scripts->default_version = get_bloginfo( 'version' );
    $scripts->default_dirs    = array( '/wp-admin/js/', '/wp-includes/js/' );

    $scripts->add( 'utils', "/wp-includes/js/utils$suffix.js" );
    did_action( 'init' ) && $scripts->localize(
        'utils',
        'userSettings',
        array(
            'url'    => (string) SITECOOKIEPATH,
            'uid'    => (string) get_current_user_id(),
            'time'   => (string) time(),
            'secure' => (string) ( 'https' === parse_url( site_url(), PHP_URL_SCHEME ) ),
        )

function filter_SSL( $url ) {  // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.FunctionNameInvalid     if ( ! is_string( $url ) ) {
        return get_bloginfo( 'url' ); // Return home site URL with proper scheme.     }

    if ( force_ssl_content() && is_ssl() ) {
        $url = set_url_scheme( $url, 'https' );
    }

    return $url;
}

/** * Schedules update of the network-wide counts for the current network. * * @since 3.1.0 */
<?php _e( 'Selected file content:' ); ?></label> <textarea cols="70" rows="25" name="newcontent" id="newcontent" aria-describedby="editor-keyboard-trap-help-1 editor-keyboard-trap-help-2 editor-keyboard-trap-help-3 editor-keyboard-trap-help-4"><?php echo $content; ?></textarea> <input type="hidden" name="action" value="update" /> <input type="hidden" name="file" value="<?php echo esc_attr( $file ); ?>" /> <input type="hidden" name="plugin" value="<?php echo esc_attr( $plugin ); ?>" /> </div> <?php if ( ! empty( $docs_select ) ) : ?> <div id="documentation" class="hide-if-no-js"> <label for="docs-list"><?php _e( 'Documentation:' ); ?></label> <?php echo $docs_select; ?> <input disabled id="docs-lookup" type="button" class="button" value="<?php esc_attr_e( 'Look Up' ); ?>" onclick="if ( '' != jQuery('#docs-list').val() ) { window.open( 'https://api.wordpress.org/core/handbook/1.0/?function=' + escape( jQuery( '#docs-list' ).val() ) + '&amp;locale=<?php echo urlencode( get_user_locale() ); ?>&amp;version=<?php echo urlencode( get_bloginfo( 'version' ) ); ?>&amp;redirect=true'); }" /> </div> <?php endif; ?> <?php if ( is_writable( $real_file ) ) : ?> <div class="editor-notices"> <?php if ( in_array( $plugin(array) get_option( 'active_plugins', array() ), true ) ) { ?> <div class="notice notice-warning inline active-plugin-edit-warning"> <p><?php _e( '<strong>Warning:</strong> Making changes to active plugins is not recommended.' ); ?></p> </div> <?php } ?> </div> <p class="submit">
Home | Imprint | This part of the site doesn't use cookies.