[wp-trac] [WordPress Trac] #18958: Can't set "Show on screen" for Custom post types
WordPress Trac
wp-trac at lists.automattic.com
Tue Oct 18 01:59:53 UTC 2011
#18958: Can't set "Show on screen" for Custom post types
----------------------------+------------------
Reporter: dd32 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.3
Component: Administration | Version: 3.3
Severity: normal | Resolution:
Keywords: has-patch |
----------------------------+------------------
Changes (by SergeyBiryukov):
* keywords: => has-patch
Comment:
Seems to be introduced in [10987].
[attachment:18958.2.patch] does `str_replace( '-', '_', ... )` in a few
more places, in order to save and read the value properly.
Or maybe we shouldn't replace the dash in `set_screen_options()` at all,
since it's preserved in other options, such as `metaboxhidden_test-cpt`?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18958#comment:11>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list