[wp-trac] [WordPress Trac] #32648: Deprecate `PRIMARY_NETWORK_ID` in favor of `MAIN_NETWORK_ID`

WordPress Trac noreply at wordpress.org
Sat Jul 4 05:11:12 UTC 2015


#32648: Deprecate `PRIMARY_NETWORK_ID` in favor of `MAIN_NETWORK_ID`
--------------------------------+------------------------
 Reporter:  jeremyfelt          |       Owner:
     Type:  defect (bug)        |      Status:  closed
 Priority:  normal              |   Milestone:
Component:  Networks and Sites  |     Version:  3.7
 Severity:  normal              |  Resolution:  wontfix
 Keywords:  dev-feedback        |     Focuses:  multisite
--------------------------------+------------------------
Changes (by jeremyfelt):

 * status:  new => closed
 * resolution:   => wontfix
 * milestone:  4.3 =>


Comment:

 I don't think it's 4.3 material at this point, and since we're 6 (soon 7)
 releases in, I think we should let it be.

 @johnjamesjacoby's reasons are all exactly correct. We need to live with
 yet another rug tucking though. IMO, our best bet at sanely deprecating a
 constant is to start reworking how we use them via a ticket like #22251.

 May this be a warning to triple check your naming (especially constants)
 and yet another reminder that multisite's uniqueness will continue to
 strike. :)

 I'm closing this as wontfix. If anyone feels strongly the other way,
 please reopen and/or leave comments.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/32648#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list