Changeset 37543 for trunk/src/wp-includes/functions.php
- Timestamp:
- 05/23/2016 07:00:41 PM (10 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/functions.php (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/functions.php
r37510 r37543 2319 2319 * 2320 2320 * This filter should be used to add, not remove, mime types. To remove 2321 * mime types, use the 'upload_mimes'filter.2321 * mime types, use the {@see 'upload_mimes'} filter. 2322 2322 * 2323 2323 * @since 3.5.0 … … 2592 2592 2593 2593 /** 2594 * Kill WordPress execution and display HTML message with error message.2594 * Kills WordPress execution and display HTML message with error message. 2595 2595 * 2596 2596 * This is the default handler for wp_die if you want a custom one for your 2597 * site then you can overload using the wp_die_handler filter in wp_die2597 * site then you can overload using the {@see 'wp_die_handler'} filter in wp_die(). 2598 2598 * 2599 2599 * @since 3.0.0 … … 3631 3631 * Mark a function as deprecated and inform when it has been used. 3632 3632 * 3633 * There is a hook deprecated_function_runthat will be called that can be used3633 * There is a {@see 'hook deprecated_function_run'} that will be called that can be used 3634 3634 * to get the backtrace up to what file and function called the deprecated 3635 3635 * function. 3636 3636 * 3637 * The current behavior is to trigger a user error if WP_DEBUGis true.3637 * The current behavior is to trigger a user error if `WP_DEBUG` is true. 3638 3638 * 3639 3639 * This function is to be used in every function that is deprecated. … … 3751 3751 * Mark a file as deprecated and inform when it has been used. 3752 3752 * 3753 * There is a hook deprecated_file_includedthat will be called that can be used3753 * There is a hook {@see 'deprecated_file_included'} that will be called that can be used 3754 3754 * to get the backtrace up to what file and function included the deprecated 3755 3755 * file. 3756 3756 * 3757 * The current behavior is to trigger a user error if WP_DEBUGis true.3757 * The current behavior is to trigger a user error if `WP_DEBUG` is true. 3758 3758 * 3759 3759 * This function is to be used in every file that is deprecated. … … 3868 3868 * Mark something as being incorrectly called. 3869 3869 * 3870 * There is a hook doing_it_wrong_runthat will be called that can be used3870 * There is a hook {@see 'doing_it_wrong_run'} that will be called that can be used 3871 3871 * to get the backtrace up to what file and function called the deprecated 3872 3872 * function. 3873 3873 * 3874 * The current behavior is to trigger a user error if WP_DEBUGis true.3874 * The current behavior is to trigger a user error if `WP_DEBUG` is true. 3875 3875 * 3876 3876 * @since 3.1.0 … … 4573 4573 * @param string $file Path to the file. 4574 4574 * @param array $default_headers List of headers, in the format array('HeaderKey' => 'Header Name'). 4575 * @param string $context Optional. If specified adds filter hook "extra_{$context}_headers".4575 * @param string $context Optional. If specified adds filter hook {@see 'extra_$context_headers'}. 4576 4576 * Default empty. 4577 4577 * @return array Array of file headers in `HeaderKey => Header Value` format. … … 4993 4993 * 4994 4994 * This is disabled for certain screens where a login screen could cause an 4995 * inconvenient interruption. A filter called wp_auth_check_loadcan be used4995 * inconvenient interruption. A filter called {@see 'wp_auth_check_load'} can be used 4996 4996 * for fine-grained control. 4997 4997 *
Note: See TracChangeset
for help on using the changeset viewer.