diff --git a/classes/class-breadcrumbs.php b/classes/class-breadcrumbs.php index 9a91c0e..feaec0e 100644 --- a/classes/class-breadcrumbs.php +++ b/classes/class-breadcrumbs.php @@ -4,13 +4,13 @@ /** * Handles normal breadcrumbs based on the current item. * - * @since 0.2 + * @since 0.11 */ class Breadcrumbs { /** * Holds all current items. * - * @since 0.2 + * @since 0.11 * @var Rila\Item */ protected $item; @@ -18,7 +18,7 @@ class Breadcrumbs { /** * Saves the current item if one is available. * - * @since 0.2 + * @since 0.11 * * @param Rila\Item $item The item that should be used as the current one. */ @@ -31,7 +31,7 @@ public function __construct( $item = null ) { /** * Locates the main item for the breadcrumbs. * - * @since 0.2 + * @since 0.11 * * @return Rila\Item */ @@ -50,7 +50,7 @@ protected function get_item() { /** * Allows the current item for breadcrumbs to be overwritten. * - * @since 0.2 + * @since 0.11 * * @param mixed $item The item that will be used for the breadcrumbs. */ @@ -62,7 +62,7 @@ protected function get_item() { /** * Renders the breadcrumbs. * - * @since 0.2 + * @since 0.11 * * @return string */ @@ -108,7 +108,7 @@ public function render() { /** * Retrieves the breadcrumbs for a certain item. * - * @since 0.2 + * @since 0.11 * * @param mixed $item The item to crawl. * @return mixed[] @@ -140,7 +140,7 @@ protected function crawl( $item ) { /** * Generates the string reprensentation of all breadcrumbs. * - * @since 0.2 + * @since 0.11 * * @return string */ diff --git a/classes/class-builder.php b/classes/class-builder.php index 273ea2b..e24e1db 100644 --- a/classes/class-builder.php +++ b/classes/class-builder.php @@ -192,7 +192,7 @@ public function render() { /** * Allows the CSS class of the block to be generated by the block itself. * - * @since 0.2 + * @since 0.11 * * @param int $index The index of the block (starting with 0). * @param int $type_index The index of the specific blocks' type. @@ -212,7 +212,7 @@ public function render() { /** * Allows the CSS class of a block to be modified. * - * @since 0.2 + * @since 0.11 * * @param string $css_class The already-generated CSS class. * @param Rila\Block $block The block whose class is being generated. diff --git a/classes/class-collection.php b/classes/class-collection.php index 1518d8d..e175c26 100644 --- a/classes/class-collection.php +++ b/classes/class-collection.php @@ -207,7 +207,7 @@ public function valid() { /** * Checks if a certain offset exists. * - * @since 0.2 + * @since 0.11 * * @param int $offset The offset to check. * @return bool @@ -221,7 +221,7 @@ public function offsetExists( $offset ) { /** * Returns the item at a certain offset. * - * @since 0.2 + * @since 0.11 * * @param int $offset The offset to retrieve an item from. * @return mixed @@ -235,7 +235,7 @@ public function offsetGet( $offset ) { /** * Attempts adding an item to the object. * - * @since 0.2 + * @since 0.11 * * @param mixed $offset Either null to append or an integer. * @param Item $value The value to set. @@ -270,7 +270,7 @@ public function offsetSet( $offset, $value ) { /** * Unsets an offset from the internal array. * - * @since 0.2 + * @since 0.11 * * @param string $offset The offset to unset. */ @@ -454,7 +454,7 @@ public function get( $id ) { /** * Returns the first element of the collection, if any. * - * @since 0.2 + * @since 0.11 * * @return mixed Either the first element or null. */ diff --git a/classes/class-image.php b/classes/class-image.php index 9b4befc..dbb6399 100644 --- a/classes/class-image.php +++ b/classes/class-image.php @@ -194,7 +194,7 @@ protected function image_attributes() { * This is needed because by default, the thumbnail property is pointing to the * featured image of posts, which for an image is simply null. * - * @since 0.2 + * @since 0.11 * * @return Rila\Image */ diff --git a/classes/class-meta.php b/classes/class-meta.php index 9c421cc..fa524db 100644 --- a/classes/class-meta.php +++ b/classes/class-meta.php @@ -276,7 +276,7 @@ public static function map( $value, $property, $map ) { /** * Returns the count of the internal values. * - * @since 0.2 + * @since 0.11 * * @return int */ diff --git a/classes/class-post-type.php b/classes/class-post-type.php index be80df9..73d8a94 100644 --- a/classes/class-post-type.php +++ b/classes/class-post-type.php @@ -540,7 +540,7 @@ public function password_form() { /** * Returns the children of the current post, ordered by menu order. * - * @since 0.2 + * @since 0.11 * * @return Rila\Collection\Posts */ diff --git a/functions.php b/functions.php index fedaedf..f4d67e2 100644 --- a/functions.php +++ b/functions.php @@ -240,7 +240,7 @@ function rila_register_class( $classname ) { /** * Creates a new collection of posts. * - * @since 0.2 + * @since 0.11 * * @param mixed $args Either an array or string of arguments for the collection. (optional) * @return Rila\Collection\Posts @@ -252,7 +252,7 @@ function rila_posts( $args = '' ) { /** * Creates a new collection of terms. * - * @since 0.2 + * @since 0.11 * * @param mixed $args Either an array or string of arguments for the collection. (optional) * @return Rila\Collection\Terms @@ -264,7 +264,7 @@ function rila_terms( $args = '' ) { /** * Creates a new collection of users. * - * @since 0.2 + * @since 0.11 * * @param mixed $args Either an array or string of arguments for the collection. (optional) * @return Rila\Collection\Users @@ -276,7 +276,7 @@ function rila_users( $args = '' ) { /** * Creates a new collection of comments. * - * @since 0.2 + * @since 0.11 * * @param mixed $args Either an array or string of arguments for the collection. (optional) * @return Rila\Collection\Comments @@ -288,7 +288,7 @@ function rila_comments( $args = '' ) { /** * Creates a new collection of files. * - * @since 0.2 + * @since 0.11 * * @param mixed $args Either an array or string of arguments for the collection. (optional) * @return Rila\Collection\Files @@ -300,7 +300,7 @@ function rila_files( $args = '' ) { /** * Creates a new collection of images. * - * @since 0.2 + * @since 0.11 * * @param mixed $args Either an array or string of arguments for the collection. (optional) * @return Rila\Collection\Images