| @@ -1,5 +1,14 @@ | ||
| 1 | 1 | <?php |
| 2 | +/** | |
| 3 | + * Shared entry sidebar publish box. | |
| 4 | + * | |
| 5 | + * @package Formidable | |
| 6 | + * | |
| 7 | + * @var stdClass|null $entry Entry object (falls back to $record). | |
| 8 | + * @var stdClass|null $record Legacy entry object used when $entry is not set. | |
| 9 | + */ | |
| 10 | + | |
| 2 | 11 | if ( ! defined( 'ABSPATH' ) ) { |
| 3 | 12 | die( 'You are not allowed to call this page directly.' ); |
| 4 | 13 | } |
| 5 | 14 | |
| @@ -21,8 +30,9 @@ | ||
| 21 | 30 | * |
| 22 | 31 | * @param string $text |
| 23 | 32 | * @param stdClass $entry |
| 24 | 33 | */ |
| 34 | + // skipcq: PHP-W1020 | |
| 25 | 35 | $additional_timestamp_text = apply_filters( 'frm_additional_timestamp_text', '', $entry ); |
| 26 | 36 | |
| 27 | 37 | printf( |
| 28 | 38 | /* translators: %1$s: Entry status, %2$s: <b> open tag, %3$s: The date, %4$s: Possible additional text, %5$s: </b> close tag */ |