Make WordPress Core

Ticket #50704: 50704.diff

File 50704.diff, 531 bytes (added by virgodesign, 4 years ago)
  • wp-admin/network/site-info.php

    diff --git a/wp-admin/network/site-info.php b/wp-admin/network/site-info.php
    index dddb0bb..3ee5dfc 100644
    a b if ( ! empty( $messages ) ) { 
    202202                        </td>
    203203                </tr>
    204204        </table>
    205         <?php submit_button(); ?>
     205    <?php
     206    /**
     207         * Fires at the end of the site info form in network admin.
     208         *
     209         * @since 5.6
     210         *
     211         * @param int $id The site ID.
     212         */
     213        do_action( 'network_site_info_form', $id );
     214       
     215        submit_button();
     216        ?>
    206217</form>
    207218
    208219</div>