Plugin Directory

Changeset 3221503


Ignore:
Timestamp:
01/13/2025 10:51:01 AM (15 months ago)
Author:
vidya_l
Message:

Tested with newer version of WordPress and updated the code.

Location:
wp-page-title-with-icon/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • wp-page-title-with-icon/trunk/admin/functions.php

    r2041298 r3221503  
    7878function display_pagetitle_icon($title){
    7979        global $post;
     80
     81        // Ensure $post is valid before accessing its properties
     82        if (!isset($post) || !is_object($post)) {
     83            return $title; // Return the original title if $post is not set
     84        }
     85       
    8086        /* get values from post meta*/
    8187        $value = get_post_meta( $post->ID, '_wpptwi_icon', true );
  • wp-page-title-with-icon/trunk/readme.txt

    r2671038 r3221503  
    33Tags: icon, page title, post title, font awesome, page title with icon, post title with icon, icon picker
    44Requires at least: 3.0
    5 Tested up to: 5.9
    6 Stable tag: 1.1.2
     5Tested up to: 6.7.1
     6Stable tag: 1.1.3
    77
    88A simple plugin to display icons along with posts/pages title.
  • wp-page-title-with-icon/trunk/wp-page-title-icon.php

    r2041306 r3221503  
    55Description: A simple plugin to display icons with title in posts/pages.
    66Author: Vidya L
    7 Version: 1.1.2
     7Version: 1.1.3
    88Text Domain: wp-page-title-icon
    99License: GPLv2 or later
Note: See TracChangeset for help on using the changeset viewer.