| @@ -81,9 +81,9 @@ | ||
| 81 | 81 | |
| 82 | 82 | /** |
| 83 | 83 | * Add action links to Stream drop row in admin list screen |
| 84 | 84 | * |
| 85 | - * @param array $links Previous links registered | |
| 85 | + * @param array $links Previous links registered | |
| 86 | 86 | * @param object $record Stream record |
| 87 | 87 | * |
| 88 | 88 | * @filter wp_stream_action_links_{connector} |
| 89 | 89 | * |
| @@ -97,13 +97,13 @@ | ||
| 97 | 97 | /** |
| 98 | 98 | * Log handler |
| 99 | 99 | * |
| 100 | 100 | * @param string $message sprintf-ready error message string |
| 101 | - * @param array $args sprintf (and extra) arguments to use | |
| 102 | - * @param int $object_id Target object id | |
| 101 | + * @param array $args sprintf (and extra) arguments to use | |
| 102 | + * @param int $object_id Target object id | |
| 103 | 103 | * @param string $context Context of the event |
| 104 | 104 | * @param string $action Action of the event |
| 105 | - * @param int $user_id User responsible for the event | |
| 105 | + * @param int $user_id User responsible for the event | |
| 106 | 106 | * |
| 107 | 107 | * @return bool |
| 108 | 108 | */ |
| 109 | 109 | public function log( $message, $args, $object_id, $context, $action, $user_id = null ) { |
| @@ -157,10 +157,10 @@ | ||
| 157 | 157 | |
| 158 | 158 | /** |
| 159 | 159 | * Compare two values and return changed keys if they are arrays |
| 160 | 160 | * |
| 161 | - * @param mixed $old_value Value before change | |
| 162 | - * @param mixed $new_value Value after change | |
| 161 | + * @param mixed $old_value Value before change | |
| 162 | + * @param mixed $new_value Value after change | |
| 163 | 163 | * @param bool|int $deep Get array children changes keys as well, not just parents |
| 164 | 164 | * |
| 165 | 165 | * @return array |
| 166 | 166 | */ |
| @@ -228,9 +228,9 @@ | ||
| 228 | 228 | foreach ( $changed as $child => $change ) { |
| 229 | 229 | $inner[ $parent . '::' . $child ] = $change; |
| 230 | 230 | } |
| 231 | 231 | $result[ $key ] = 0; // Changed parent which has a changed children |
| 232 | - $result = array_merge( $result, $inner ); | |
| 232 | + $result = array_merge( $result, $inner ); | |
| 233 | 233 | } |
| 234 | 234 | } |
| 235 | 235 | } |
| 236 | 236 | |