56.gif

Search (advanced search)
Use this Search form before posting, asking or make a new thread.
Tips: Use Quotation mark to search words (eg. "How To Make Money Online")

04-22-2016, 04:00 AM
Post: #11
RE: Get Yoast Seo Full Package
great share mate!
04-22-2016, 06:40 AM
Post: #12
RE: Get Yoast Seo Full Package
thanks man! rep+
05-03-2016, 05:13 PM
Post: #13
RE: Get Yoast Seo Full Package
Removing help for => "Warning! You didn't set your Yoast SEO Premium license key yet, which means you're missing out on updates and support! Enter your license key or get a license here."
go to >> /wp-content/plugins/wordpress-seo-premium/vendor/yoast/license-manager
and open class-license-manager.php
from this file remove this code :
PHP Code:
/**
             * Display license specific admin notices, namely:
             *
             * - License for the product isn't activated
             * - External requests are blocked through WP_HTTP_BLOCK_EXTERNAL
             */
            
public function display_admin_notices() {

                if ( ! 
current_user_can'manage_options' ) ) {
                    return;
                }

                
// show notice if license is invalid
                
if ( ! $this->license_is_valid() ) {
                    if ( 
$this->get_license_key() == '' ) {
                        
$message '<b>Warning!</b> You didn\'t set your %s license key yet, which means you\'re missing out on updates and support! <a href="%s">Enter your license key</a> or <a href="%s" target="_blank">get a license here</a>.';
                    } else {
                        
$message '<b>Warning!</b> Your %s license is inactive which means you\'re missing out on updates and support! <a href="%s">Activate your license</a> or <a href="%s" target="_blank">get a license here</a>.';
                    }
                    
?>
                    <div class="error">
                        <p><?php printf__$message$this->product->get_text_domain() ), $this->product->get_item_name(), $this->product->get_license_page_url(), $this->product->get_tracking_url'activate-license-notice' ) ); ?></p>
                    </div>
                <?php
                
}

                
// show notice if external requests are blocked through the WP_HTTP_BLOCK_EXTERNAL constant
                
if ( defined"WP_HTTP_BLOCK_EXTERNAL" ) and& WP_HTTP_BLOCK_EXTERNAL === true ) {

                    
// check if our API endpoint is in the allowed hosts
                    
$host parse_url$this->product->get_api_url(), PHP_URL_HOST );

                    if ( ! 
defined"WP_ACCESSIBLE_HOSTS" ) || stristrWP_ACCESSIBLE_HOSTS$host ) === false ) {
                        
?>
                        <div class="error">
                            <p><?php printf__'<b>Warning!</b> You\'re blocking external requests which means you won\'t be able to get %s updates. Please add %s to %s.'$this->product->get_text_domain() ), $this->product->get_item_name(), '<strong>' $host '</strong>''<code>WP_ACCESSIBLE_HOSTS</code>' ); ?></p>
                        </div>
                    <?php
                    
}

                }
            } 
[/php]
05-30-2016, 06:08 PM
Post: #14
RE: Get Yoast Seo Full Package
(05-03-2016 05:13 PM)szinuhe90 Wrote:  Removing help for => "Warning! You didn't set your Yoast SEO Premium license key yet, which means you're missing out on updates and support! Enter your license key or get a license here."
go to >> /wp-content/plugins/wordpress-seo-premium/vendor/yoast/license-manager
and open class-license-manager.php
from this file remove this code :
PHP Code:
/**
             * Display license specific admin notices, namely:
             *
             * - License for the product isn't activated
             * - External requests are blocked through WP_HTTP_BLOCK_EXTERNAL
             */
            
public function display_admin_notices() {

                if ( ! 
current_user_can'manage_options' ) ) {
                    return;
                }

                
// show notice if license is invalid
                
if ( ! $this->license_is_valid() ) {
                    if ( 
$this->get_license_key() == '' ) {
                        
$message '<b>Warning!</b> You didn\'t set your %s license key yet, which means you\'re missing out on updates and support! <a href="%s">Enter your license key</a> or <a href="%s" target="_blank">get a license here</a>.';
                    } else {
                        
$message '<b>Warning!</b> Your %s license is inactive which means you\'re missing out on updates and support! <a href="%s">Activate your license</a> or <a href="%s" target="_blank">get a license here</a>.';
                    }
                    
?>
                    <div class="error">
                        <p><?php printf__$message$this->product->get_text_domain() ), $this->product->get_item_name(), $this->product->get_license_page_url(), $this->product->get_tracking_url'activate-license-notice' ) ); ?></p>
                    </div>
                <?php
                
}

                
// show notice if external requests are blocked through the WP_HTTP_BLOCK_EXTERNAL constant
                
if ( defined"WP_HTTP_BLOCK_EXTERNAL" ) and& WP_HTTP_BLOCK_EXTERNAL === true ) {

                    
// check if our API endpoint is in the allowed hosts
                    
$host parse_url$this->product->get_api_url(), PHP_URL_HOST );

                    if ( ! 
defined"WP_ACCESSIBLE_HOSTS" ) || stristrWP_ACCESSIBLE_HOSTS$host ) === false ) {
                        
?>
                        <div class="error">
                            <p><?php printf__'<b>Warning!</b> You\'re blocking external requests which means you won\'t be able to get %s updates. Please add %s to %s.'$this->product->get_text_domain() ), $this->product->get_item_name(), '<strong>' $host '</strong>''<code>WP_ACCESSIBLE_HOSTS</code>' ); ?></p>
                        </div>
                    <?php
                    
}

                }
            } 
[/php]

Warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'Yoast_Plugin_License_Manager' does not have a method 'display_admin_notices' in /Applications/AMPPS/www/finally/wp-includes/plugin.php on line 525
05-30-2016, 06:19 PM
Post: #15
RE: Get Yoast Seo Full Package
Im requesting too Woocommerce SEO by Yoast 3.2.1 anyone?
50.gif




12.gif
Free counters!