WordPress.org

Ready to get started?Download WordPress

Forums

get_theme_data() Title not working as documented (1 post)

  1. robertlove
    Member
    Posted 7 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic