Make WordPress Core

Ticket #32271: 32271.patch

File 32271.patch, 723 bytes (added by ipm-frommen, 9 years ago)
  • wp-admin/edit-form-advanced.php

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    495495?>
    496496<div class="inside">
    497497<?php
    498 $sample_permalink_html = $post_type_object->public ? get_sample_permalink_html($post->ID) : '';
     498$sample_permalink_html = $post_type_object->publicly_queryable ? get_sample_permalink_html($post->ID) : '';
    499499$shortlink = wp_get_shortlink($post->ID, 'post');
    500500
    501501if ( !empty( $shortlink ) && $shortlink !== $permalink && $permalink !== home_url('?page_id=' . $post->ID) )