Changeset 51850
- Timestamp:
- 09/22/2021 08:59:15 PM (4 years ago)
- Location:
- trunk/src
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/edit.php
r51475 r51850 155 155 $sendback = add_query_arg( 'untrashed', $untrashed, $sendback ); 156 156 157 remove_filter( 'wp_untrash_post_status', 'wp_untrash_post_set_previous_status', 10 , 3);157 remove_filter( 'wp_untrash_post_status', 'wp_untrash_post_set_previous_status', 10 ); 158 158 159 159 break; -
trunk/src/wp-admin/includes/class-wp-list-table.php
r51115 r51850 208 208 * 209 209 * @param string $name Property to check if set. 210 * @return bool Whether the property is set.210 * @return bool Whether the property is a back-compat property and it is set. 211 211 */ 212 212 public function __isset( $name ) { … … 214 214 return isset( $this->$name ); 215 215 } 216 217 return false; 216 218 } 217 219 … … 314 316 return $this->_pagination_args[ $key ]; 315 317 } 318 319 return 0; 316 320 } 317 321 -
trunk/src/wp-includes/class-wp-http-curl.php
r49108 r51850 308 308 309 309 // Handle redirects. 310 $redirect_response = WP_H TTP::handle_redirects( $url, $parsed_args, $response );310 $redirect_response = WP_Http::handle_redirects( $url, $parsed_args, $response ); 311 311 if ( false !== $redirect_response ) { 312 312 return $redirect_response; -
trunk/src/wp-includes/class-wp-http-streams.php
r51825 r51850 471 471 * @deprecated 3.7.0 Please use WP_HTTP::request() directly 472 472 */ 473 class WP_HTTP_Fsockopen extends WP_H TTP_Streams {473 class WP_HTTP_Fsockopen extends WP_Http_Streams { 474 474 // For backward compatibility for users who are using the class directly. 475 475 } -
trunk/src/wp-includes/post.php
r51837 r51850 5507 5507 return get_post( $foundid, $output ); 5508 5508 } 5509 5510 return null; 5509 5511 } 5510 5512 … … 5564 5566 return get_post( $page, $output ); 5565 5567 } 5568 5569 return null; 5566 5570 } 5567 5571 -
trunk/src/wp-includes/widgets.php
r51849 r51850 1740 1740 $show_author = isset( $widget_rss['show_author'] ) ? (int) $widget_rss['show_author'] : 0; 1741 1741 $show_date = isset( $widget_rss['show_date'] ) ? (int) $widget_rss['show_date'] : 0; 1742 $error = false; 1743 $link = ''; 1742 1744 1743 1745 if ( $check_feed ) { 1744 $rss = fetch_feed( $url ); 1745 $error = false; 1746 $link = ''; 1746 $rss = fetch_feed( $url ); 1747 1747 1748 if ( is_wp_error( $rss ) ) { 1748 1749 $error = $rss->get_error_message(); -
trunk/src/wp-includes/widgets/class-wp-widget-tag-cloud.php
r50995 r51850 53 53 } 54 54 } 55 56 $default_title = $title; 55 57 56 58 $show_count = ! empty( $instance['count'] ); -
trunk/src/wp-mail.php
r47580 r51850 78 78 $post_author = 1; 79 79 $author_found = false; 80 $post_date = null; 81 $post_date_gmt = null; 82 80 83 foreach ( $message as $line ) { 81 84 // Body signal.
Note: See TracChangeset
for help on using the changeset viewer.