[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 08:02:38 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       |
----------------------------+------------------

Comment (by azaozz):

 Replying to [comment:13 dd32]:
 > > Thinking we should make it a coding standard to use strings that
 qualify as PHP (and JS) variables names in all these cases.
 >
 > ...Except that dashes are universally the standard for slugs in
 !WordPress (URL's, Filenames, CSS classes, etc).

 Yes, they are, but trying to find the "path of least resistance". We can't
 go wrong with the standard for PHP and JS variables names. Also these
 strings aren't usually slugs that will be used in rewrite rules, most end
 up as option names.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18958#comment:14>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list