[wp-trac] [WordPress Trac] #21655: Incorrect URL For Theme Options With Custom Post Type
WordPress Trac
wp-trac at lists.automattic.com
Wed Aug 22 03:47:47 UTC 2012
#21655: Incorrect URL For Theme Options With Custom Post Type
----------------------------+-------------------------------------
Reporter: jarretc | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Administration | Version: 3.4.1
Severity: normal | Keywords: has-patch needs-testing
----------------------------+-------------------------------------
Steps to reproduce:
1. Register a custom post type or any other item that gets added to the
Options menu under Appearance->Themes(themes.php)
2. Set CPT show_in_menu value to themes.php or require capability
edit_theme_options
3. View link in Appearance->Themes(themes.php) under the Options row for
current active theme
Patch adds a check to see if edit_theme_options is used and if not, then
remove the themes.php?page= that gets added to the URL.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21655>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list