WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#32440 closed enhancement (fixed)

on Menu page, turn posts by default on "view options"

Reported by: itailulu Owned by: obenland
Milestone: 4.3 Priority: normal
Severity: normal Version: 3.0
Component: Menus Keywords: good-first-bug has-patch
Focuses: ui, administration Cc:
PR Number:

Description

Right now posts box is not shown by default,
This creates confusion (I've seen it multiple times with my clients), and often times leads users to create custom link entries, which is superior by far (it doesn't sync if you change the post, etc)
There should at least be a notification about this issue, if not enabled by default.

Attachments (1)

32440.diff (651 bytes) - added by bcole808 4 years ago.

Download all attachments as: .zip

Change History (8)

#1 follow-up: @helen
4 years ago

  • Keywords needs-patch good-first-bug added

Seems like we could remove nav-menu-theme-locations from $initial_meta_boxes, since that does exist anymore, and add add-post. If somebody wants to investigate why Pages ends up showing last in screen options even though it's at the top of the meta boxes (probably deserving of its own ticket), that would be nice, too.

@bcole808
4 years ago

#2 @bcole808
4 years ago

I uploaded a patch to make the suggested change. I'll also see if I can look into why Pages is last on the list and if it is a small/quick fix I'll add it here, or if it's more complex then I'll open a new ticket for it.

#3 @bcole808
4 years ago

New ticket created for the ordering of items:

https://core.trac.wordpress.org/ticket/32582

(I tried to figure out what is going on and I got a little bit lost trying to hunt down where global $wp_meta_boxes; is set because that's where the order is being set)

#4 @netweb
4 years ago

  • Keywords has-patch added; needs-patch removed
  • Milestone changed from Awaiting Review to 4.3
  • Owner set to helen
  • Status changed from new to assigned
  • Version changed from 4.2.2 to 3.0

#5 in reply to: ↑ 1 @obenland
4 years ago

Replying to helen:

If somebody wants to investigate why Pages ends up showing last in screen options even though it's at the top of the meta boxes (probably deserving of its own ticket), that would be nice, too.

I think you answered it yourself after [32707]. :)

#6 @obenland
4 years ago

  • Owner changed from helen to obenland
  • Status changed from assigned to accepted

#7 @obenland
4 years ago

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

In 32842:

Show the posts meta box by default in Appearance > Menus.

Lessens user confusion and the likelyhood of misusing custom links
to add menu items for posts.

Props bcole808.
Fixes #32440.

Note: See TracTickets for help on using tickets.