Changeset 60582
- Timestamp:
- 11/19/2025 06:17:32 AM (6 days ago)
- Location:
- trunk
- Files:
-
- 10 edited
-
wp-admin/includes/plugin.php (modified) (3 diffs)
-
wp-admin/includes/upgrade.php (modified) (2 diffs)
-
wp-admin/includes/user.php (modified) (2 diffs)
-
wp-admin/includes/widgets.php (modified) (5 diffs)
-
wp-includes/block-supports/elements.php (modified) (1 diff)
-
wp-includes/class-wp-theme-json-resolver.php (modified) (4 diffs)
-
wp-includes/comment.php (modified) (2 diffs)
-
wp-includes/formatting.php (modified) (6 diffs)
-
wp-includes/functions.php (modified) (3 diffs)
-
wp-includes/version.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/plugin.php
r60559 r60582 2277 2277 * 2278 2278 * @param array $options 2279 * @return array 2279 * @return array Updated allowed options. 2280 2280 */ 2281 2281 function option_update_filter( $options ) { … … 2298 2298 * @param array $new_options 2299 2299 * @param string|array $options 2300 * @return array 2300 * @return array Updated allowed options. 2301 2301 */ 2302 2302 function add_allowed_options( $new_options, $options = '' ) { … … 2333 2333 * @param array $del_options 2334 2334 * @param string|array $options 2335 * @return array 2335 * @return array Updated allowed options. 2336 2336 */ 2337 2337 function remove_allowed_options( $del_options, $options = '' ) { -
trunk/wp-admin/includes/upgrade.php
r60342 r60582 2832 2832 * 2833 2833 * @param string $setting Option name. 2834 * @return mixed 2834 * @return mixed Option value. 2835 2835 */ 2836 2836 function __get_option( $setting ) { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.FunctionDoubleUnderscore,PHPCompatibility.FunctionNameRestrictions.ReservedFunctionNames.FunctionDoubleUnderscore … … 3375 3375 * @param string $theme_name The name of the theme. 3376 3376 * @param string $template The directory name of the theme. 3377 * @return bool 3377 * @return bool True on success, false on failure. 3378 3378 */ 3379 3379 function make_site_theme_from_oldschool( $theme_name, $template ) { -
trunk/wp-admin/includes/user.php
r59238 r60582 307 307 * 308 308 * @param int $user_id User ID. 309 * @return array309 * @return object[] The user's draft posts, with 'ID' and 'post_title' keys. 310 310 */ 311 311 function get_users_drafts( $user_id ) { … … 604 604 * 605 605 * @param string $text 606 * @return string 606 * @return string User site invitation email message. 607 607 */ 608 608 function admin_created_user_email( $text ) { -
trunk/wp-admin/includes/widgets.php
r56061 r60582 70 70 * @param array $a First array. 71 71 * @param array $b Second array. 72 * @return int 72 * @return int Comparison result. 73 73 */ 74 74 function _sort_name_callback( $a, $b ) { … … 130 130 * 131 131 * @param array $params 132 * @return array 132 * @return array Widget control arguments. 133 133 */ 134 134 function wp_list_widget_controls_dynamic_sidebar( $params ) { … … 158 158 * 159 159 * @param string $id_base 160 * @return int 160 * @return int Next available widget ID number. 161 161 */ 162 162 function next_widget_id_number( $id_base ) { … … 186 186 * 187 187 * @param array $sidebar_args 188 * @return array 188 * @return array Passed through value of `$sidebar_args` param. 189 189 */ 190 190 function wp_widget_control( $sidebar_args ) { … … 323 323 /** 324 324 * @param string $classes 325 * @return string 325 * @return string Modified body classes. 326 326 */ 327 327 function wp_widgets_access_body_class( $classes ) { -
trunk/wp-includes/block-supports/elements.php
r57555 r60582 28 28 * @param array $block Block object. 29 29 * @param array $options Per element type options e.g. whether to skip serialization. 30 * @return bool eanWhether the block needs an elements class name.30 * @return bool Whether the block needs an elements class name. 31 31 */ 32 32 function wp_should_add_elements_class_name( $block, $options ) { -
trunk/wp-includes/class-wp-theme-json-resolver.php
r58724 r60582 682 682 * @since 5.9.0 683 683 * 684 * @return int eger|null684 * @return int|null ID for a post of type `wp_global_styles`, or null if not available. 685 685 */ 686 686 public static function get_user_global_styles_post_id() { … … 705 705 * @deprecated 6.2.0 Use wp_theme_has_theme_json() instead. 706 706 * 707 * @return bool 707 * @return bool Whether the active theme has a theme.json file. 708 708 */ 709 709 public static function theme_has_support() { … … 781 781 * @param array $variation Theme.json shaped style variation object. 782 782 * @param string $scope Scope to check e.g. theme, block etc. 783 * @return bool ean783 * @return bool Whether the supplied style variation matches the provided scope. 784 784 */ 785 785 private static function style_variation_has_scope( $variation, $scope ) { … … 806 806 * 807 807 * @param string $scope The scope or type of style variation to retrieve e.g. theme, block etc. 808 * @return array 808 * @return array The style variations defined by the theme. 809 809 */ 810 810 public static function get_style_variations( $scope = 'theme' ) { -
trunk/wp-includes/comment.php
r60560 r60582 2770 2770 * 2771 2771 * @param bool $defer 2772 * @return bool 2772 * @return bool Whether comment counting is deferred. 2773 2773 */ 2774 2774 function wp_defer_comment_counting( $defer = null ) { … … 3372 3372 * 3373 3373 * @param string $source_uri 3374 * @return string 3374 * @return string Validated source URI. 3375 3375 */ 3376 3376 function pingback_ping_source_uri( $source_uri ) { -
trunk/wp-includes/formatting.php
r60530 r60582 804 804 * 805 805 * @param array $matches preg_replace_callback matches array 806 * @return string 806 * @return string Text with newlines replaced with placeholders. 807 807 */ 808 808 function _autop_newline_preservation_helper( $matches ) { … … 4681 4681 * 4682 4682 * @param string $text 4683 * @return string 4683 * @return string Escaped text. 4684 4684 */ 4685 4685 function esc_html( $text ) { … … 4706 4706 * 4707 4707 * @param string $text 4708 * @return string 4708 * @return string Escaped text. 4709 4709 */ 4710 4710 function esc_attr( $text ) { … … 4731 4731 * 4732 4732 * @param string $text 4733 * @return string 4733 * @return string Escaped text. 4734 4734 */ 4735 4735 function esc_textarea( $text ) { … … 4810 4810 * 4811 4811 * @param string $tag_name 4812 * @return string 4812 * @return string Sanitized tag name. 4813 4813 */ 4814 4814 function tag_escape( $tag_name ) { … … 5684 5684 * @param string $path A path. 5685 5685 * @param string $suffix If the filename ends in suffix this will also be cut off. 5686 * @return string 5686 * @return string The base name of the given path. 5687 5687 */ 5688 5688 function wp_basename( $path, $suffix = '' ) { -
trunk/wp-includes/functions.php
r60508 r60582 6569 6569 * @param array $a 6570 6570 * @param array $b 6571 * @return int 6571 * @return int Comparison result. 6572 6572 */ 6573 6573 function _wp_timezone_choice_usort_callback( $a, $b ) { … … 6626 6626 * @param string $selected_zone Selected timezone. 6627 6627 * @param string $locale Optional. Locale to load the timezones in. Default current site locale. 6628 * @return string 6628 * @return string HTML select element for timezones. 6629 6629 */ 6630 6630 function wp_timezone_choice( $selected_zone, $locale = null ) { … … 6828 6828 * 6829 6829 * @param string $str Header comment to clean up. 6830 * @return string 6830 * @return string Cleaned header comment. 6831 6831 */ 6832 6832 function _cleanup_header_comment( $str ) { -
trunk/wp-includes/version.php
r60581 r60582 17 17 * @global string $wp_version 18 18 */ 19 $wp_version = '7.0-alpha-612 69';19 $wp_version = '7.0-alpha-61270'; 20 20 21 21 /**
Note: See TracChangeset
for help on using the changeset viewer.