WordPress.org

Making WordPress.org

Changeset 11276


Ignore:
Timestamp:
10/13/2021 04:22:35 AM (8 weeks ago)
Author:
dd32
Message:

Profiles GitHub activity: Fix a typo causing pushes not to be recorded correctly.

See https://make.wordpress.org/meta/2021/10/11/wordpress-org-profiles-now-show-github-activity/#comment-9217
See r11270, #4447.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/api.wordpress.org/public_html/dotorg/github/activity.php

    r11270 r11276  
    154154                'repo'        => $payload->repository->full_name,
    155155                'url'         => count( $payload->commits ) > 1 ? $payload->compare : $payload->head_commit->url,
    156                 'title'       => count( $payload->commits ) . ' commits:' . $payload->head_commit->message,
    157                 'payoad'      => json_encode( $payload, JSON_UNESCAPED_SLASHES | JSON_PRETTY_PRINT ),
     156                'title'       => count( $payload->commits ) . ' commits: ' . $payload->head_commit->message,
     157                'payload'     => json_encode( $payload, JSON_UNESCAPED_SLASHES | JSON_PRETTY_PRINT ),
    158158            ]
    159159        );
Note: See TracChangeset for help on using the changeset viewer.