Make WordPress Core

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#7374 closed defect (bug) (fixed)

undefined variable in get_sample_permalink

Reported by: tschai Owned by:
Milestone: 2.6.1 Priority: normal
Severity: normal Version: 2.6
Component: General Keywords: get_sample_permalink post_title
Focuses: Cc:


The function get_sample_permalink in post.php uses at the end
$post->post_title = $original_title;
without $original_title beeing predefined.
Maybe a solution would be to add
$original_title = $post->post_title;
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.

Change History (3)

#1 @ryan
13 years ago

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

(In [8397]) Eliminate unused var. Props tschai. fixes #7374

#2 @ryan
13 years ago

  • Milestone changed from 2.7 to 2.6.1

#3 @ryan
13 years ago

(In [8398]) Eliminate unused var. Props tschai. fixes #7374 for 2.6

Note: See TracTickets for help on using tickets.