#26098 closed defect (bug) (fixed)
authorURI defaults to /wp-admin/themes.php if not set in theme header
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 3.8 | Priority: | normal |
Severity: | normal | Version: | 3.8 |
Component: | Customize | Keywords: | has-patch |
Focuses: | Cc: |
Description
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.
Attachments (2)
Change History (5)
Note: See
TracTickets for help on using
tickets.
Annotated screenshot showing the link with empty href