Make WordPress Core

Ticket #21899: Refreshed_patch_from_21899.patch

File Refreshed_patch_from_21899.patch, 563 bytes (added by F4rkie, 10 years ago)

Refreshed patch to trunk

  • wp-includes/post-template.php

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    427427                        $classes[] = 'format-standard';
    428428        }
    429429
     430        // Post is protected
     431        if ( !empty($post->post_password) )
     432                $classes[] = 'protected';
     433
    430434        // Post requires password
    431435        if ( post_password_required( $post->ID ) ) {
    432436                $classes[] = 'post-password-required';