[wp-trac] [WordPress Trac] #19590: number_format_i18n raise a warning when first parameter is 0

WordPress Trac wp-trac at lists.automattic.com
Tue Dec 20 17:32:34 UTC 2011


#19590: number_format_i18n raise a warning when first parameter is 0
-----------------------------------------+------------------------------
 Reporter:  xmarcos                      |       Owner:
     Type:  defect (bug)                 |      Status:  new
 Priority:  normal                       |   Milestone:  Awaiting Review
Component:  I18N                         |     Version:  3.3
 Severity:  minor                        |  Resolution:
 Keywords:  has-patch reporter-feedback  |
-----------------------------------------+------------------------------

Comment (by xmarcos):

 You are right, the current theme disables core taxonomies because they are
 not used by the customer. (We are using custom tax and leaving them is
 confusing form an UI perspective)

 The code I'm using is:

 {{{
 function fnx_disable_core_taxonomies() {
         global $wp_taxonomies;
         unset($wp_taxonomies['post_tag']);
         unset($wp_taxonomies['category']);
 }

 add_action('init', 'fnx_disable_core_taxonomies');
 }}}

 I understand the reason why this fails, but it'd be nice to support
 turning off unused features like this one in the future.

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


More information about the wp-trac mailing list