Changeset 64072
- Timestamp:
- 10/02/2026 11:29:44 PM (8 days ago)
- Location:
- trunk
- Files:
-
- 3 edited
-
src/wp-mail.php (modified) (1 diff)
-
src/wp-trackback.php (modified) (1 diff)
-
tests/phpstan/baselines/variable.undefined.neon (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-mail.php
r63914 r64072 84 84 85 85 $bodysignal = false; 86 $boundary = '';87 86 $charset = ''; 88 87 $content = ''; 89 88 $content_type = ''; 90 89 $content_transfer_encoding = ''; 90 $boundary = ''; 91 $subject = ''; 91 92 $post_author = 1; 92 93 $author_found = false; 93 $post_date = null;94 $post_date_gmt = null;94 $post_date = ''; 95 $post_date_gmt = ''; 95 96 96 97 foreach ( $message as $line ) { -
trunk/src/wp-trackback.php
r62956 r64072 92 92 $blog_name = wp_slash( $blog_name ); 93 93 94 /** 95 * @global wpdb $wpdb WordPress database abstraction object. 96 * @global WP_Post[] $posts Array of post objects. 97 */ 98 global $wpdb, $posts; 99 94 100 if ( is_single() || is_page() ) { 95 101 $post_id = $posts[0]->ID; -
trunk/tests/phpstan/baselines/variable.undefined.neon
r64046 r64072 910 910 path: ../../../src/wp-login.php 911 911 - 912 message: '#^Variable \$subject might not be defined\.$#'913 identifier: variable.undefined914 count: 1915 path: ../../../src/wp-mail.php916 -917 912 message: '#^Variable \$table_prefix might not be defined\.$#' 918 913 identifier: variable.undefined … … 924 919 count: 1 925 920 path: ../../../src/wp-settings.php 926 -927 message: '#^Variable \$posts might not be defined\.$#'928 identifier: variable.undefined929 count: 1930 path: ../../../src/wp-trackback.php931 -932 message: '#^Variable \$wpdb might not be defined\.$#'933 identifier: variable.undefined934 count: 4935 path: ../../../src/wp-trackback.php
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)