[wp-trac] [WordPress Trac] #30261: Split all existing shared taxonomy terms on WP upgrade

WordPress Trac noreply at wordpress.org
Wed Jun 17 01:47:54 UTC 2015


#30261: Split all existing shared taxonomy terms on WP upgrade
-------------------------------------+---------------------------
 Reporter:  boonebgorges             |       Owner:  boonebgorges
     Type:  enhancement              |      Status:  assigned
 Priority:  normal                   |   Milestone:  4.3
Component:  Taxonomy                 |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+---------------------------

Comment (by boonebgorges):

 In [changeset:"32813"]:
 {{{
 #!CommitTicketReference repository="" revision="32813"
 Performance enhancements for `_split_shared_term()`.

 * Introduce a `$record` parameter, which defaults to true. When set to
 false, `_split_shared_term()` will not keep a record of split term data in
 wp_options. The judicious use of this flag can greatly improve performance
 when processing shared terms in batches.
 * Allow term/tt objects to be passed to the `$term_id` and
 `$term_taxonomy_id` parameters. This has the potential to save database
 queries when the objects are already available.

 See #30261.
 }}}

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


More information about the wp-trac mailing list