Make WordPress Core

Opened 20 years ago

Closed 20 years ago

#3085 closed defect (bug) (fixed)

Manage > Pages is displaying posts, not pages.

Reported by: schulte's profile schulte Owned by: westi's profile westi
Milestone: 2.1 Priority: normal
Severity: normal Version: 2.1
Component: Administration Keywords: manage pages bg|has-patch
Focuses: Cc:

Description

On two different 2.1-alpha3 (rev 4132) blogs, in the Manage > Pages area, I'm seeing posts not pages.

Attachments (2)

admin-functions.php.diff (107 bytes) - added by schulte 20 years ago.
3085.diff (581 bytes) - added by westi 20 years ago.
New patch

Download all attachments as: .zip

Change History (9)

#1 @westi
20 years ago

I see pages fine in my trunk sandbox running 4134

#2 @schulte
20 years ago

Updated to 4135 and am still seeing it...

#3 @schulte
20 years ago

  • Keywords bg|has-patch added

#4 @schulte
20 years ago

  • Milestone set to 2.1

#5 @westi
20 years ago

Ah ha..
it seems you see posts if you have no pages!
Good catch

#6 @westi
20 years ago

  • Owner changed from anonymous to westi
  • Status changed from new to assigned

This is wierd.

It seems from what I can tell that the query parsing when called from the admin pages was rather broken.

The attached patch fixes it as far as I can see.

We need to review that code though it looks a _bit_ messy.

@westi
20 years ago

New patch

#7 @ryan
20 years ago

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

(In [4141]) Fix query parsing. Props westi. fixes #3085

Note: See TracTickets for help on using tickets.