[wp-trac] [WordPress Trac] #26098: authorURI defaults to /wp-admin/themes.php if not set in theme header

WordPress Trac noreply at wordpress.org
Mon Nov 18 16:30:47 UTC 2013


#26098: authorURI defaults to /wp-admin/themes.php if not set in theme header
--------------------------+-----------------------------
 Reporter:  morganestes   |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Themes        |    Version:  trunk
 Severity:  normal        |   Keywords:  has-patch
--------------------------+-----------------------------
 If a theme doesn't include the `Author URI` field in the file header, it
 is still hyperlinked in the theme info modal window, but with an empty
 `href`.

 Tested on trunk after THX38 integrated. I don't know what version this
 started with.

 This only affects themes distributed outside the WordPress.org Themes
 Directory, as it checks for the proper file header.

 My suggested fix is to check if the `data.authorURI` is present before
 creating the link. If not, display the author without the link.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/26098>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list