PluginProbe
ActivityPub / 8.0.2
ActivityPub v8.0.2
9.3.1 9.3.0 9.2.2 9.2.1 9.2.0 9.1.0 9.0.2 9.0.1 9.0.0 8.3.0 8.2.1 8.2.0 8.1.1 1.0.5 1.0.6 1.0.7 1.0.8 1.0.9 1.1.0 1.2.0 1.3.0 2.0.0 2.0.1 2.1.0 2.1.1 All 160 releases
← All changes | includes/cli/class-outbox-command.php +2 -2 9.3.08.0.2 View file →
@@ -41,9 +41,9 @@
41 41 * @param array $assoc_args The associative arguments (unused).
42 42 */
43 43 public function undo( $args, $assoc_args ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
44 44 $outbox_item_id = $args[0];
45 - if ( ! \is_numeric( $outbox_item_id ) ) {
45 + if ( ! is_numeric( $outbox_item_id ) ) {
46 46 $outbox_item_id = \url_to_postid( $outbox_item_id );
47 47 }
48 48
49 49 $outbox_item = \get_post( $outbox_item_id );
@@ -83,9 +83,9 @@
83 83 * @param array $assoc_args The associative arguments (unused).
84 84 */
85 85 public function reschedule( $args, $assoc_args ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
86 86 $outbox_item_id = $args[0];
87 - if ( ! \is_numeric( $outbox_item_id ) ) {
87 + if ( ! is_numeric( $outbox_item_id ) ) {
88 88 $outbox_item_id = \url_to_postid( $outbox_item_id );
89 89 }
90 90
91 91 $outbox_item = \get_post( $outbox_item_id );