WordPress.org

Make WordPress Core

Ticket #7758: the_password_form-filter.diff

File the_password_form-filter.diff, 534 bytes (added by dancoulter, 10 years ago)
  • wp-includes/post-template.php

     
    923923        <p><label for="' . $label . '">' . __("Password:") . ' <input name="post_password" id="' . $label . '" type="password" size="20" /></label> <input type="submit" name="Submit" value="' . __("Submit") . '" /></p>
    924924        </form>
    925925        ';
    926         return $output;
     926        return apply_filters('the_password_form', $output);
    927927}
    928928
    929929/**