Plugin Directory

Changeset 3281888


Ignore:
Timestamp:
04/25/2025 01:05:09 PM (11 months ago)
Author:
emplibot
Message:

minor fixes for post category

Location:
emplibot/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • emplibot/trunk/includes/rest-api.php

    r3281098 r3281888  
    412412    $download_url = sanitize_url($post_content->download_url);
    413413    $post_pub_status = sanitize_key($post_content->post_pub_status);
    414     $post_category_id = sanitize_text_field($post_content->post_category_id);
     414    $post_category_id = absint($post_content->post_category_id);
    415415    $post_category_taxonomy = sanitize_key($post_content->post_category_taxonomy);
    416416    $author_email = sanitize_email($post_content->author_email);
  • emplibot/trunk/readme.txt

    r3281098 r3281888  
    44Requires at least: 6.4
    55Tested up to: 6.8
    6 Stable tag: 1.0.4
     6Stable tag: 1.0.5
    77Requires PHP: 7.1
    88License: GPLv3 or later
     
    4848* Enhanced overall plugin stability and reliability.
    4949
     50= 1.0.5 =
     51* Minor bug fixes.
Note: See TracChangeset for help on using the changeset viewer.