Changeset 37510
- Timestamp:
- 05/22/2016 06:35:24 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/functions.php
r37444 r37510 146 146 147 147 /** 148 * Filter the date formatted based on the locale.148 * Filters the date formatted based on the locale. 149 149 * 150 150 * @since 2.8.0 … … 226 226 227 227 /** 228 * Filter the number formatted based on the locale.228 * Filters the number formatted based on the locale. 229 229 * 230 230 * @since 2.8.0 … … 584 584 585 585 /** 586 * Filter the list of enclosure links before querying the database.586 * Filters the list of enclosure links before querying the database. 587 587 * 588 588 * Allows for the addition and/or removal of potential enclosures to save … … 882 882 883 883 /** 884 * Filter the list of query variables to remove.884 * Filters the list of query variables to remove. 885 885 * 886 886 * @since 4.2.0 … … 1070 1070 1071 1071 /** 1072 * Filter an HTTP status header.1072 * Filters an HTTP status header. 1073 1073 * 1074 1074 * @since 2.2.0 … … 1103 1103 if ( function_exists('apply_filters') ) { 1104 1104 /** 1105 * Filter the cache-controlling headers.1105 * Filters the cache-controlling headers. 1106 1106 * 1107 1107 * @since 2.8.0 … … 1324 1324 1325 1325 /** 1326 * Filter the robots.txt output.1326 * Filters the robots.txt output. 1327 1327 * 1328 1328 * @since 3.0.0 … … 1865 1865 1866 1866 /** 1867 * Filter the uploads directory data.1867 * Filters the uploads directory data. 1868 1868 * 1869 1869 * @since 2.0.0 … … 2057 2057 2058 2058 /** 2059 * Filter the result when generating a unique file name.2059 * Filters the result when generating a unique file name. 2060 2060 * 2061 2061 * @since 4.5.0 … … 2122 2122 2123 2123 /** 2124 * Filter whether to treat the upload bits as an error.2124 * Filters whether to treat the upload bits as an error. 2125 2125 * 2126 2126 * Passing a non-array to the filter will effectively short-circuit preparing … … 2259 2259 if ( !empty($imgstats['mime']) && $imgstats['mime'] != $type ) { 2260 2260 /** 2261 * Filter the list mapping image mime types to their respective extensions.2261 * Filters the list mapping image mime types to their respective extensions. 2262 2262 * 2263 2263 * @since 3.0.0 … … 2292 2292 2293 2293 /** 2294 * Filter the "real" file type of the given file.2294 * Filters the "real" file type of the given file. 2295 2295 * 2296 2296 * @since 3.0.0 … … 2316 2316 function wp_get_mime_types() { 2317 2317 /** 2318 * Filter the list of mime types and file extensions.2318 * Filters the list of mime types and file extensions. 2319 2319 * 2320 2320 * This filter should be used to add, not remove, mime types. To remove … … 2439 2439 2440 2440 /** 2441 * Filter file type based on the extension name.2441 * Filters file type based on the extension name. 2442 2442 * 2443 2443 * @since 2.5.0 … … 2481 2481 2482 2482 /** 2483 * Filter list of allowed mime types and file extensions.2483 * Filters list of allowed mime types and file extensions. 2484 2484 * 2485 2485 * @since 2.0.0 … … 2561 2561 if ( defined( 'DOING_AJAX' ) && DOING_AJAX ) { 2562 2562 /** 2563 * Filter callback for killing WordPress execution for AJAX requests.2563 * Filters callback for killing WordPress execution for AJAX requests. 2564 2564 * 2565 2565 * @since 3.4.0 … … 2570 2570 } elseif ( defined( 'XMLRPC_REQUEST' ) && XMLRPC_REQUEST ) { 2571 2571 /** 2572 * Filter callback for killing WordPress execution for XML-RPC requests.2572 * Filters callback for killing WordPress execution for XML-RPC requests. 2573 2573 * 2574 2574 * @since 3.4.0 … … 2579 2579 } else { 2580 2580 /** 2581 * Filter callback for killing WordPress execution for all non-AJAX, non-XML-RPC requests.2581 * Filters callback for killing WordPress execution for all non-AJAX, non-XML-RPC requests. 2582 2582 * 2583 2583 * @since 3.0.0 … … 3514 3514 function wp_maybe_load_widgets() { 3515 3515 /** 3516 * Filter whether to load the Widgets library.3516 * Filters whether to load the Widgets library. 3517 3517 * 3518 3518 * Passing a falsey value to the filter will effectively short-circuit … … 3660 3660 3661 3661 /** 3662 * Filter whether to trigger an error for deprecated functions.3662 * Filters whether to trigger an error for deprecated functions. 3663 3663 * 3664 3664 * @since 2.5.0 … … 3716 3716 3717 3717 /** 3718 * Filter whether to trigger an error for deprecated functions.3718 * Filters whether to trigger an error for deprecated functions. 3719 3719 * 3720 3720 * `WP_DEBUG` must be true in addition to the filter evaluating to true. … … 3783 3783 3784 3784 /** 3785 * Filter whether to trigger an error for deprecated files.3785 * Filters whether to trigger an error for deprecated files. 3786 3786 * 3787 3787 * @since 2.5.0 … … 3844 3844 3845 3845 /** 3846 * Filter whether to trigger an error for deprecated arguments.3846 * Filters whether to trigger an error for deprecated arguments. 3847 3847 * 3848 3848 * @since 3.0.0 … … 3895 3895 3896 3896 /** 3897 * Filter whether to trigger an error for _doing_it_wrong() calls.3897 * Filters whether to trigger an error for _doing_it_wrong() calls. 3898 3898 * 3899 3899 * @since 3.1.0 … … 3990 3990 3991 3991 /** 3992 * Filter whether IIS 7+ supports pretty permalinks.3992 * Filters whether IIS 7+ supports pretty permalinks. 3993 3993 * 3994 3994 * @since 2.8.0 … … 4247 4247 4248 4248 /** 4249 * Filter the main network ID.4249 * Filters the main network ID. 4250 4250 * 4251 4251 * @since 4.3.0 … … 4273 4273 4274 4274 /** 4275 * Filter whether global terms are enabled.4275 * Filters whether global terms are enabled. 4276 4276 * 4277 4277 * Passing a non-null value to the filter will effectively short-circuit the function, … … 4591 4591 4592 4592 /** 4593 * Filter extra file headers by context.4593 * Filters extra file headers by context. 4594 4594 * 4595 4595 * The dynamic portion of the hook name, `$context`, refers to … … 4840 4840 4841 4841 /** 4842 * Filter the list of protocols allowed in HTML attributes.4842 * Filters the list of protocols allowed in HTML attributes. 4843 4843 * 4844 4844 * @since 3.0.0 … … 4977 4977 function wp_checkdate( $month, $day, $year, $source_date ) { 4978 4978 /** 4979 * Filter whether the given date is valid for the Gregorian calendar.4979 * Filters whether the given date is valid for the Gregorian calendar. 4980 4980 * 4981 4981 * @since 3.5.0 … … 5010 5010 5011 5011 /** 5012 * Filter whether to load the authentication check.5012 * Filters whether to load the authentication check. 5013 5013 * 5014 5014 * Passing a falsey value to the filter will effectively short-circuit … … 5040 5040 5041 5041 /** 5042 * Filter whether the authentication check originated at the same domain.5042 * Filters whether the authentication check originated at the same domain. 5043 5043 * 5044 5044 * @since 3.6.0 … … 5227 5227 function wp_delete_file( $file ) { 5228 5228 /** 5229 * Filter the path of the file to delete.5229 * Filters the path of the file to delete. 5230 5230 * 5231 5231 * @since 2.1.0
Note: See TracChangeset
for help on using the changeset viewer.