Plugin Directory

Changeset 2778885

Timestamp:
09/01/2022 02:45:28 PM (2 years ago)
Author:
shooper
Message:

Fix Object of class stdClass could not be converted to int

Location:
page-template-usage-info/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • page-template-usage-info/trunk/fti_page_templates.php

    r2778882 r2778885  
    33    Plugin Name: Page Template Usage Info
    44    Description: Provides usage information of custom page templates in the current theme
    5     Version: 1.3.3
     5    Version: 1.3.
    66    Text Domain: pagetemplateusageinfo
    77    Author: Shawn Hooper
     
    142142            $pages_using = 0;
    143143            if ( isset($templateUse[$template_filename]) ) {
    144                 $pages_using = $templateUse[$template_filename];
     144                $pages_using = $templateUse[$template_filename];
    145145            }
    146146            echo sprintf('<td>%s</td><td>%s</td><td><a href="edit.php?post_type=page&page=fti_page_templates&template=%s">%d</a></td>', $template_name, $template_filename, $template_filename, $pages_using);
  • page-template-usage-info/trunk/readme.txt

    r2778882 r2778885  
    1 === Page Template Usage Info ===
     1=== Page Template Usage Info ===
    22Contributors: shooper
    33Tags: templates, page, reporting, blocks, gutenberg, reports, management, auditing
    44Requires at least: 3.0.1
    55Tested up to: 6.0.2
    6 Stable tag: 1.3.3
     6Stable tag: 1.3.
    77Text Domain: pagetemplateusageinfo
    88License: GPLv2 or later
     
    2323
    2424== Changelog ==
     25
     26
     27
    2528
    2629= 1.3.3 =
Note: See TracChangeset for help on using the changeset viewer.