Permalink
Browse files

Deprecated the `_setUp()` method.

  • Loading branch information...
michaeluno committed Jan 11, 2017
1 parent e822bb7 commit 41069bc2b3559f381341828714ef95108b0e012b
@@ -44,10 +44,11 @@ public function __construct( $oProp ) {
* @todo Deprecate this method. This method was intended to be used in a user defined abstract class
* but it requires to call the setUp() method in the overridden method so it's not that useful.
* @internal
+ * @deprecated 3.8.14
*/
- protected function _setUp() {
- $this->setUp();
- }
+// protected function _setUp() {
+// $this->setUp();
+// }
/**
* Called upon fieldset resource registration.
@@ -248,7 +248,7 @@ public function _replyToDetermineToLoad() {
}
// Calls `setUp()` and the user will set up the meta box.
- $this->_setUp();
+ $this->setUp();
/**
* This action hook must be called AFTER the _setUp() method
@@ -70,7 +70,7 @@ public function _replyToDetermineToLoadAdmin( /* $oScreen */ ) {
*/
public function _replyToDetermineToLoad() {
- $this->_setUp();
+ $this->setUp();
// This action hook must be called AFTER the _setUp() method as there are callback methods that hook into this hook and assumes required configurations have been made.
$this->oUtil->addAndDoAction(

0 comments on commit 41069bc

Please sign in to comment.