How to throw the “We need ftp info” at a user

simple function: protected function _cred_check(){ $aisis_file_system_structure = WP_Filesystem(); if($aisis_file_system_structure == false){ echo ‘<div class=”alert”><strog>NOTE!</strong> We need your ftp creds before we continue!</div>’; return true; } return false; } then do: if($this->_cred_check()){ request_filesystem_credentials(‘your/link/to/your/update/page’); }else{ // your update stuff }

How to maintain changes to comment-template.php

There’s a filter for that: get_comments_link. Refer to source: return apply_filters( ‘get_comments_link’, $comments_link, $post_id ); In an appropriate place (such as a site functionality Plugin), just add a filter via callback: function wpse123906_filter_comments_link( $comments_link, $post_id ) { // Return your custom link return get_permalink( $post_id ) . ‘#disqus_thread’; } add_filter( ‘get_comments_link’, ‘wpse123906_filter_comments_link’, 10, 2 );

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)