This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/includes/display.php b/includes/display.php | |
index 3d0e070..0ab7fa6 100644 | |
--- a/includes/display.php | |
+++ b/includes/display.php | |
@@ -170,7 +170,7 @@ class ANCR_Display{ | |
$attrs[ 'rel' ] = 'nofollow noreferrer'; | |
} | |
- $html .= '<a ' . ANCR_Utilities::build_attrs( $attrs ) . '>' . wp_kses_post( $button[ 'text' ] ) . '</a>'; | |
+ $html .= '<a ' . ANCR_Utilities::build_attrs( $attrs ) . '>' . wp_kses_post( $button[ 'text' ] ) . ($button[ 'title' ] ? '<span class="visually-hidden"> ' . $button[ 'title' ] . '</span>' : '') .'</a>'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 SCREEN 1:COLOR 12,1,1:KEY OFF:WIDTH32:A$=" THE MATRIX HAS YOU! " | |
20 B=BASE(6):C=16*15+0:VPOKE B+8,C:VPOKE B+9,C:VPOKE B+10,C:VPOKE B+11,C:GOSUB 100 | |
30 LOCATE X1%,Y%:IF Y%<>11 THEN PRINT CHR$(RND(1)*221+33);:LOCATE X2%,Y%:PRINT" ";ELSE PRINTMID$(A$,X1%+1,1); | |
40 Y%=(Y%+1) MOD 23:IF y%=0 THEN GOSUB 100 | |
50 GOTO 30 | |
100 X%=0:X1%=INT(RND(1)*32):X2%=INT(RND(1)*32):RETURN |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/includes/utilities.php b/includes/utilities.php | |
index 1ac6715..cd410f9 100644 | |
--- a/includes/utilities.php | |
+++ b/includes/utilities.php | |
@@ -18,11 +18,11 @@ class ANCR_Utilities{ | |
} | |
if( !empty( $font_color ) ){ | |
- $properties[ 'color' ] = $font_color . ' !important'; | |
+ $properties[ 'color' ] = $font_color; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Parse url from YouTube and Vimeo and return an array with: type, ID, thumbnail, url, embed url and embed iframe. | |
* | |
* @param string $url | |
* @return array | |
*/ | |
function parse_video_url($url) { | |
$output = array(); | |
if (preg_match("#(?<=v=)[a-zA-Z0-9-]+(?=&)|(?<=v\/)[^&\n]+(?=\?)|(?<=embed/)[^&\n]+|(?<=v=)[^&\n]+|(?<=youtu.be/)[^&\n]+#", $url, $matches)) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/assets/css/blocks.css b/assets/css/blocks.css | |
index 12f3d2b..beaeb12 100644 | |
--- a/assets/css/blocks.css | |
+++ b/assets/css/blocks.css | |
@@ -1 +1 @@ | |
-.clearfix:after,.clearfix:before{content:'';display:block;clear:both}#editor .editor-writing-flow{max-width:750px;margin:auto}#editor .editor-writing-flow>div>div>div>.editor-block-list__layout>.wp-block{max-width:unset;width:100%}#editor .components-range-control__number{width:65px}.editor-styles-wrapper .wp-block .wp-block{max-width:100%;width:100%}.slick-arrow:focus{background:transparent}.components-range-control .components-range-control__slider{margin-left:8px}.components-base-control__label .component-color-indicator{vertical-align:text-bottom}#editor .advgb-accordion-block .advgb-accordion-header p.mce-content-body,#editor .advgb-accordion-block .advgb-accordion-body p.mce-content-body{color:inherit}#editor .advgb-accordion-block{padding:15px 0}#editor .advgb-accordion-body{border-top:none !important}.advgb-accordion-header,.advgb-accordion-heade |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Crawl the sitemap.xml for 301 redirections and 404 errors. | |
* Source: http://edmondscommerce.github.io/php/crawl-an-xml-sitemap-quality-check-301-and-404.html | |
* | |
* To use this script you need to allocate a huge amount of time to maximum_execution_time to | |
* avoid Fatal error: Maximum execution time...I suggest to run this script on terminal. | |
* Ex: $ php test-xml.php > ~/Desktop/sitemap-curl-result.txt | |
* | |
* For 3000 links the average time the script consumed is around 45 minutes to 1 hour. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/assets/css/blocks.css b/assets/css/blocks.css | |
index 2758e7a..a1cfc91 100644 | |
--- a/assets/css/blocks.css | |
+++ b/assets/css/blocks.css | |
@@ -1 +1 @@ | |
-.clearfix:after,.clearfix:before{content:'';display:block;clear:both}#editor .editor-writing-flow{max-width:750px;margin:auto}#editor .editor-writing-flow>div>div>div>.editor-block-list__layout>.wp-block{max-width:unset;width:100%}#editor .components-range-control__number{width:65px}.editor-styles-wrapper .wp-block .wp-block{max-width:100%;width:100%}.slick-arrow:focus{background:transparent}.components-range-control .components-range-control__slider{margin-left:8px}.components-base-control__label .component-color-indicator{vertical-align:text-bottom}#editor .advgb-accordion-block .advgb-accordion-header p.mce-content-body,#editor .advgb-accordion-block .advgb-accordion-body p.mce-content-body{color:inherit}#editor .advgb-accordion-block{padding:15px 0}#editor .advgb-accordion-body{border-top:none !important}.advgb-accordion-header,.advgb-accordion-heade |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/kint-debugger.php b/kint-debugger.php | |
index fcb653b..bb3ab5d 100755 | |
--- a/kint-debugger.php | |
+++ b/kint-debugger.php | |
@@ -6,7 +6,7 @@ | |
* Version: 1.2 | |
* Author: Brian Fegter, Chris Dillon | |
* Author URI: https://strongplugins.com | |
- * Requires: 2.5 or higher | |
+ * Requires: 5.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/vendor/kint/inc/kintParser.class.php b/vendor/kint/inc/kintParser.class.php | |
index 7d57fe9..5b5984b 100644 | |
--- a/vendor/kint/inc/kintParser.class.php | |
+++ b/vendor/kint/inc/kintParser.class.php | |
@@ -460,9 +460,9 @@ abstract class kintParser extends kintVariableData | |
* These prepended values have null bytes on either side. | |
* http://www.php.net/manual/en/language.types.array.php#language.types.array.casting | |
*/ | |
- if ( $key{0} === "\x00" ) { | |
+ if ( $key[0] === "\x00" ) { |
NewerOlder