#7374 closed defect (bug) (fixed)
undefined variable in get_sample_permalink
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 2.6.1 |
| Component: | General | Version: | 2.6 |
| Severity: | normal | Keywords: | get_sample_permalink post_title |
| Cc: |
Description
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)
Note: See
TracTickets for help on using
tickets.

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