mirror of
https://github.com/mainwp/mainwp-child.git
synced 2025-08-31 03:53:15 +08:00
Refactoring
This commit is contained in:
parent
f9d0af6f6f
commit
7788fb4601
15 changed files with 15 additions and 15 deletions
|
@ -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 {
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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 );
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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 {
|
||||
|
||||
|
|
|
@ -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 {
|
||||
|
||||
|
|
|
@ -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 ) {
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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 {
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
// phpcs:disable disable WordPress.WP.AlternativeFunctions -- to custom.
|
||||
// phpcs:disable WordPress.WP.AlternativeFunctions -- to custom.
|
||||
|
||||
namespace MainWP\Child;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue