#3959 closed defect (bug) (fixed)
PHP 5 only syntax in general-template.php (changeset 5009)
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | high | Milestone: | 2.1.3 |
| Component: | General | Version: | |
| Severity: | blocker | Keywords: | |
| Cc: |
Description
Looks like this slipped in...
PHP 5 version (current)
$title = strip_tags($wp_query->get_queried_object()->post_title);
PHP 4 compatible version
$temp = $wp_query->get_queried_object();
$title = strip_tags($temp->post_title);
This is a crasher on PHP 4.
Change History (2)
comment:1
markjaquith — 6 years ago
- Resolution set to fixed
- Status changed from new to closed
comment:2
JeremyVisser — 6 years ago
Man, I didn't know PHP 4 sucked that much. It's a wonder people still use it.
Note: See
TracTickets for help on using
tickets.

(In [5027]) unchain. props Alex King. fixes #3959