WordPress.org

Make WordPress Core

Ticket #5656: 5656.r7946.diff

File 5656.r7946.diff, 678 bytes (added by hansengel, 10 years ago)

Adds alert to Settings > Discussion

  • wp-admin/options-discussion.php

     
    55$parent_file = 'options-general.php';
    66
    77include('admin-header.php');
     8
     9if ( ini_get('allow_url_fopen') != '1' && !extension_loaded('curl') ) {
    810?>
     11<div class="updated fade"><p><strong><?php _e('Your server does not support trackbacks and pingbacks. Please install the PHP cURL extension or set allow_url_fopen to 1 in your PHP configuration file.'); ?></p></div>
     12<?php } ?>
    913
    1014<div class="wrap">
    1115<h2><?php _e('Discussion Settings') ?></h2>