Refactoring

This commit is contained in:
thanghv 2020-05-13 15:53:45 +07:00
parent f9d0af6f6f
commit 7788fb4601
15 changed files with 15 additions and 15 deletions

View file

@ -12,7 +12,7 @@
* Extension URL: https://mainwp.com/extension/mainwpbuddy/
*/
// phpcs:disable PSR1.Classes.ClassDeclaration, disable WordPress.WP.AlternativeFunctions -- use external code.
// phpcs:disable PSR1.Classes.ClassDeclaration, WordPress.WP.AlternativeFunctions -- use external code.
class MainWP_Child_Back_Up_Buddy {

View file

@ -13,7 +13,7 @@
* Extension URL: https://mainwp.com/extension/backupwordpress/
*/
// phpcs:disable PSR1.Classes.ClassDeclaration, disable WordPress.WP.AlternativeFunctions -- use external code.
// phpcs:disable PSR1.Classes.ClassDeclaration, WordPress.WP.AlternativeFunctions -- use external code.
class MainWP_Child_Back_Up_WordPress {
public static $instance = null;

View file

@ -13,7 +13,7 @@
* Extension URL: https://mainwp.com/extension/backwpup/
*/
// phpcs:disable PSR1.Classes.ClassDeclaration, disable WordPress.WP.AlternativeFunctions -- use external code.
// phpcs:disable PSR1.Classes.ClassDeclaration, WordPress.WP.AlternativeFunctions -- use external code.
if ( ! defined( 'MAINWP_BACKWPUP_DEVELOPMENT' ) ) {
define( 'MAINWP_BACKWPUP_DEVELOPMENT', false );

View file

@ -13,7 +13,7 @@
* Extension URL: https://mainwp.com/extension/ithemes-security/
*/
// phpcs:disable PSR1.Classes.ClassDeclaration, disable WordPress.WP.AlternativeFunctions -- use external code.
// phpcs:disable PSR1.Classes.ClassDeclaration, WordPress.WP.AlternativeFunctions -- use external code.
class MainWP_Child_IThemes_Security {
public static $instance = null;

View file

@ -9,7 +9,7 @@
* The code is used for the MainWP Broken Links Checker Extension (Retired Extension)
*/
// phpcs:disable PSR1.Classes.ClassDeclaration, disable WordPress.WP.AlternativeFunctions -- use external code.
// phpcs:disable PSR1.Classes.ClassDeclaration, WordPress.WP.AlternativeFunctions -- use external code.
class MainWP_Child_Links_Checker {

View file

@ -12,7 +12,7 @@
* Extension URL: https://mainwp.com/extension/page-speed/
*/
// phpcs:disable PSR1.Classes.ClassDeclaration, disable WordPress.WP.AlternativeFunctions -- use external code.
// phpcs:disable PSR1.Classes.ClassDeclaration, WordPress.WP.AlternativeFunctions -- use external code.
class MainWP_Child_Pagespeed {

View file

@ -736,7 +736,7 @@ class MainWP_Child_Posts {
$this->create_has_shortcode_gallery( $new_post );
if ( $is_post_plus ) {
$this->create_post_plus( $new_post, $post_custom );
$this->create_post_plus( $new_post, $post_custom );
}
if ( isset( $post_tags ) && '' !== $post_tags ) {

View file

@ -11,7 +11,7 @@
* Extension URL: https://mainwp.com/extension/time-capsule/
*/
// phpcs:disable PSR1.Classes.ClassDeclaration, disable WordPress.WP.AlternativeFunctions -- use external code.
// phpcs:disable PSR1.Classes.ClassDeclaration, WordPress.WP.AlternativeFunctions -- use external code.
class MainWP_Child_Timecapsule {
public static $instance = null;

View file

@ -12,7 +12,7 @@
* Extension URL: https://mainwp.com/extension/updraftplus/
*/
// phpcs:disable PSR1.Classes.ClassDeclaration, disable WordPress.WP.AlternativeFunctions -- use external code.
// phpcs:disable PSR1.Classes.ClassDeclaration, WordPress.WP.AlternativeFunctions -- use external code.
class MainWP_Child_Updraft_Plus_Backups {
public static $instance = null;

View file

@ -11,7 +11,7 @@
* Extension URL: https://mainwp.com/extension/woocommerce-status/
*/
// phpcs:disable PSR1.Classes.ClassDeclaration, disable WordPress.WP.AlternativeFunctions -- use external code.
// phpcs:disable PSR1.Classes.ClassDeclaration, WordPress.WP.AlternativeFunctions -- use external code.
class MainWP_Child_WooCommerce_Status {
public static $instance = null;

View file

@ -11,7 +11,7 @@
* Extension URL: https://mainwp.com/extension/wordfence/
*/
// phpcs:disable PSR1.Classes.ClassDeclaration, disable WordPress.WP.AlternativeFunctions -- use external code.
// phpcs:disable PSR1.Classes.ClassDeclaration, WordPress.WP.AlternativeFunctions -- use external code.
class MainWP_Child_Wordfence {
public static $instance = null;

View file

@ -12,7 +12,7 @@
* Extension URL: https://mainwp.com/extension/rocket/
*/
// phpcs:disable PSR1.Classes.ClassDeclaration, disable WordPress.WP.AlternativeFunctions -- use external code.
// phpcs:disable PSR1.Classes.ClassDeclaration, WordPress.WP.AlternativeFunctions -- use external code.
class MainWP_Child_WP_Rocket {
public static $instance = null;

View file

@ -1,6 +1,6 @@
<?php
// phpcs:disable PSR1.Classes.ClassDeclaration, disable WordPress.WP.AlternativeFunctions -- use external code.
// phpcs:disable PSR1.Classes.ClassDeclaration, WordPress.WP.AlternativeFunctions -- use external code.
class MainWP_Child_WPvivid_BackupRestore {

View file

@ -1,6 +1,6 @@
<?php
// phpcs:disable disable WordPress.WP.AlternativeFunctions -- to custom.
// phpcs:disable WordPress.WP.AlternativeFunctions -- to custom.
namespace MainWP\Child;

View file

@ -12,7 +12,7 @@
* Extension URL: https://mainwp.com/extension/wordpress-seo/
*/
// phpcs:disable PSR1.Classes.ClassDeclaration, disable WordPress.WP.AlternativeFunctions -- use external code.
// phpcs:disable PSR1.Classes.ClassDeclaration, WordPress.WP.AlternativeFunctions -- use external code.
class MainWP_WordPress_SEO {
public static $instance = null;