Making WordPress.org


Ignore:
Timestamp:
02/27/2023 01:54:42 AM (2 years ago)
Author:
dd32
Message:

Translate: Fix constant PHP Notices.

See https://github.com/GlotPress/gp-translation-helpers/pull/162

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/gp-translation-helpers/helpers/helper-translation-discussion.php

    r12405 r12424  
    580580                'translation_id'       => isset( $this->data['translation_id'] ) ? $this->data['translation_id'] : null,
    581581                'locale_slug'          => $this->data['locale_slug'],
    582                 'original_permalink'   => $this->data['original_permalink'],
     582                'original_permalink'   => $this->data['original_permalink'] ?? false,
    583583                'original_id'          => $this->data['original_id'],
    584584                'project'              => $this->data['project'],
Note: See TracChangeset for help on using the changeset viewer.