Make WordPress Core


Ignore:
Timestamp:
11/10/2025 10:49:33 PM (9 months ago)
Author:
adamsilverstein
Message:

Notes: refine post author notifications.

Code maintenance follow up to r61179. Move wp_new_comment_via_rest_notify_postauthor callback from REST API Comments controller to comment.php. Add default to wp_notes_notify for multisite compatibility.

Props adamsilverstein, justlevine, mukesh27, mamaduka, peterwilsoncc, desros.
See #64204.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/options-discussion.php

    r61179 r61199  
    163163<br />
    164164<label for="wp_notes_notify">
    165 <input name="wp_notes_notify" type="checkbox" id="wp_notes_notify" value="1" <?php checked( '1', get_option( 'wp_notes_notify' ) ); ?> />
     165<input name="wp_notes_notify" type="checkbox" id="wp_notes_notify" value="1" <?php checked( '1', get_option( 'wp_notes_notify', 1 ) ); ?> />
    166166<?php _e( 'Anyone posts a note' ); ?> </label>
    167167
Note: See TracChangeset for help on using the changeset viewer.