Plugin Directory

Changeset 3403373


Ignore:
Timestamp:
11/26/2025 01:12:24 PM (7 weeks ago)
Author:
husobj
Message:

Version 1.5

Location:
page-parts/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • page-parts/trunk/CHANGELOG.md

    r3199306 r3403373  
    44
    55## [Unreleased]
     6
     7## [1.5] - 2025-11-26
     8
     9### Added
     10- Page part templates now support in child themes.
    611
    712## [1.4.5] - 2024-11-29
     
    155160- First public release.
    156161
    157 [Unreleased]: https://github.com/benhuson/page-parts/compare/1.4.5...HEAD
     162[Unreleased]: https://github.com/benhuson/page-parts/compare/1.5...HEAD
     163[1.5]: https://github.com/benhuson/page-parts/compare/1.4.5...1.5
    158164[1.4.4]: https://github.com/benhuson/page-parts/compare/1.4.4...1.4.5
    159165[1.4.4]: https://github.com/benhuson/page-parts/compare/1.4.3...1.4.4
  • page-parts/trunk/includes/templates.php

    r2650217 r3403373  
    122122        }
    123123
     124        $parent = $theme->parent();
     125
    124126        $page_templates = $this->cache_get( 'page_part_templates' );
    125127
     
    128130
    129131            $files = (array) $theme->get_files( 'php', apply_filters( 'page_part_theme_templates_depth', 2 ) );
     132
     133            if ( $parent ) {
     134                $parent_files = (array) $parent->get_files( 'php', apply_filters( 'page_part_theme_templates_depth', 2 ) );
     135                $files = array_merge( $parent_files, $files );
     136            }
    130137
    131138            foreach ( $files as $file => $full_path ) {
  • page-parts/trunk/page-parts.php

    r3199306 r3403373  
    55Plugin URI: https://github.com/benhuson/page-parts
    66Description: Manage subsections of a page.
    7 Version: 1.4.5
     7Version: 1.5
    88Author: Ben Huson
    99Author URI: https://github.com/benhuson
     
    1111*/
    1212
    13 define( 'PAGE_PARTS_VERSION', '1.4.5' );
     13define( 'PAGE_PARTS_VERSION', '1.5' );
    1414define( 'PAGE_PARTS_FILE', __FILE__ );
    1515
  • page-parts/trunk/readme.txt

    r3199306 r3403373  
    33Tags: pages, cms
    44Requires at least: 3.9
    5 Tested up to: 6.7.1
    6 Stable tag: 1.4.5
     5Tested up to: 6.8.3
     6Stable tag: 1.5
    77License: GPL2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    3838
    3939= Unreleased =
     40
     41= 1.5 =
     42
     43__Added__
     44- Page part templates now support in child themes.
    4045
    4146= 1.4.5 =
Note: See TracChangeset for help on using the changeset viewer.