WordPress.org

Ready to get started?Download WordPress

Plugin Directory

array_partition

Provides a helper function to split an array into N number of evenly distributed partitions (i.e. split a list into N columns)

1.2

  • Return an empty array if 0 columns are requested
  • Treat $number_of_columns as absint(), permitting negative and string numerical values to work
  • Add unit tests
  • Note compatibility through WP 3.8+
  • Update copyright date (2014)
  • Change description
  • Various code and documentation reformatting
  • Add banner image

1.1.4

  • Shortened description and extended description
  • Note compatibility through WP 3.5+
  • Update copyright date (2013)

1.1.3

  • Re-license as GPLv2 or later (from X11)
  • Add 'License' and 'License URI' header tags to readme.txt and plugin file
  • Remove ending PHP close tag
  • Minor formatting changes (indentation)
  • Note compatibility through WP 3.4+
  • Update copyright date (2012)

1.1.2

  • Note compatibility through WP 3.3+
  • Tweak to plugin description
  • Minor additional documentation
  • Minor documentation reformatting (spacing)

1.1.1

  • Note compatibility through WP 3.2+
  • Minor code formatting changes (spacing)
  • Fix plugin homepage and author links in description in readme.txt

1.1

  • Rename array_partition() to c2c_array_partition() (but maintain a deprecated version for backwards compatibility)
  • Add link to plugin homepage to description in readme.txt

1.0.3

  • Note compatibility through WP 3.1+
  • Update copyright date (2011)

1.0.2

  • Wrap function in if (function_exists()) check
  • Note compatibility with WP 3.0+
  • Remove docs from top of plugin file (all that and more are in readme.txt)
  • Remove trailing whitespace in header docs
  • Add Upgrade Notice section to readme.txt

1.0.1

  • Add PHPDoc documentation
  • Note compatibility with WP 2.9+
  • Update copyright date

1.0

  • Initial release

Requires: 1.2 or higher
Compatible up to: 3.8.3
Last Updated: 2013-12-18
Downloads: 643

Ratings

5 stars
5 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,1,1
100,1,1
100,1,1
100,1,1