mirror of
https://github.com/mainwp/mainwp-child.git
synced 2025-09-05 09:19:53 +08:00
Refactoring
This commit is contained in:
parent
ebda5deb4c
commit
148109d980
29 changed files with 366 additions and 329 deletions
|
@ -158,7 +158,7 @@ class MainWP_Child_Branding {
|
|||
$information = $this->update_branding();
|
||||
break;
|
||||
}
|
||||
MainWP_Helper::write( $information );
|
||||
mainwp_child_helper()->write( $information );
|
||||
}
|
||||
|
||||
public function update_branding() {
|
||||
|
@ -743,7 +743,7 @@ class MainWP_Child_Branding {
|
|||
$generator = '<!-- generator="' . $extra_setting['site_generator'] . '" -->';
|
||||
break;
|
||||
case 'export':
|
||||
$generator = '<!-- generator="' . $extra_setting['site_generator'] . '" created="' . date( 'Y-m-d H:i' ) . '" -->'; //phpcs:ignore -- current local time
|
||||
$generator = '<!-- generator="' . $extra_setting['site_generator'] . '" created="' . date( 'Y-m-d H:i' ) . '" -->'; //phpcs:ignore -- current local time.
|
||||
break;
|
||||
endswitch;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue