[wp-trac] [WordPress Trac] #55762: All export xml files have same name
WordPress Trac
noreply at wordpress.org
Tue Jun 7 14:38:23 UTC 2022
#55762: All export xml files have same name
--------------------------------------+-----------------------------
Reporter: martiniwebb | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Export | Version:
Severity: normal | Resolution:
Keywords: needs-patch dev-feedback | Focuses:
--------------------------------------+-----------------------------
Changes (by sajjad67):
* keywords: needs-patch => needs-patch dev-feedback
Comment:
@martiniwebb @SergeyBiryukov
I also agree with that... looked into the core file but i am not sure what
should be the order of each things in the file name!
For example should it be :
{{{
$sitename . 'WordPress.' . $date . $contentType . $categories . $author .
$startDate . $endDate . $status . '.xml';
}}}
or which order should be best for readability?
Note : each variable in the filename will come dynamically, ex:
{{{
$categories = '';
if ( isset( $args['category'] ) ) $categories = $args['category'];
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55762#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list