Plugin Directory

Changeset 2224745


Ignore:
Timestamp:
01/09/2020 10:52:14 AM (6 years ago)
Author:
smyx
Message:

V3.1——function

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wptao/trunk/functions.php

    r2219727 r2224745  
    661661// 图片URL V4.1
    662662function wptao_thumbnail_url($image, $post_id, $thumbnail_id, $size) {
    663     if (!$image) {
     663    if (!$image && !$thumbnail_id) {
    664664        $img = wptao_image_downsize('', $post_id, $size);
    665665        if ($img && $img[0]) return $img[0];
Note: See TracChangeset for help on using the changeset viewer.