Skip to content

Commit

Permalink
Update class-bootstrap.php
Browse files Browse the repository at this point in the history
Hide Regenerate and Sync with GCS when mode is Disabled. #440
  • Loading branch information
Md. Alimuzzaman Alim committed Feb 6, 2020
1 parent 5a2de99 commit 664f314
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib/classes/class-bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,11 +112,6 @@ public function init() {
*/
add_action( 'admin_init', array( $this, 'admin_init' ) );

/**
* Add custom actions to media rows
*/
add_filter( 'media_row_actions', array( $this, 'add_custom_row_actions' ), 10, 3 );

/**
* Handle switch blog properly.
*/
Expand Down Expand Up @@ -181,6 +176,11 @@ public function init() {
*/
if( !$this->has_errors() ) {

/**
* Add custom actions to media rows
*/
add_filter( 'media_row_actions', array( $this, 'add_custom_row_actions' ), 10, 3 );

/**
* Hashify file name if option is enabled
*/
Expand Down

0 comments on commit 664f314

Please sign in to comment.