Plugin Directory

Changeset 1919529


Ignore:
Timestamp:
08/03/2018 05:41:58 PM (8 years ago)
Author:
iamntz
Message:

PHP 7.2 fix

Location:
page-siblings/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • page-siblings/trunk/page-siblings.php

    r1692418 r1919529  
    55Description: Add a metabox with all page edit (and any other hierarchal post types) that display an edit link to its siblings.
    66Author: Ionuț Staicu
    7 Version: 1.0.6
     7Version: 1.0.7
    88Author URI: http://iamntz.com
    99*/
     
    103103      $this->print_child( $child, $prefix );
    104104
    105       if( count( $sub_children = $this->get_children( $child->ID, $post_type ) ) > 0 ){
     105      $sub_children = $this->get_children( $child->ID, $post_type );
     106      if( !empty($sub_children) ){
    106107        $this->loop_through_children( $child->ID, $post_type, $prefix . "—" );
    107108      }
  • page-siblings/trunk/readme.txt

    r1692418 r1919529  
    5454= 1.0.6 =
    5555* Version Bump
     56
     57= 1.0.7 =
     58* PHP 7.2 compatibility fix
Note: See TracChangeset for help on using the changeset viewer.