Changeset 46603
- Timestamp:
- 10/27/2019 07:09:10 PM (5 years ago)
- Location:
- trunk/src
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/revision.php
r45932 r46603 75 75 * @since 3.6.0 76 76 * 77 * @param string $ compare_from->$field The current revision field to compare to or from.78 * @param string $field 79 * @param WP_Post $compare_from 80 * @param string nullThe context of whether the current revision is the old81 * 77 * @param string $revision_field The current revision field to compare to or from. 78 * @param string $field The current revision field. 79 * @param WP_Post $compare_from The revision post object to compare to or from. 80 * @param string $context The context of whether the current revision is the old 81 * or the new one. Values are 'to' or 'from'. 82 82 */ 83 83 $content_from = $compare_from ? apply_filters( "_wp_post_revision_field_{$field}", $compare_from->$field, $field, $compare_from, 'from' ) : ''; -
trunk/src/wp-admin/post.php
r45932 r46603 169 169 * @since 4.9.0 170 170 * 171 * @param bool eanWhether to replace the editor. Default false.172 * @param object $postPost object.171 * @param bool $replace Whether to replace the editor. Default false. 172 * @param WP_Post $post Post object. 173 173 */ 174 174 if ( apply_filters( 'replace_editor', false, $post ) === true ) { -
trunk/src/wp-includes/comment.php
r46427 r46603 3573 3573 * @since 4.9.6 3574 3574 * 3575 * @param bool|string Whether to apply the comment anonymization (bool).3576 * Custom preventionmessage (string). Default true.3577 * @param WP_Comment $comment WP_Comment object.3578 * @param array $anonymized_comment Anonymized comment data.3575 * @param bool|string $anon_message Whether to apply the comment anonymization (bool) or a custom 3576 * message (string). Default true. 3577 * @param WP_Comment $comment WP_Comment object. 3578 * @param array $anonymized_comment Anonymized comment data. 3579 3579 */ 3580 3580 $anon_message = apply_filters( 'wp_anonymize_comment', true, $comment, $anonymized_comment ); -
trunk/src/wp-includes/formatting.php
r46596 r46603 5585 5585 * @since 4.2.0 5586 5586 * 5587 * @param string The emoji base URL for png images.5587 * @param string $url The emoji base URL for png images. 5588 5588 */ 5589 5589 'baseUrl' => apply_filters( 'emoji_url', 'https://s.w.org/images/core/emoji/12.0.0-1/72x72/' ), … … 5594 5594 * @since 4.2.0 5595 5595 * 5596 * @param string The emoji extension for png files. Default .png.5596 * @param string $extension The emoji extension for png files. Default .png. 5597 5597 */ 5598 5598 'ext' => apply_filters( 'emoji_ext', '.png' ), … … 5603 5603 * @since 4.6.0 5604 5604 * 5605 * @param string The emoji base URL for svg images.5605 * @param string $url The emoji base URL for svg images. 5606 5606 */ 5607 5607 'svgUrl' => apply_filters( 'emoji_svg_url', 'https://s.w.org/images/core/emoji/12.0.0-1/svg/' ), … … 5612 5612 * @since 4.6.0 5613 5613 * 5614 * @param string The emoji extension for svg files. Default .svg.5614 * @param string $extension The emoji extension for svg files. Default .svg. 5615 5615 */ 5616 5616 'svgExt' => apply_filters( 'emoji_svg_ext', '.svg' ), -
trunk/src/wp-includes/l10n.php
r46593 r46603 127 127 * @since 5.0.0 128 128 * 129 * @param string|null The locale to return and short-circuit, or null as default.129 * @param string|null $locale The locale to return and short-circuit. Default null. 130 130 */ 131 131 $determined_locale = apply_filters( 'pre_determine_locale', null ); -
trunk/src/wp-includes/media.php
r46596 r46603 636 636 * @since 5.3.0 637 637 * 638 * @param bool The filtered value.639 * @param int Original image width.640 * @param int Original image height.638 * @param bool $proceed The filtered value. 639 * @param int $orig_w Original image width. 640 * @param int $orig_h Original image height. 641 641 */ 642 642 $proceed = (bool) apply_filters( 'wp_image_resize_identical_dimensions', false, $orig_w, $orig_h ); … … 3697 3697 * @link https://core.trac.wordpress.org/ticket/31071 3698 3698 * 3699 * @param bool|null Whether to show the button, or `null` to decide based3700 * on whether any audio files exist in the media library.3699 * @param bool|null $show Whether to show the button, or `null` to decide based 3700 * on whether any audio files exist in the media library. 3701 3701 */ 3702 3702 $show_audio_playlist = apply_filters( 'media_library_show_audio_playlist', true ); … … 3727 3727 * @link https://core.trac.wordpress.org/ticket/31071 3728 3728 * 3729 * @param bool|null Whether to show the button, or `null` to decide based3730 * on whether any video files exist in the media library.3729 * @param bool|null $show Whether to show the button, or `null` to decide based 3730 * on whether any video files exist in the media library. 3731 3731 */ 3732 3732 $show_video_playlist = apply_filters( 'media_library_show_video_playlist', true ); … … 3755 3755 * @link https://core.trac.wordpress.org/ticket/31071 3756 3756 * 3757 * @param array|null An array of objects with `month` and `year`3758 * properties, or `null` (or any other non-array value)3759 * for default behavior.3757 * @param array|null $months An array of objects with `month` and `year` 3758 * properties, or `null` (or any other non-array value) 3759 * for default behavior. 3760 3760 */ 3761 3761 $months = apply_filters( 'media_library_months_with_files', null ); -
trunk/src/wp-includes/ms-load.php
r46596 r46603 79 79 * @since 3.0.0 80 80 * 81 * @param bool nullWhether to skip the blog status check. Default null.81 * @param bool|null $check Whether to skip the blog status check. Default null. 82 82 */ 83 83 $check = apply_filters( 'ms_site_check', null ); -
trunk/src/wp-includes/theme.php
r46457 r46603 2871 2871 * @since 3.4.0 2872 2872 * 2873 * @param bool trueWhether the current theme supports the given feature. Default true.2874 * @param array $args Array of arguments for the feature.2875 * @param string $feature The theme feature.2873 * @param bool $supports Whether the current theme supports the given feature. Default true. 2874 * @param array $args Array of arguments for the feature. 2875 * @param string $feature The theme feature. 2876 2876 */ 2877 2877 return apply_filters( "current_theme_supports-{$feature}", true, $args, $_wp_theme_features[ $feature ] ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores -
trunk/src/wp-login.php
r46361 r46603 595 595 * @since 5.3.0 596 596 * 597 * @param int Interval time (in seconds).597 * @param int $interval Interval time (in seconds). 598 598 */ 599 599 $admin_email_check_interval = (int) apply_filters( 'admin_email_check_interval', 6 * MONTH_IN_SECONDS );
Note: See TracChangeset
for help on using the changeset viewer.