Opened 19 years ago
Closed 19 years ago
#4208 closed defect (bug) (fixed)
T_String error on dashboard after R5346
| Reported by: | abbaanthony | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.3 |
| Component: | Administration | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
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
@
19 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
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Maybe a patch to fix this error