[wp-trac] [WordPress Trac] #7374: undefined variable in
get_sample_permalink
WordPress Trac
wp-trac at lists.automattic.com
Tue Jul 22 15:40:04 GMT 2008
#7374: undefined variable in get_sample_permalink
---------------------+------------------------------------------------------
Reporter: tschai | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.7
Component: General | Version: 2.6
Severity: normal | Keywords: get_sample_permalink post_title
---------------------+------------------------------------------------------
The function get_sample_permalink in post.php uses at the end[[BR]]
{{{$post->post_title = $original_title;}}} [[BR]]
without $original_title beeing predefined.
Maybe a solution would be to add [[BR]]
{{{$original_title = $post->post_title;}}}[[BR]]
in the init part of the funtion. (after definition of $original_name,
around line 606).
The undefined variable is a problem when using the plugin wphone.
--
Ticket URL: <http://trac.wordpress.org/ticket/7374>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list