WordPress.org

Make WordPress Core

Ticket #17619: 17619.diff

File 17619.diff, 341 bytes (added by BenChapman, 7 years ago)

Adds a 404 error message

  • wp-content/plugins/index.php

     
    11<?php
    2 // Silence is golden.
    3 ?>
    4  No newline at end of file
     2header('HTTP/1.0 404 Not Found'); // Silence is golden.
     3?>