WordPress.org

Make WordPress Core

Ticket #21614: 21615.patch

File 21615.patch, 580 bytes (added by sc0ttkclark, 20 months ago)
  • trunk/wp-includes/post.php

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    40664066 * @return string|bool 
    40674067 */ 
    40684068function wp_mime_type_icon( $mime = 0 ) { 
     4069        $icon = null; 
     4070        $post_id = null; 
     4071 
    40694072        if ( !is_numeric($mime) ) 
    40704073                $icon = wp_cache_get("mime_type_icon_$mime"); 
     4074 
    40714075        if ( empty($icon) ) { 
    40724076                $post_id = 0; 
    40734077                $post_mimes = array();