Completed
Branch master (a559c4)
by
unknown
05:07
created
network_admin_page/controller/AdminPageFramework_Link_NetworkAdmin.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -23,21 +23,21 @@
 block discarded – undo
23 23
     /**
24 24
      * Sets up hooks and properties.
25 25
      */
26
-    public function __construct( $oProp, $oMsg=null ) {
26
+    public function __construct( $oProp, $oMsg = null ) {
27 27
     
28 28
         parent::__construct( $oProp, $oMsg );
29 29
         
30
-        if ( in_array( $this->oProp->sPageNow, array( 'plugins.php' ) ) && 'plugin' === $this->oProp->aScriptInfo['sType'] ) {
30
+        if ( in_array( $this->oProp->sPageNow, array( 'plugins.php' ) ) && 'plugin' === $this->oProp->aScriptInfo[ 'sType' ] ) {
31 31
             
32 32
             // This filter for non-network-admin action links is added in the parent constructor.
33 33
             remove_filter( 
34
-                'plugin_action_links_' . plugin_basename( $this->oProp->aScriptInfo['sPath'] ),
34
+                'plugin_action_links_'.plugin_basename( $this->oProp->aScriptInfo[ 'sPath' ] ),
35 35
                 array( $this, '_replyToAddSettingsLinkInPluginListingPage' ),
36 36
                 20
37 37
             );
38 38
             // Add the action link filter for the multi-site network admin.
39 39
             add_filter( 
40
-                'network_admin_plugin_action_links_' . plugin_basename( $this->oProp->aScriptInfo['sPath'] ), 
40
+                'network_admin_plugin_action_links_'.plugin_basename( $this->oProp->aScriptInfo[ 'sPath' ] ), 
41 41
                 array( $this, '_replyToAddSettingsLinkInPluginListingPage' ) 
42 42
             );
43 43
         }
Please login to merge, or discard this patch.
network_admin_page/model/AdminPageFramework_Property_NetworkAdmin.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -42,8 +42,8 @@  discard block
 block discarded – undo
42 42
     protected function _getOptions() {
43 43
     
44 44
         return AdminPageFramework_WPUtility::addAndApplyFilter( // Parameters: $oCallerObject, $sFilter, $vInput, $vArgs...
45
-            $GLOBALS['aAdminPageFramework']['aPageClasses'][ $this->sClassName ], // the caller object
46
-            'options_' . $this->sClassName, // options_{instantiated class name}
45
+            $GLOBALS[ 'aAdminPageFramework' ][ 'aPageClasses' ][ $this->sClassName ], // the caller object
46
+            'options_'.$this->sClassName, // options_{instantiated class name}
47 47
             $this->sOptionKey ? get_site_option( $this->sOptionKey, array() ) : array()
48 48
         );
49 49
         
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
      * @since       3.1.1       Made it return a boolean value.
60 60
      * @return      boolean     True if saved; otherwise, false.
61 61
      */
62
-    public function updateOption( $aOptions=null ) {
62
+    public function updateOption( $aOptions = null ) {
63 63
         
64 64
         if ( $this->_bDisableSavingOptions ) {
65 65
             return;
Please login to merge, or discard this patch.
view/AdminPageFramework_PageLoadInfo_NetworkAdminPage.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,14 +40,14 @@
 block discarded – undo
40 40
      */
41 41
     public static function instantiate( $oProp, $oMsg ) {
42 42
 
43
-        if ( ! is_network_admin() ) { 
43
+        if ( !is_network_admin() ) { 
44 44
             return;
45 45
         }     
46 46
         
47 47
         if ( in_array( $oProp->sClassName, self::$aClassNames ) )
48 48
             return self::$_oInstance;
49 49
         
50
-        self::$aClassNames[] = $oProp->sClassName;
50
+        self::$aClassNames[ ] = $oProp->sClassName;
51 51
         self::$_oInstance = new AdminPageFramework_PageLoadInfo_NetworkAdminPage( $oProp, $oMsg );
52 52
         
53 53
         return self::$_oInstance;
Please login to merge, or discard this patch.
Braces   +4 added lines, -3 removed lines patch added patch discarded remove patch
@@ -40,12 +40,13 @@
 block discarded – undo
40 40
      */
41 41
     public static function instantiate( $oProp, $oMsg ) {
42 42
 
43
-        if ( ! is_network_admin() ) { 
43
+        if ( ! is_network_admin() ) {
44 44
             return;
45 45
         }     
46 46
         
47
-        if ( in_array( $oProp->sClassName, self::$aClassNames ) )
48
-            return self::$_oInstance;
47
+        if ( in_array( $oProp->sClassName, self::$aClassNames ) ) {
48
+                    return self::$_oInstance;
49
+        }
49 50
         
50 51
         self::$aClassNames[] = $oProp->sClassName;
51 52
         self::$_oInstance = new AdminPageFramework_PageLoadInfo_NetworkAdminPage( $oProp, $oMsg );
Please login to merge, or discard this patch.
development/factory/page_meta_box/AdminPageFramework_MetaBox_Page.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -65,13 +65,13 @@
 block discarded – undo
65 65
      * @param       string          $sPriority      The priority, either `high`, `core`, `default` or `low`.
66 66
      * @param       string          $sCapability    The capability. See <a href="https://codex.wordpress.org/Roles_and_Capabilities" target="_blank">Roles and Capabilities</a>.
67 67
      */
68
-    function __construct( $sMetaBoxID, $sTitle, $asPageSlugs=array(), $sContext='normal', $sPriority='default', $sCapability='manage_options', $sTextDomain='admin-page-framework' ) {
68
+    function __construct( $sMetaBoxID, $sTitle, $asPageSlugs = array(), $sContext = 'normal', $sPriority = 'default', $sCapability = 'manage_options', $sTextDomain = 'admin-page-framework' ) {
69 69
         
70 70
         if ( empty( $asPageSlugs ) ) { 
71 71
             return; 
72 72
         }
73 73
         
74
-        if ( ! $this->_isInstantiatable() ) { 
74
+        if ( !$this->_isInstantiatable() ) { 
75 75
             return; 
76 76
         }
77 77
                 
Please login to merge, or discard this patch.
Braces   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -67,11 +67,11 @@
 block discarded – undo
67 67
      */
68 68
     function __construct( $sMetaBoxID, $sTitle, $asPageSlugs=array(), $sContext='normal', $sPriority='default', $sCapability='manage_options', $sTextDomain='admin-page-framework' ) {
69 69
         
70
-        if ( empty( $asPageSlugs ) ) { 
70
+        if ( empty( $asPageSlugs ) ) {
71 71
             return; 
72 72
         }
73 73
         
74
-        if ( ! $this->_isInstantiatable() ) { 
74
+        if ( ! $this->_isInstantiatable() ) {
75 75
             return; 
76 76
         }
77 77
                 
Please login to merge, or discard this patch.
factory/page_meta_box/AdminPageFramework_MetaBox_Page_Controller.php 2 patches
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
      * 
23 23
      * @since 3.0.0
24 24
      */
25
-    public function enqueueStyles( $aSRCs, $sPageSlug='', $sTabSlug='', $aCustomArgs=array() ) {
25
+    public function enqueueStyles( $aSRCs, $sPageSlug = '', $sTabSlug = '', $aCustomArgs = array() ) {
26 26
         if ( method_exists( $this->oResource, '_enqueueStyles' ) ) {
27 27
             return $this->oResource->_enqueueStyles( $aSRCs, $sPageSlug, $sTabSlug, $aCustomArgs );
28 28
         }
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
      * @param array (optional) The argument array for more advanced parameters.
39 39
      * @return string The script handle ID. If the passed url is not a valid url string, an empty string will be returned.
40 40
      */    
41
-    public function enqueueStyle( $sSRC, $sPageSlug='', $sTabSlug='', $aCustomArgs=array() ) {
41
+    public function enqueueStyle( $sSRC, $sPageSlug = '', $sTabSlug = '', $aCustomArgs = array() ) {
42 42
         if ( method_exists( $this->oResource, '_enqueueStyle' ) ) {
43 43
             return $this->oResource->_enqueueStyle( $sSRC, $sPageSlug, $sTabSlug, $aCustomArgs );     
44 44
         }
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
      * 
49 49
      * @since 2.1.5
50 50
      */
51
-    public function enqueueScripts( $aSRCs, $sPageSlug='', $sTabSlug='', $aCustomArgs=array() ) {
51
+    public function enqueueScripts( $aSRCs, $sPageSlug = '', $sTabSlug = '', $aCustomArgs = array() ) {
52 52
         if ( method_exists( $this->oResource, '_enqueueScripts' ) ) {
53 53
             return $this->oResource->_enqueueScripts( $sSRC, $sPageSlug, $sTabSlug, $aCustomArgs );
54 54
         }
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
      * @param             array (optional) The argument array for more advanced parameters.
65 65
      * @return string The script handle ID. If the passed url is not a valid url string, an empty string will be returned.
66 66
      */
67
-    public function enqueueScript( $sSRC, $sPageSlug='', $sTabSlug='', $aCustomArgs=array() ) {    
67
+    public function enqueueScript( $sSRC, $sPageSlug = '', $sTabSlug = '', $aCustomArgs = array() ) {    
68 68
         if ( method_exists( $this->oResource, '_enqueueScript' ) ) {
69 69
             return $this->oResource->_enqueueScript( $sSRC, $sPageSlug, $sTabSlug, $aCustomArgs );
70 70
         }
Please login to merge, or discard this patch.
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
      * @param             array (optional) The argument array for more advanced parameters.
65 65
      * @return string The script handle ID. If the passed url is not a valid url string, an empty string will be returned.
66 66
      */
67
-    public function enqueueScript( $sSRC, $sPageSlug='', $sTabSlug='', $aCustomArgs=array() ) {    
67
+    public function enqueueScript( $sSRC, $sPageSlug='', $sTabSlug='', $aCustomArgs=array() ) {
68 68
         if ( method_exists( $this->oResource, '_enqueueScript' ) ) {
69 69
             return $this->oResource->_enqueueScript( $sSRC, $sPageSlug, $sTabSlug, $aCustomArgs );
70 70
         }
Please login to merge, or discard this patch.
factory/page_meta_box/AdminPageFramework_MetaBox_Page_Router.php 2 patches
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
      * @since       3.0.4
26 26
      * @internal
27 27
      */
28
-    public function __construct( $sMetaBoxID, $sTitle, $asPageSlugs=array(), $sContext='normal', $sPriority='default', $sCapability='manage_options', $sTextDomain='admin-page-framework' ) {     
28
+    public function __construct( $sMetaBoxID, $sTitle, $asPageSlugs = array(), $sContext = 'normal', $sPriority = 'default', $sCapability = 'manage_options', $sTextDomain = 'admin-page-framework' ) {     
29 29
                         
30 30
         parent::__construct( $sMetaBoxID, $sTitle, $asPageSlugs, $sContext, $sPriority, $sCapability, $sTextDomain );
31 31
                 
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
     protected function _isInstantiatable() {
43 43
         
44 44
         // Disable the functionality in admin-ajax.php
45
-        if ( isset( $GLOBALS['pagenow'] ) && 'admin-ajax.php' === $GLOBALS['pagenow'] ) {
45
+        if ( isset( $GLOBALS[ 'pagenow' ] ) && 'admin-ajax.php' === $GLOBALS[ 'pagenow' ] ) {
46 46
             return false;
47 47
         }
48 48
         return true;
@@ -58,20 +58,20 @@  discard block
 block discarded – undo
58 58
      */
59 59
     public function _isInThePage() {
60 60
         
61
-        if ( ! $this->oProp->bIsAdmin ) {
61
+        if ( !$this->oProp->bIsAdmin ) {
62 62
             return false;     
63 63
         }
64 64
                     
65
-        if ( ! isset( $_GET['page'] ) ) {
65
+        if ( !isset( $_GET[ 'page' ] ) ) {
66 66
             return false;
67 67
         }
68 68
         
69 69
         // For in-page tabs.
70
-        if ( array_key_exists( $_GET['page'], $this->oProp->aPageSlugs ) ) {
70
+        if ( array_key_exists( $_GET[ 'page' ], $this->oProp->aPageSlugs ) ) {
71 71
             return true;
72 72
         }
73 73
         
74
-        return in_array( $_GET['page'], $this->oProp->aPageSlugs );
74
+        return in_array( $_GET[ 'page' ], $this->oProp->aPageSlugs );
75 75
         
76 76
     }     
77 77
     
Please login to merge, or discard this patch.
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
      * @since       3.0.4
26 26
      * @internal
27 27
      */
28
-    public function __construct( $sMetaBoxID, $sTitle, $asPageSlugs=array(), $sContext='normal', $sPriority='default', $sCapability='manage_options', $sTextDomain='admin-page-framework' ) {     
28
+    public function __construct( $sMetaBoxID, $sTitle, $asPageSlugs=array(), $sContext='normal', $sPriority='default', $sCapability='manage_options', $sTextDomain='admin-page-framework' ) {
29 29
                         
30 30
         parent::__construct( $sMetaBoxID, $sTitle, $asPageSlugs, $sContext, $sPriority, $sCapability, $sTextDomain );
31 31
 
Please login to merge, or discard this patch.
page_meta_box/controller/AdminPageFramework_HelpPane_MetaBox_Page.php 2 patches
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -26,15 +26,15 @@
 block discarded – undo
26 26
      */
27 27
     protected function _isInThePage() {
28 28
 
29
-        if ( ! $this->oProp->bIsAdmin ) return false;
29
+        if ( !$this->oProp->bIsAdmin ) return false;
30 30
 
31
-        if ( ! isset( $_GET['page'] ) ) return false;
31
+        if ( !isset( $_GET[ 'page' ] ) ) return false;
32 32
         
33
-        if ( ! $this->oProp->isPageAdded( $_GET['page'] ) ) return false;
33
+        if ( !$this->oProp->isPageAdded( $_GET[ 'page' ] ) ) return false;
34 34
         
35
-        if ( ! isset( $_GET['tab'] ) ) return true;
35
+        if ( !isset( $_GET[ 'tab' ] ) ) return true;
36 36
         
37
-        return $this->oProp->isCurrentTab( $_GET['tab'] );    
37
+        return $this->oProp->isCurrentTab( $_GET[ 'tab' ] );    
38 38
         
39 39
     }
40 40
     
Please login to merge, or discard this patch.
Braces   +12 added lines, -4 removed lines patch added patch discarded remove patch
@@ -26,13 +26,21 @@
 block discarded – undo
26 26
      */
27 27
     protected function _isInThePage() {
28 28
 
29
-        if ( ! $this->oProp->bIsAdmin ) return false;
29
+        if ( ! $this->oProp->bIsAdmin ) {
30
+            return false;
31
+        }
30 32
 
31
-        if ( ! isset( $_GET['page'] ) ) return false;
33
+        if ( ! isset( $_GET['page'] ) ) {
34
+            return false;
35
+        }
32 36
         
33
-        if ( ! $this->oProp->isPageAdded( $_GET['page'] ) ) return false;
37
+        if ( ! $this->oProp->isPageAdded( $_GET['page'] ) ) {
38
+            return false;
39
+        }
34 40
         
35
-        if ( ! isset( $_GET['tab'] ) ) return true;
41
+        if ( ! isset( $_GET['tab'] ) ) {
42
+            return true;
43
+        }
36 44
         
37 45
         return $this->oProp->isCurrentTab( $_GET['tab'] );    
38 46
         
Please login to merge, or discard this patch.
development/factory/post_type/AdminPageFramework_PostType_Model.php 2 patches
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -36,13 +36,13 @@  discard block
 block discarded – undo
36 36
         
37 37
         // Properties
38 38
         $this->oProp->aColumnHeaders = array(
39
-            'cb'        => '<input type="checkbox" />',     // Checkbox for bulk actions. 
40
-            'title'     => $this->oMsg->get( 'title' ),     // Post title. Includes "edit", "quick edit", "trash" and "view" links. If $mode (set from $_REQUEST['mode']) is 'excerpt', a post excerpt is included between the title and links.
41
-            'author'    => $this->oMsg->get( 'author' ),    // Post author.
39
+            'cb'        => '<input type="checkbox" />', // Checkbox for bulk actions. 
40
+            'title'     => $this->oMsg->get( 'title' ), // Post title. Includes "edit", "quick edit", "trash" and "view" links. If $mode (set from $_REQUEST['mode']) is 'excerpt', a post excerpt is included between the title and links.
41
+            'author'    => $this->oMsg->get( 'author' ), // Post author.
42 42
             // 'categories' => $this->oMsg->get( 'categories' ), // Categories the post belongs to. 
43 43
             // 'tags' => $this->oMsg->get( 'tags' ),        // Tags for the post. 
44 44
             'comments'  => '<div class="comment-grey-bubble"></div>', // Number of pending comments. 
45
-            'date'      => $this->oMsg->get( 'date' ),      // The date and publish status of the post. 
45
+            'date'      => $this->oMsg->get( 'date' ), // The date and publish status of the post. 
46 46
         );     
47 47
                             
48 48
         if ( $this->_isInThePage() ) :
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
         echo $this->oUtil->addAndApplyFilter( 
116 116
             $this, 
117 117
             "cell_{$this->oProp->sPostType}_{$sColumnKey}", 
118
-            '',  // cell
118
+            '', // cell
119 119
             $iPostID 
120 120
         );
121 121
                   
@@ -157,7 +157,7 @@  discard block
 block discarded – undo
157 157
      */
158 158
     public function _replyToRegisterTaxonomies() {
159 159
 
160
-        foreach( $this->oProp->aTaxonomies as $_sTaxonomySlug => $_aArgs ) {
160
+        foreach ( $this->oProp->aTaxonomies as $_sTaxonomySlug => $_aArgs ) {
161 161
             $this->_registerTaxonomy( 
162 162
                 $_sTaxonomySlug,  
163 163
                 is_array( $this->oProp->aTaxonomyObjectTypes[ $_sTaxonomySlug ] ) 
@@ -176,8 +176,8 @@  discard block
 block discarded – undo
176 176
      */
177 177
     public function _registerTaxonomy( $sTaxonomySlug, array $aObjectTypes, array $aArguments ) {
178 178
         
179
-        if ( ! in_array( $this->oProp->sPostType, $aObjectTypes ) ) {
180
-            $aObjectTypes[] = $this->oProp->sPostType;
179
+        if ( !in_array( $this->oProp->sPostType, $aObjectTypes ) ) {
180
+            $aObjectTypes[ ] = $this->oProp->sPostType;
181 181
         }
182 182
         register_taxonomy(
183 183
             $sTaxonomySlug,
@@ -194,7 +194,7 @@  discard block
 block discarded – undo
194 194
      */
195 195
     public function _replyToRemoveTexonomySubmenuPages() {
196 196
     
197
-        foreach( $this->oProp->aTaxonomyRemoveSubmenuPages as $sSubmenuPageSlug => $sTopLevelPageSlug ) {
197
+        foreach ( $this->oProp->aTaxonomyRemoveSubmenuPages as $sSubmenuPageSlug => $sTopLevelPageSlug ) {
198 198
             
199 199
             remove_submenu_page( $sTopLevelPageSlug, $sSubmenuPageSlug );
200 200
             
Please login to merge, or discard this patch.
Braces   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
  * @subpackage      PostType
19 19
  * @internal
20 20
  */
21
-abstract class AdminPageFramework_PostType_Model extends AdminPageFramework_PostType_Router {    
21
+abstract class AdminPageFramework_PostType_Model extends AdminPageFramework_PostType_Router {
22 22
 
23 23
     /**
24 24
      * Sets up hooks and properties.
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
      * @since       3.5.0       Renamed from `_replyToSetColumnCell`.
111 111
      * @return      
112 112
      */
113
-    public function _replyToPrintColumnCell( $sColumnKey, $iPostID ) { 
113
+    public function _replyToPrintColumnCell( $sColumnKey, $iPostID ) {
114 114
                 
115 115
         echo $this->oUtil->addAndApplyFilter( 
116 116
             $this, 
@@ -128,10 +128,10 @@  discard block
 block discarded – undo
128 128
      */
129 129
     public function _replyToDisableAutoSave() {
130 130
         
131
-        if ( $this->oProp->bEnableAutoSave ) { 
131
+        if ( $this->oProp->bEnableAutoSave ) {
132 132
             return; 
133 133
         }
134
-        if ( $this->oProp->sPostType != get_post_type() ) { 
134
+        if ( $this->oProp->sPostType != get_post_type() ) {
135 135
             return; 
136 136
         }
137 137
         wp_dequeue_script( 'autosave' );
Please login to merge, or discard this patch.
factory/post_type/controller/AdminPageFramework_Link_PostType.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
                 array( $this, '_replyToAddPostTypeQueryInEditPostLink' ), 
34 34
                 10, 
35 35
                 3 
36
-           );
36
+            );
37 37
         }        
38 38
     }
39 39
 
Please login to merge, or discard this patch.
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -22,12 +22,12 @@  discard block
 block discarded – undo
22 22
      * Sets up hooks and properties.
23 23
      * 
24 24
      */
25
-    public function __construct( $oProp, $oMsg=null ) {
25
+    public function __construct( $oProp, $oMsg = null ) {
26 26
         
27 27
         parent::__construct( $oProp, $oMsg );
28 28
                        
29 29
         // For post type posts listing table page ( edit.php )
30
-        if ( isset( $_GET['post_type'] ) && $_GET['post_type'] == $this->oProp->sPostType ) {
30
+        if ( isset( $_GET[ 'post_type' ] ) && $_GET[ 'post_type' ] == $this->oProp->sPostType ) {
31 31
             add_action( 
32 32
                 'get_edit_post_link', 
33 33
                 array( $this, '_replyToAddPostTypeQueryInEditPostLink' ), 
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
         );
54 54
             
55 55
         // If the user explicitly sets an empty string to the label key, do not insert a link.
56
-        if ( ! $_sLinkLabel ) {
56
+        if ( !$_sLinkLabel ) {
57 57
             return $aLinks;
58 58
         }
59 59
 
@@ -61,13 +61,13 @@  discard block
 block discarded – undo
61 61
         array_unshift(    
62 62
             $aLinks,
63 63
             // "<a href='" . esc_url( "edit.php?post_type={$this->oProp->sPostType}" ) . "'>" 
64
-            '<a ' . $this->getAttributes(
64
+            '<a '.$this->getAttributes(
65 65
                 array(
66 66
                     'href'      => esc_url( "edit.php?post_type={$this->oProp->sPostType}" ),
67 67
                     // 3.5.7+ Added for acceptance testing
68 68
                     'class'     => 'apf-plugin-title-action-link apf-admin-page',
69 69
                 )
70
-            ) . '>'             
70
+            ).'>'             
71 71
                 . $_sLinkLabel 
72 72
             . "</a>"
73 73
         ); 
@@ -83,9 +83,9 @@  discard block
 block discarded – undo
83 83
     public function _replyToSetFooterInfo() {
84 84
 
85 85
         if ( 
86
-            ! $this->isPostDefinitionPage( $this->oProp->sPostType ) 
87
-            && ! $this->isPostListingPage( $this->oProp->sPostType ) 
88
-            && ! $this->isCustomTaxonomyPage( $this->oProp->sPostType )
86
+            !$this->isPostDefinitionPage( $this->oProp->sPostType ) 
87
+            && !$this->isPostListingPage( $this->oProp->sPostType ) 
88
+            && !$this->isCustomTaxonomyPage( $this->oProp->sPostType )
89 89
         ) {
90 90
             return;
91 91
         }
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
      * @remark      e.g. `http://.../wp-admin/post.php?post=180&action=edit` -> `http://.../wp-admin/post.php?post=180&action=edit&post_type=[...]`
104 104
      * @callback    filter      get_edit_post_link
105 105
      */  
106
-    public function _replyToAddPostTypeQueryInEditPostLink( $sURL, $iPostID=null, $sContext=null ) {
106
+    public function _replyToAddPostTypeQueryInEditPostLink( $sURL, $iPostID = null, $sContext = null ) {
107 107
         return add_query_arg( 
108 108
             array( 
109 109
                 'post'      => $iPostID, 
Please login to merge, or discard this patch.