WordPress.org

Make WordPress Core


Ignore:
Timestamp:
01/29/2020 12:43:23 AM (21 months ago)
Author:
SergeyBiryukov
Message:

Docs: Improve inline comments per the documentation standards.

Includes minor code layout fixes for better readability.

See #48303.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/link-parse-opml.php

    r45932 r47122  
    7373}
    7474
    75 // Create an XML parser
     75// Create an XML parser.
    7676if ( ! function_exists( 'xml_parser_create' ) ) {
    7777    trigger_error( __( "PHP's XML extension is not available. Please contact your hosting provider to enable PHP's XML extension." ) );
     
    8181$xml_parser = xml_parser_create();
    8282
    83 // Set the functions to handle opening and closing tags
     83// Set the functions to handle opening and closing tags.
    8484xml_set_element_handler( $xml_parser, 'startElement', 'endElement' );
    8585
     
    9393}
    9494
    95 // Free up memory used by the XML parser
     95// Free up memory used by the XML parser.
    9696xml_parser_free( $xml_parser );
Note: See TracChangeset for help on using the changeset viewer.