Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #35382


Ignore:
Timestamp:
01/09/2016 05:22:05 AM (9 years ago)
Author:
dd32
Comment:

Introduced with [10416]

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #35382

    • Property Keywords needs-patch good-first-bug added
    • Property Version changed from 4.4.1 to 2.7.1
  • Ticket #35382 – Description

    initial v1  
    11when use the id=>parent with number and fields in id=>name or and other id=>xx type.
    22In same case if the query return $terms array items in bigger then the number in you set with call the function.
    3 It use the {{{#!php
     3It use the
     4{{{#!php
    45<?php
    56array_slice( $terms, $offset, $number );
     
    78to cat the array into number you want
    89But this cat action will let the array id reset to 0, 1, 2 ... NOT the id of the term
    9 may use the {{{#!php
     10may use the
     11{{{#!php
    1012<?php
    1113array_slice( $terms, $offset, $number, true );