mikrom
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Update Shows 1 But No Updates Existexactly same here, I suspect Enfold theme, because both sites with this theme has same issue.
I dunno how manually increment Enfold theme, and see if it disapears. (I tried change version in style.css, but no luck)
Forum: Plugins
In reply to: All In One WP Security no database backup possiblesame here. I had same issues with iThemes, when db backup is performed, debug log increase of new line with this error.
another fix: plugin PHP compatibility checker displays 43 warnings in this plugin only because “File has mixed line endings; this may cause incorrect results”
after batch change to one united EOL it will pass without any error!
Forum: Plugins
In reply to: [WP Super Cache] WP Super Cache on top menu barThere is plugin for that, or you can grab his code and add in Your functions.php etc..
/* Admin bar link to delete WP Super Cache's Cache. Stolen from wp-super-cache-clear-cache-menu, https://apasionados.es/ */ function only_show_option_if_wp_super_cache_is_active() { if (is_plugin_active('wp-super-cache/wp-cache.php')) { function clear_all_cached_files_wpsupercache() { global $wp_admin_bar; if (!is_super_admin() || !is_admin_bar_showing()) return; $args = array( 'id' => 'delete-cache-completly', 'title' => 'Clear WP Super Cache', 'href' => wp_nonce_url(admin_url('options-general.php?page=wpsupercache&wp_delete_cache=1&tab=contents'), 'wp-cache'), 'parent' => '', 'meta' => array( 'title' => 'Clear all cached files of WP Super Cache' ) ); $wp_admin_bar->add_menu($args); } add_action('wp_before_admin_bar_render', 'clear_all_cached_files_wpsupercache', 999); } } add_action('admin_init', 'only_show_option_if_wp_super_cache_is_active');
Forum: Themes and Templates
In reply to: [Hueman] option for underline linksright, as workaround I can probably inject my custom css into html in my custom plugin (same as modifying functions.php in theme). probably a few rows.
I would like to avoid child theme ??
EDIT:
function add_custom_css() { wp_enqueue_style('mikrom-plugin', plugins_url('custom.min.css', __FILE__ )); } add_action('wp_enqueue_scripts', 'add_custom_css');
does the trick for now.
- This reply was modified 8 years, 4 months ago by mikrom.
Forum: Plugins
In reply to: [Randomize] Plugin compatibility with WordPress 4.3+any news with
PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; randomize has a deprecated constructor in /hosting/www/xxx/www/wp-content/plugins/randomize/randomize.php on line 30
?Forum: Themes and Templates
In reply to: [Hueman] minify dynamic js and css created by phpyes, but mainly I think hueman authors can chenge for example in init-front.php around line 458
this
<script type="text/javascript"> jQuery( function($){ if ( $('#flexslider-featured').length ) { $('#flexslider-featured').on('featured-slider-ready', function() { $( '#<?php echo $_unique_id; ?>' ).animateSvg(); }); } else { $( '#<?php echo $_unique_id; ?>' ).animateSvg( { svg_opacity : 0.3, filter_opacity : 0.5 } ); } }); </script>
to that
<script type="text/javascript"> jQuery(function(a){a("#flexslider-featured").length?a("#flexslider-featured").on("featured-slider-ready",function(){a("#<?php echo $_unique_id; ?>").animateSvg()}):a("#<?php echo $_unique_id; ?>").animateSvg({svg_opacity:.3,filter_opacity:.5})}); </script>
etc in other mentioned files ??
Forum: Plugins
In reply to: [Randomize] Plugin compatibility with WordPress 4.3+definitelly PHP7 issue
FILE: /hosting/www/mikrom.cz/www/wp-content/plugins/randomize/randomize.php ------------------------------------------------------------------------------------------ FOUND 1 ERROR AFFECTING 1 LINE ------------------------------------------------------------------------------------------ 32 | ERROR | Use of deprecated PHP4 style class constructor is not supported since PHP 7 ------------------------------------------------------------------------------------------
Forum: Plugins
In reply to: [Broken Link Checker] PHP 7FILE: /hosting/www/mikrom.cz/www/wp-content/plugins/broken-link-checker/includes/admin/table-printer.php -------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE -------------------------------------------------------------------------------------------------------- 28 | ERROR | Use of deprecated PHP4 style class constructor is not supported since PHP 7 -------------------------------------------------------------------------------------------------------- FILE: /hosting/www/mikrom.cz/www/wp-content/plugins/broken-link-checker/includes/utility-class.php -------------------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE -------------------------------------------------------------------------------------------------- 42 | WARNING | INI directive 'safe_mode' is deprecated from PHP 5.3 and forbidden from PHP 5.4. -------------------------------------------------------------------------------------------------- FILE: /hosting/www/mikrom.cz/www/wp-content/plugins/broken-link-checker/modules/checkers/http.php ------------------------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE ------------------------------------------------------------------------------------------------- 100 | ERROR | preg_replace() - /e modifier is forbidden since PHP 7.0 -------------------------------------------------------------------------------------------------
following
Forum: Themes and Templates
In reply to: [Hueman] compatibility php7?I am using it on PHP7 and seems to work without any issues.
But You are right, Checker found two issues:
307 | ERROR | Extension 'mysql_' is deprecated since PHP 5.5 and removed since PHP 7.0 - use mysqli instead. 315 | WARNING | INI directive 'safe_mode' is deprecated from PHP 5.3 and forbidden from PHP 5.4.
Forum: Plugins
In reply to: [Randomize] Plugin compatibility with WordPress 4.3+yes I know, i was only curious, so I enabled debug. I am using latest WP on PHP7 maybe this is it.
Forum: Plugins
In reply to: [Randomize] Plugin compatibility with WordPress 4.3+bad news:
PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; randomize has a deprecated constructor in /hosting/www/xxx/www/wp-content/plugins/randomize/randomize.php on line 30
with updated version :/Forum: Plugins
In reply to: [Randomize] Plugin compatibility with WordPress 4.3+thanks for update!
great! I just had this error when I try exclude w3tc cache from file changes