WordPress.org

Make WordPress Core

Ticket #17130: ticket.17130.diff

File ticket.17130.diff, 679 bytes (added by ptahdunbar, 7 years ago)
  • wp-includes/general-template.php

     
    18771877}
    18781878
    18791879/**
     1880 * Retrieve the $content_width value for the current theme.
     1881 *
     1882 * The $content_width is used to assign a maximum width for images within
     1883 * the content area of a post.
     1884 *
     1885 * @since 3.2.0
     1886 */
     1887function get_content_width() {
     1888        global $content_width;
     1889
     1890        return $content_width;
     1891}
     1892
     1893/**
    18801894 * Display the language attributes for the html tag.
    18811895 *
    18821896 * Builds up a set of html attributes containing the text direction and language