[wp-trac] [WordPress Trac] #31164: Hide the "Need Help..." text from the Page Attributes meta-box if the help tab is hidden

WordPress Trac noreply at wordpress.org
Wed Jan 28 18:48:04 UTC 2015


#31164: Hide the "Need Help..." text from the Page Attributes meta-box if the help
tab is hidden
-----------------------------+-----------------------------
 Reporter:  bananastalktome  |      Owner:
     Type:  defect (bug)     |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Help/About       |    Version:  trunk
 Severity:  normal           |   Keywords:
  Focuses:                   |
-----------------------------+-----------------------------
 Even if the "Help" tab has been hidden (using
 `$current_screen->remove_help_tabs()`), the "Need help? Use the Help tab
 in the upper right of your screen." message still appears on the Page
 Attributes meta-box when editing a page.

 The included patch will check if `get_current_screen()->get_help_tabs() !=
 false` (in addition to whether it is a 'page' post type) in order to show
 the message.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/31164>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list