[wp-trac] [WordPress Trac] #36126: lastBuildDate in comment feed may not be empty
WordPress Trac
noreply at wordpress.org
Mon May 2 17:57:47 UTC 2016
#36126: lastBuildDate in comment feed may not be empty
--------------------------+------------------------------
Reporter: Cybr | Owner: stevenkword
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: Awaiting Review
Component: Feeds | Version: 4.4.2
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by Cybr):
Why not something more simple and right to the point?
e.g.:
{{{#!php
<?php if ( $last_build_date = get_lastcommentmodified('GMT') ) : ?>
<lastBuildDate><?php echo mysql2date('r', $last_build_date);
?></lastBuildDate>
<?php endif; ?>
}}}
I'm unsure about the maintainability, though.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36126#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list