Make WordPress Core

Opened 17 years ago

Closed 17 years ago

#4208 closed defect (bug) (fixed)

T_String error on dashboard after R5346

Reported by: abbaanthony's profile abbaanthony 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 &raquo;'); ?></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 &raquo;'); ?></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)

patch.diff (1.1 KB) - added by abbaanthony 17 years ago.
Maybe a patch to fix this error

Download all attachments as: .zip

Change History (3)

@abbaanthony
17 years ago

Maybe a patch to fix this error

#1 in reply to: ↑ description @abbaanthony
17 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 &raquo;'); ?></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 &raquo;'); ?></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

#2 @rob1n
17 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [5347]) Fix stupid error on my part. Props abbaanthony. fixes #4208

Note: See TracTickets for help on using tickets.