WordPress.org

Make WordPress Core

Changeset 33226


Ignore:
Timestamp:
07/13/2015 09:34:35 PM (6 years ago)
Author:
DrewAPicture
Message:

Fix inline documentation syntax for a few general-purpose functions and hooks added in 4.3.

  • _deprecated_constructor() See [32989]
  • deprecated_constructor_trigger_error See [32989]
  • get_main_network_id() See [32775]
  • wp_post_preview_js() See [32809]

See #32891.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/functions.php

    r32989 r33226  
    34223422 * remove PHP4 style constructors.
    34233423 *
    3424  * The current behavior is to trigger a user error if WP_DEBUG is true.
     3424 * The current behavior is to trigger a user error if `WP_DEBUG` is true.
    34253425 *
    34263426 * This function is to be used in every PHP4 style constructor method that is deprecated.
    34273427 *
    34283428 * @since 4.3.0
    3429  *
    34303429 * @access private
    34313430 *
     
    34473446    /**
    34483447     * Filter whether to trigger an error for deprecated functions.
     3448     *
     3449     * `WP_DEBUG` must be true in addition to the filter evaluating to true.
    34493450     *
    34503451     * @since 4.3.0
     
    39443945 * @since 4.3.0
    39453946 *
    3946  * @global wpdb $wpdb
     3947 * @global wpdb $wpdb WordPress database abstraction object.
    39473948 *
    39483949 * @return int The ID of the main network.
     
    49644965/**
    49654966 * Outputs a small JS snippet on preview tabs/windows to remove `window.name` on unload.
     4967 *
    49664968 * This prevents reusing the same tab for a preview when the user has navigated away.
    49674969 *
Note: See TracChangeset for help on using the changeset viewer.