File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ abstract class Event {
4343 * The arguments to pass to the hook's callback function.
4444 *
4545 * Note: This should normally be an array, but may contain other types if
46- * the cron data is corrupted or invalid. Check has_invalid_args property .
46+ * the cron data is corrupted or invalid. Check the has_invalid_args() method .
4747 *
4848 * @var mixed[]|mixed
4949 */
Original file line number Diff line number Diff line change @@ -1899,8 +1899,7 @@ function show_cron_form( $editing ) {
18991899 </th>
19001900 <td>
19011901 <?php
1902- // @phpstan-ignore booleanAnd.rightAlwaysTrue
1903- if ( $ editing && $ existing && $ existing ->has_invalid_args () ) {
1902+ if ( $ editing && $ existing ->has_invalid_args () ) {
19041903 printf (
19051904 '<div class="notice notice-error inline"><p>%1$s</p><p>%2$s</p></div> ' ,
19061905 esc_html__ ( 'This event has invalid arguments and will not run correctly. ' , 'wp-crontrol ' ),
You can’t perform that action at this time.
0 commit comments