Opened 16 years ago
Closed 16 years ago
#4208 closed defect (bug) (fixed)
T_String error on dashboard after R5346
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | 2.3 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Administration | Keywords: | |
Focuses: | Cc: |
Description
This line was changed in r5346 and started giving a T_String error.
Line 13:
<h3><?php _e('Incoming Links'); ?> <cite><a href="<?php echo apply_filters( 'dashboard_incoming_links_link', 'http://www.technorati.com/search/<?php echo trailingslashit(get_option('home')); ?>?partner=wordpress' ); ?>"><?php _e('More »'); ?></a></cite></h3>
I have fixed this on my system by using the following:
<h3><?php _e('Incoming Links'); ?> <cite><a href="<?php echo apply_filters( 'dashboard_incoming_links_link', 'http://www.technorati.com/search/'. trailingslashit(get_option('home')) .'?partner=wordpress' ); ?>"><?php _e('More »'); ?></a></cite></h3>
No idea how to create a patch file on a Windows XP system, but I hope this will help.
Greg
Attachments (1)
Change History (3)
#1
in reply to:
↑ description
@
16 years ago
Replying to abbaanthony:
This line was changed in r5346 and started giving a T_String error.
Line 13:
<h3><?php _e('Incoming Links'); ?> <cite><a href="<?php echo apply_filters( 'dashboard_incoming_links_link', 'http://www.technorati.com/search/<?php echo trailingslashit(get_option('home')); ?>?partner=wordpress' ); ?>"><?php _e('More »'); ?></a></cite></h3>
I have fixed this on my system by using the following:
<h3><?php _e('Incoming Links'); ?> <cite><a href="<?php echo apply_filters( 'dashboard_incoming_links_link', 'http://www.technorati.com/search/'. trailingslashit(get_option('home')) .'?partner=wordpress' ); ?>"><?php _e('More »'); ?></a></cite></h3>
No idea how to create a patch file on a Windows XP system, but I hope this will help.
Greg
I think I may have figured out how to make a patch file. It is submitted. Let me know if it works for you.
Greg
Maybe a patch to fix this error