Make WordPress Core

Opened 13 years ago

Closed 13 years ago

Last modified 11 years ago

#1619 closed defect (bug) (fixed)

Tab highlight issue

Reported by: eragle Owned by: ryan
Milestone: Priority: lowest
Severity: trivial Version: 1.5.2
Component: Administration Keywords: bg|has-patch
Focuses: Cc:


Go to Manage / Manage Pages. Now jump back to Write. You are at the Write Post page, but the Write Page tab is highlighted by accident.

Attachments (2)

pagemenu.diff (500 bytes) - added by skeltoac 13 years ago.
pagemenu.2.diff (504 bytes) - added by skeltoac 13 years ago.
This one!

Download all attachments as: .zip

Change History (9)

#1 @schulte
13 years ago

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

If you comment out line 26 of wp-admin/post.php, this menu tab issue goes away.

	// Fix submenu highlighting for pages.
//if (false !== strpos($_SERVER['HTTP_REFERER'], 'edit-pages.php')) $submenu_file = 'page-new.php';

What I don't know is if you remove that code, does something else get jammed up elsewhere...might be some remnant code.

#2 @schulte
13 years ago

  • Keywords bg|2nd-opinion added
  • Resolution fixed deleted
  • Status changed from closed to reopened

#3 @markjaquith
13 years ago

Really dumb. but we should probably create page-post.php that does something like:

$this_is_a_page = true;

#4 @ryan
13 years ago

  • Milestone changed from 1.5.2 to 1.6

13 years ago

#5 @skeltoac
13 years ago

  • Keywords bg|has-patch added; bg|2nd-opinion removed
  • Owner changed from anonymous to ryan
  • Status changed from reopened to new

Oops, grabbed that out of the wrong working copy :-)

Here ya go. Use the second one.

13 years ago

This one!

#6 @ryan
13 years ago

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

(In [3164]) Tab highlight fix from skeltoac. fixes #1619

#7 @(none)
11 years ago

  • Milestone 2.0 deleted

Milestone 2.0 deleted

Note: See TracTickets for help on using tickets.