You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 5576bfa
Browse filesBrowse the repository at this point in the historyBrowse files
php-stubs/wordpress-stubs v7.1.0 tightened the types of get_sites(),
get_terms(), wp_insert_term(), wp_delete_term(), WP_Query::$posts and
WP_Comment_Query::query(), and it now covers the Icons API.
Copy file name to clipboardExpand all lines: phpstan.neon.dist
+2-18Lines changed: 2 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -49,13 +49,13 @@ parameters:
49
49
# `wp icon` and `wp icon collection` abort on WordPress < 7.1 via `before_invoke`.
50
50
-
51
51
identifier: WPCompat.methodNotAvailable
52
-
message: '#^WP_Icon_Collections_Registry::get_instance\(\) is only available since WordPress version 7\.1\.0\.$#'
52
+
message: '#^WP_Icon_Collections_Registry::(get_all_registered|get_instance|get_registered|is_registered)\(\) is only available since WordPress version 7\.1\.0\.$#'
53
53
paths:
54
54
- src/Icon_Collection_Command.php
55
55
- src/Icon_Command.php
56
56
-
57
57
identifier: WPCompat.methodNotAvailable
58
-
message: '#^WP_Icons_Registry::get_instance\(\) is only available since WordPress version 7\.0\.0\.$#'
58
+
message: '#^WP_Icons_Registry::(get_instance|get_registered_icon|get_registered_icons|is_registered)\(\) is only available since WordPress version 7\.0\.0\.$#'
WP_CLI::success( "Migrated the term '{$term->slug}' from taxonomy '{$tax->name}' to taxonomy '{$destination_taxonomy}' for {$post_count}{$post_plural}." );
887
+
WP_CLI::success( "Migrated the term '{$term->slug}' from taxonomy '{$original_taxonomy}' to taxonomy '{$destination_taxonomy}' for {$post_count}{$post_plural}." );
0 commit comments