WordPress.org

Make WordPress Core


Ignore:
Timestamp:
01/29/2020 12:33:45 AM (2 years ago)
Author:
SergeyBiryukov
Message:

Docs: Improve comments in some wp-admin files per the documentation standards.

Follow-up to [47084].

Props passoniate, apedog.
Fixes #49223, #49227.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/ms-admin-filters.php

    r46586 r47119  
    88 */
    99
    10 // Media Hooks.
     10// Media hooks.
    1111add_filter( 'wp_handle_upload_prefilter', 'check_upload_size' );
    1212
    13 // User Hooks
     13// User hooks.
    1414add_action( 'user_admin_notices', 'new_user_email_admin_notice' );
    1515add_action( 'network_admin_notices', 'new_user_email_admin_notice' );
     
    1717add_action( 'admin_page_access_denied', '_access_denied_splash', 99 );
    1818
    19 // Site Hooks.
     19// Site hooks.
    2020add_action( 'wpmueditblogaction', 'upload_space_setting' );
    2121
    22 // Network hooks
     22// Network hooks.
    2323add_action( 'update_site_option_admin_email', 'wp_network_admin_email_change_notification', 10, 4 );
    2424
    25 // Taxonomy Hooks
     25// Taxonomy hooks.
    2626add_filter( 'get_term', 'sync_category_tag_slugs', 10, 2 );
    2727
    28 // Post Hooks.
     28// Post hooks.
    2929add_filter( 'wp_insert_post_data', 'avoid_blog_page_permalink_collision', 10, 2 );
    3030
    31 // Tools Hooks.
     31// Tools hooks.
    3232add_filter( 'import_allow_create_users', 'check_import_new_users' );
    3333
    34 // Notices Hooks
     34// Notices hooks.
    3535add_action( 'admin_notices', 'site_admin_notice' );
    3636add_action( 'network_admin_notices', 'site_admin_notice' );
    3737
    38 // Update Hooks
     38// Update hooks.
    3939add_action( 'network_admin_notices', 'update_nag', 3 );
    4040add_action( 'network_admin_notices', 'maintenance_nag', 10 );
    4141
    42 // Network Admin Hooks
     42// Network Admin hooks.
    4343add_action( 'add_site_option_new_admin_email', 'update_network_option_new_admin_email', 10, 2 );
    4444add_action( 'update_site_option_new_admin_email', 'update_network_option_new_admin_email', 10, 2 );
Note: See TracChangeset for help on using the changeset viewer.