Plugin Directory

Changeset 3239961


Ignore:
Timestamp:
02/13/2025 09:44:45 AM (14 months ago)
Author:
jamesdlow
Message:

1.4.5

  • Fix PHP 8 warning
Location:
pageapp
Files:
18 added
2 edited

Legend:

Unmodified
Added
Removed
  • pageapp/trunk/pageapp.php

    r3234465 r3239961  
    44Plugin URI: https://wordpress.org/plugins/pageapp/
    55Description: Extensions to Wordpress wp-json for the PageApp API and mobile framework
    6 Version: 1.4.4
     6Version: 1.4.5
    77Author: PageApp
    88Author URI: https://www.pageapp.com
     
    395395    }
    396396    public static function image_sizes($post_id, $post_type = null) {
    397         return self::get_attahment_urls(get_post_thumbnail_id($post_id));
    398     }
    399     public static function get_attahment_urls($featured_id) {
     397        return self::get_attahment_urls(get_post_thumbnail_id($post_id), $post_type);
     398    }
     399    public static function get_attahment_urls($featured_id, $post_type = null) {
    400400        $sizes = wp_get_attachment_metadata($featured_id);
    401401        $size_data = array();
  • pageapp/trunk/readme.txt

    r3234465 r3239961  
    33Tags: pageapp, wp-json, relevanssi, search, api, rest api, post, meta, post meta
    44Requires at least: 3.0
    5 Tested up to: 6.5.4
    6 Stable tag: 1.4.4
     5Tested up to: 6.7.2
     6Stable tag: 1.4.5
    77License: © 2024 Thireen32 Pty Ltd
    88Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=K6VKWB3HZB2T2&item_name=Donation%20to%20jameslow%2ecom&currency_code=USD&bn=PP%2dDonationsBF&charset=UTF%2d8
     
    2828
    2929== Changelog ==
     30
     31= 1.4.5 =
     32* Fix PHP 8 warning
    3033
    3134= 1.4.4 =
Note: See TracChangeset for help on using the changeset viewer.