Opened 5 years ago
Closed 5 years ago
#7227 closed defect (bug) (fixed)
Undefined property in class-IXR.php
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | lowest | Milestone: | 2.7 |
| Component: | XML-RPC | Version: | |
| Severity: | trivial | Keywords: | |
| Cc: | josephscott |
Description
IXR_Date::$timezone is used, but never defined.
Attachments (2)
Change History (33)
comment:2
josephscott — 5 years ago
- Cc josephscott added
- Component changed from General to XML-RPC
It may be worth getting back in sync with IXR:
- Owner changed from anonymous to westi
- Status changed from new to assigned
Would be good to see a patch to merge the newer IXR into WordPress
comment:5
follow-up:
↓ 6
jacobsantos — 5 years ago
It appears that WordPress has the newest version.
Replying to jacobsantos:
It appears that WordPress has the newest version.
No, it doesn't. There's another version (1.7.1) which fixed that bug and which came out three days later:
http://griffin.oobleyboo.com/files/xmlrpc/IXR_Library.inc.php.txt
My bad, wrong link. The one I linked to before was a modified one. This one is the original one, which has the same version number, but which also fixes that bug:
http://code.google.com/p/ixr/source/browse/trunk/IXR_Library.inc.php
comment:8
jacobsantos — 5 years ago
Patch brings class.ixr.php up to date.
comment:9
jacobsantos — 5 years ago
Which in retrospect, is just removing the $this->timezone and changing the name of the library in the class.
comment:10
ryan — 5 years ago
- Resolution set to fixed
- Status changed from assigned to closed
comment:11
Nazgul — 5 years ago
- Resolution fixed deleted
- Status changed from closed to reopened
This undid the changes for #5666. Was that on purpose?
comment:12
ryan — 5 years ago
Looks like that should be upstreamed.
comment:13
ryan — 5 years ago
Looks like Joseph already tried: http://code.google.com/p/ixr/issues/detail?id=1
comment:14
jacobsantos — 5 years ago
When you said get it up to 0.7.1 I thought you meant literally. Sorry.
comment:15
ryan — 5 years ago
comment:16
ryan — 5 years ago
comment:17
jacobsantos — 5 years ago
Seems fixed to me, now that the bits are fixed.
comment:18
wet — 5 years ago
IXR 0.71 won't parse the ISO8610 time zone. This hasn't been beneficial in the past:
http://trac.wordpress.org/changeset/3279.
IMHO, removing the timezone member variable cures the symptom, not the cause, and this change set would break cross-time zone XML-RPC posting once again.
comment:19
jacobsantos — 5 years ago
Damn it. Why use something totally screwed up like this? There are other XML-RPC libraries.
comment:20
ryan — 5 years ago
What exactly is the original problem? That parseIso set timezone but parseTimestamp did not?
I'll comment these custom fixes with references to the corresponding tickets once we get everything straightened out.
comment:21
ryan — 5 years ago
Patch resurrects timezone and comments all of our modifications.
comment:22
santosj — 5 years ago
Your patch needs to add the timezone property to the beginning of the class or it won't fix the warning.
comment:23
ryan — 5 years ago
comment:24
santosj — 5 years ago
Isn't this fix now?
comment:25
pyadav — 5 years ago
- Resolution set to fixed
- Status changed from reopened to closed
comment:26
pyadav — 5 years ago
- Resolution fixed deleted
- Status changed from closed to reopened
comment:27
pyadav — 5 years ago
- Cc pyadav@… added; josephscott removed
comment:28
pyadav — 5 years ago
- Cc pyadav@… added; pyadav@… removed
comment:29
pyadav — 5 years ago
- Cc josephscott added; pyadav@… removed
comment:30
jacobsantos — 5 years ago
Is this fixed yet?
comment:31
ryan — 5 years ago
- Resolution set to fixed
- Status changed from reopened to closed
I think so.

This is already fixed in version 1.7.1 of the library (we have 1.7). Might want to just get the newer one.
http://griffin.oobleyboo.com/files/xmlrpc/IXR_Library.inc.php.txt
More info here: http://griffin.oobleyboo.com/projects/xmlrpc/