Make WordPress Core

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 &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 19 years ago.
Maybe a patch to fix this error

Download all attachments as: .zip

Change History (3)

@abbaanthony
19 years ago

Maybe a patch to fix this error

#1 in reply to: ↑ description @abbaanthony
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 &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
19 years ago

  • Resolutionfixed
  • Status newclosed

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

Note: See TracTickets for help on using tickets.