WordPress.org

Support

Support » Requests and Feedback » get_theme_data() Title not working as documented

get_theme_data() Title not working as documented

  • robertlove
    Member

    @robertlove

    As specified under the Return Values heading here, the get_theme_data() function should return the theme’s Title as:

    Either the Theme’s name or a HTML fragment containg the Theme’s name linked to the Theme’s URI if the Theme’s URI is defined.

    However, this is not the case, as it will never return a HTML fragment containg the Theme’s name linked to the Theme’s URI, even if the Theme’s URI is defined.

    Probably an oversight where the Theme Name and Theme URI have not been given the same treatment as the Author and Author URI.

  • The topic ‘get_theme_data() Title not working as documented’ is closed to new replies.