Make WordPress Core

Opened 17 years ago

Closed 17 years ago

#12193 closed defect (bug) (fixed)

Subtle code errors

Reported by: ScottMac Owned by: ryan
Priority: normal Milestone: 3.0
Component: Cache API Version:
Severity: normal Keywords:
Cc: Focuses:

Description

While doing some tests of a new tool we came across some code errors, one is a comparison that should be an assignment.

The others are calling methods with more parameters than they have in the caching layer.

Attachments (1)

wordpress-patch.txt (1.2 KB ) - added by ScottMac 17 years ago.

Download all attachments as: .zip

Change History (4)

#1 @nacin
17 years ago

  • Component GeneralCache
  • Milestone Unassigned3.0
  • Owner set to ryan

See [6539], looks like that's a deprecated argument for WP_Object_Cache::get() from when persistent cache was pulled.

If you upload patches with a ".diff" or ".patch" extension, Trac will show them much better.

#2 @nacin
17 years ago

Also, not sure if it's worth fixing, but s/existant/existent/ would correct a misspelling in a class property.

#3 @ryan
17 years ago

  • Resolutionfixed
  • Status newclosed

(In [13054]) Fix typos. Fix assignment. Remove passing of non-existent arg. Props ScottMac. fixes #12193

Note: See TracTickets for help on using tickets.