Changeset 2690235
- Timestamp:
- 03/07/2022 04:44:56 PM (4 years ago)
- Location:
- lct-useful-shortcodes-functions/trunk
- Files:
-
- 11 edited
-
code/admin/lct.php (modified) (2 diffs)
-
code/api/_helpers.php (modified) (2 diffs)
-
code/plugins/Avada/_admin.php (modified) (2 diffs)
-
code/plugins/acf/_loaded.php (modified) (2 diffs)
-
code/plugins/acf/api/_sort.php (modified) (1 diff)
-
code/plugins/acf/api/form.php (modified) (5 diffs)
-
code/plugins/acf/inactive.php (modified) (1 diff)
-
code/plugins/acf/op_main_settings_groups.php (modified) (45 diffs)
-
code/wp-admin/admin/_admin.php (modified) (2 diffs)
-
lct-useful-shortcodes-functions.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lct-useful-shortcodes-functions/trunk/code/admin/lct.php
r2679272 r2690235 59 59 60 60 /** 61 * @verified 202 0.11.0961 * @verified 2022.02.17 62 62 */ 63 63 class lct_mu { … … 92 92 'dim-comment', 93 93 'add-link-category', 94 'add-tag',94 //'add-tag', 95 95 'get-tagcloud', 96 96 'get-comments', -
lct-useful-shortcodes-functions/trunk/code/api/_helpers.php
r2679272 r2690235 2284 2284 * @return bool|string 2285 2285 * @since 2017.96 2286 * @verified 20 18.02.132286 * @verified 2022.02.22 2287 2287 */ 2288 2288 function lct_make_status_name( $status, $status_meta = [] ) { … … 2294 2294 2295 2295 2296 if ( $status_meta[ get_cnst( 'a_c_f_tax_status' ) ] === false ) 2296 if ( 2297 ! isset( $status_meta[ get_cnst( 'a_c_f_tax_status' ) ] ) || 2298 $status_meta[ get_cnst( 'a_c_f_tax_status' ) ] === false 2299 ) { 2297 2300 $name .= ' (disabled)'; 2301 } 2298 2302 } 2299 2303 -
lct-useful-shortcodes-functions/trunk/code/plugins/Avada/_admin.php
r2679272 r2690235 380 380 * 381 381 * @since 0.0 382 * @verified 202 0.11.27382 * @verified 2022.02.23 383 383 */ 384 384 function wp_enqueue_styles() { … … 430 430 padding-top: %s; 431 431 padding-bottom: %s; 432 } 433 .fusion-body .fusion-page-title-bar .fusion-page-title-row, 434 .fusion-body .fusion-page-title-bar .fusion-page-title-wrapper{ 435 height: auto !important; 432 436 }', 433 437 $top, -
lct-useful-shortcodes-functions/trunk/code/plugins/acf/_loaded.php
r2679272 r2690235 857 857 * @return null 858 858 * @since 2018.62 859 * @verified 20 19.05.03859 * @verified 2022.02.15 860 860 */ 861 861 function get_group_of_field( $field_parent ) { … … 870 870 ) { 871 871 $r = $field_parent; 872 } else if ( 873 ! acf_is_local_field_group( $field_parent ) && 874 is_numeric( $field_parent ) && 875 ( $parent_group = acf_get_field_group( $field_parent ) ) && 876 ! empty( $parent_group['key'] ) && 877 acf_is_field_group_key( $parent_group['key'] ) 878 ) { 879 $r = $parent_group['key']; 872 880 } else if ( acf_is_field_key( $field_parent ) ) { 873 881 if ( -
lct-useful-shortcodes-functions/trunk/code/plugins/acf/api/_sort.php
r2493704 r2690235 429 429 return $hide_this; 430 430 } 431 432 433 if ( ! function_exists( 'afwp_acf_base64_decode' ) ) { 434 /** 435 * base64 decode a value 436 * 437 * @param string $value 438 * 439 * @return string 440 * @date 2021.10.19 441 * @since 2021.3 442 * @verified 2022.01.20 443 */ 444 function afwp_acf_base64_decode( $value ) { 445 $prefix = 'base64::'; 446 447 448 /** 449 * Base decode the value if needed 450 */ 451 if ( 452 is_string( $value ) && //Has to be a sting 453 strpos( $value, $prefix ) === 0 //Needs to already be encoded 454 ) { 455 $value = base64_decode( str_replace( $prefix, '', $value ) ); 456 $value = _wp_specialchars( $value ); 457 } 458 459 460 return $value; 461 } 462 463 464 /** 465 * base64 encode a value 466 * 467 * @param string $value 468 * 469 * @return string 470 * @date 2021.10.19 471 * @since 2021.3 472 * @verified 2021.10.19 473 */ 474 function afwp_acf_base64_encode( $value ) { 475 $prefix = 'base64::'; 476 477 478 /** 479 * Base encode the value if needed 480 */ 481 if ( 482 is_string( $value ) && //Has to be a sting 483 strpos( $value, $prefix ) === false //Can't already be encoded 484 ) { 485 $value = $prefix . base64_encode( $value ); 486 } 487 488 489 return $value; 490 } 491 492 493 /** 494 * JSON decode a value 495 * 496 * @param string $value 497 * 498 * @return array|string|mixed 499 * @date 2021.10.19 500 * @since 2021.3 501 * @verified 2022.01.20 502 */ 503 function afwp_acf_json_decode( $value ) { 504 /** 505 * Do a quick decode to get the last error 506 */ 507 $decoded = afwp_acf_base64_decode( $value ); 508 509 510 /** 511 * Not a JSON string, force an error 512 */ 513 if ( ! is_string( $decoded ) ) { 514 json_decode( INF ); 515 516 517 return null; 518 } 519 520 /** 521 * Do a quick decode to get the last error 522 */ 523 $decoded = json_decode( $decoded, true, 512, JSON_BIGINT_AS_STRING ); 524 525 526 /** 527 * JSON decode the value if needed 528 */ 529 if ( json_last_error() === JSON_ERROR_NONE ) 530 return $decoded; 531 532 533 /** 534 * Return null 535 */ 536 return null; 537 } 538 539 540 /** 541 * MAYBE JSON decode a value 542 * 543 * @param string|array $value 544 * 545 * @return array|string|mixed 546 * @date 2022.01.18 547 * @since 2022.1 548 * @verified 2022.01.20 549 */ 550 function afwp_acf_maybe_json_decode( $value ) { 551 /** 552 * Do a quick decode to get the last error 553 */ 554 $decoded = afwp_acf_json_decode( $value ); 555 556 557 /** 558 * JSON decode the value if needed 559 */ 560 if ( json_last_error() === JSON_ERROR_NONE ) 561 return $decoded; 562 563 564 /** 565 * Just send back the original value 566 */ 567 return $value; 568 } 569 570 571 /** 572 * JSON encode a value 573 * 574 * @param array $value 575 * 576 * @return string|false 577 * @date 2021.10.19 578 * @since 2021.3 579 * @verified 2022.01.20 580 */ 581 function afwp_acf_json_encode( $value ) { 582 /** 583 * Do a quick encode to get the last error 584 */ 585 $encoded = wp_json_encode( $value, JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_LINE_TERMINATORS | JSON_NUMERIC_CHECK ); 586 587 588 /** 589 * JSON encode the value if needed 590 */ 591 if ( json_last_error() === JSON_ERROR_NONE ) 592 return $encoded; 593 594 595 /** 596 * Return false 597 */ 598 return false; 599 } 600 } -
lct-useful-shortcodes-functions/trunk/code/plugins/acf/api/form.php
r2679272 r2690235 1686 1686 * @return string 1687 1687 * @since 2019.1 1688 * @verified 20 19.04.181688 * @verified 2022.02.15 1689 1689 */ 1690 1690 function lct_acf_format_value_true_false_display_format( $value, $field ) { … … 1696 1696 1697 1697 1698 if ( $message = wp_strip_all_tags( $field['message'] ) ) 1698 if ( 1699 isset( $field['message'] ) && 1700 ( $message = wp_strip_all_tags( $field['message'] ) ) 1701 ) { 1699 1702 $value = $answer . ' — ' . $message; 1700 else1703 } else { 1701 1704 $value = $answer; 1705 } 1702 1706 1703 1707 … … 1822 1826 * @return mixed 1823 1827 * @since 2017.84 1824 * @verified 202 0.08.271828 * @verified 2022.02.17 1825 1829 */ 1826 1830 function lct_acf_format_value_taxonomy( $value, $field ) { … … 1835 1839 $term_ids[] = $term; 1836 1840 } else { 1837 $term_ids[] = get_term( (int) $term, $field['taxonomy'] ); 1841 $taxonomy = ''; 1842 if ( isset( $field['taxonomy'] ) ) 1843 $taxonomy = $field['taxonomy']; 1844 1845 1846 $term_ids[] = get_term( (int) $term, $taxonomy ); 1838 1847 } 1839 1848 } … … 1841 1850 $term_ids[] = $value; 1842 1851 } else if ( is_numeric( $value ) ) { 1843 $term_ids[] = get_term( (int) $value, $field['taxonomy'] ); 1852 $taxonomy = ''; 1853 if ( isset( $field['taxonomy'] ) ) 1854 $taxonomy = $field['taxonomy']; 1855 1856 1857 $term_ids[] = get_term( (int) $value, $taxonomy ); 1844 1858 } 1845 1859 -
lct-useful-shortcodes-functions/trunk/code/plugins/acf/inactive.php
r2679272 r2690235 43 43 } 44 44 } 45 46 47 if ( ! function_exists( 'afwp_acf_base64_decode' ) ) {48 /**49 * base64 decode a value50 *51 * @param string $value52 *53 * @return string54 * @date 2021.10.1955 * @since 2021.356 * @verified 2022.01.2057 */58 function afwp_acf_base64_decode( $value ) {59 $prefix = 'base64::';60 61 62 /**63 * Base decode the value if needed64 */65 if (66 is_string( $value ) && //Has to be a sting67 strpos( $value, $prefix ) === 0 //Needs to already be encoded68 ) {69 $value = base64_decode( str_replace( $prefix, '', $value ) );70 $value = _wp_specialchars( $value );71 }72 73 74 return $value;75 }76 77 78 /**79 * base64 encode a value80 *81 * @param string $value82 *83 * @return string84 * @date 2021.10.1985 * @since 2021.386 * @verified 2021.10.1987 */88 function afwp_acf_base64_encode( $value ) {89 $prefix = 'base64::';90 91 92 /**93 * Base encode the value if needed94 */95 if (96 is_string( $value ) && //Has to be a sting97 strpos( $value, $prefix ) === false //Can't already be encoded98 ) {99 $value = $prefix . base64_encode( $value );100 }101 102 103 return $value;104 }105 106 107 /**108 * JSON decode a value109 *110 * @param string $value111 *112 * @return array|string|mixed113 * @date 2021.10.19114 * @since 2021.3115 * @verified 2022.01.20116 */117 function afwp_acf_json_decode( $value ) {118 /**119 * Do a quick decode to get the last error120 */121 $decoded = afwp_acf_base64_decode( $value );122 123 124 /**125 * Not a JSON string, force an error126 */127 if ( ! is_string( $decoded ) ) {128 json_decode( INF );129 130 131 return null;132 }133 134 /**135 * Do a quick decode to get the last error136 */137 $decoded = json_decode( $decoded, true, 512, JSON_BIGINT_AS_STRING );138 139 140 /**141 * JSON decode the value if needed142 */143 if ( json_last_error() === JSON_ERROR_NONE )144 return $decoded;145 146 147 /**148 * Return null149 */150 return null;151 }152 153 154 /**155 * MAYBE JSON decode a value156 *157 * @param string|array $value158 *159 * @return array|string|mixed160 * @date 2022.01.18161 * @since 2022.1162 * @verified 2022.01.20163 */164 function afwp_acf_maybe_json_decode( $value ) {165 /**166 * Do a quick decode to get the last error167 */168 $decoded = afwp_acf_json_decode( $value );169 170 171 /**172 * JSON decode the value if needed173 */174 if ( json_last_error() === JSON_ERROR_NONE )175 return $decoded;176 177 178 /**179 * Just send back the original value180 */181 return $value;182 }183 184 185 /**186 * JSON encode a value187 *188 * @param array $value189 *190 * @return string|false191 * @date 2021.10.19192 * @since 2021.3193 * @verified 2022.01.20194 */195 function afwp_acf_json_encode( $value ) {196 /**197 * Do a quick encode to get the last error198 */199 $encoded = wp_json_encode( $value, JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_LINE_TERMINATORS | JSON_NUMERIC_CHECK );200 201 202 /**203 * JSON encode the value if needed204 */205 if ( json_last_error() === JSON_ERROR_NONE )206 return $encoded;207 208 209 /**210 * Return false211 */212 return false;213 }214 } -
lct-useful-shortcodes-functions/trunk/code/plugins/acf/op_main_settings_groups.php
r2310439 r2690235 4597 4597 ], 4598 4598 [ 4599 'key' => 'field_62262e7ce14c1', 4600 'label' => 'All Content Warning Notifications', 4601 'name' => 'lct:::disable_warning_notifications', 4602 'type' => 'true_false', 4603 'instructions' => '', 4604 'required' => 0, 4605 'conditional_logic' => 0, 4606 'wrapper' => [ 4607 'width' => '', 4608 'class' => '', 4609 'id' => '', 4610 ], 4611 'message' => '', 4612 'default_value' => 0, 4613 'ui' => 1, 4614 'ui_on_text' => 'Disable ALL Warning', 4615 'ui_off_text' => 'Show the Warnings', 4616 'lct_class_selector' => '', 4617 'menu_order' => 7, 4618 ], 4619 [ 4599 4620 'key' => 'field_59035e0dd7bf6', 4600 4621 'label' => 'Content Restrictions', … … 4611 4632 'placement' => 'top', 4612 4633 'endpoint' => 1, 4613 'menu_order' => 7,4634 'menu_order' => 8, 4614 4635 ], 4615 4636 [ … … 4632 4653 'ui_off_text' => 'Disable', 4633 4654 'lct_class_selector' => '', 4634 'menu_order' => 8,4655 'menu_order' => 9, 4635 4656 ], 4636 4657 [ … … 4655 4676 'lct_roles_n_caps' => '', 4656 4677 'lct_roles_n_caps_viewonly' => '', 4657 'menu_order' => 9,4678 'menu_order' => 10, 4658 4679 ], 4659 4680 [ … … 4676 4697 'ui_off_text' => 'Disable', 4677 4698 'lct_class_selector' => '', 4678 'menu_order' => 1 0,4699 'menu_order' => 11, 4679 4700 ], 4680 4701 [ … … 4697 4718 'ui_off_text' => 'Disable', 4698 4719 'lct_class_selector' => '', 4699 'menu_order' => 1 1,4720 'menu_order' => 12, 4700 4721 ], 4701 4722 [ … … 4732 4753 'lct_class_selector' => '', 4733 4754 'placeholder' => '', 4734 'menu_order' => 1 2,4755 'menu_order' => 13, 4735 4756 ], 4736 4757 [ … … 4753 4774 'ui_off_text' => 'Disable', 4754 4775 'lct_class_selector' => '', 4755 'menu_order' => 1 3,4776 'menu_order' => 14, 4756 4777 ], 4757 4778 [ … … 4788 4809 'lct_class_selector' => '', 4789 4810 'placeholder' => '', 4790 'menu_order' => 1 4,4811 'menu_order' => 15, 4791 4812 ], 4792 4813 [ … … 4809 4830 'ui_off_text' => 'Disable', 4810 4831 'lct_class_selector' => '', 4811 'menu_order' => 1 5,4832 'menu_order' => 16, 4812 4833 ], 4813 4834 [ … … 5065 5086 ], 5066 5087 ], 5067 'menu_order' => 1 6,5088 'menu_order' => 17, 5068 5089 ], 5069 5090 [ … … 5086 5107 'ui_off_text' => 'Disable', 5087 5108 'lct_class_selector' => '', 5088 'menu_order' => 1 7,5109 'menu_order' => 18, 5089 5110 ], 5090 5111 [ … … 5342 5363 ], 5343 5364 ], 5344 'menu_order' => 1 8,5365 'menu_order' => 19, 5345 5366 ], 5346 5367 [ … … 5359 5380 'placement' => 'top', 5360 5381 'endpoint' => 0, 5361 'menu_order' => 19,5382 'menu_order' => 20, 5362 5383 ], 5363 5384 [ … … 5380 5401 'ui_off_text' => 'Disable', 5381 5402 'lct_class_selector' => '', 5382 'menu_order' => 2 0,5403 'menu_order' => 21, 5383 5404 ], 5384 5405 [ … … 5401 5422 'ui_off_text' => 'Disable', 5402 5423 'lct_class_selector' => '', 5403 'menu_order' => 2 1,5424 'menu_order' => 22, 5404 5425 ], 5405 5426 [ … … 5422 5443 'ui_off_text' => 'Disable', 5423 5444 'lct_class_selector' => '', 5424 'menu_order' => 2 2,5445 'menu_order' => 23, 5425 5446 ], 5426 5447 [ … … 5451 5472 'ui_off_text' => '', 5452 5473 'lct_class_selector' => '', 5453 'menu_order' => 2 3,5474 'menu_order' => 24, 5454 5475 ], 5455 5476 [ … … 5485 5506 'maxlength' => '', 5486 5507 'lct_class_selector' => '', 5487 'menu_order' => 2 4,5508 'menu_order' => 25, 5488 5509 ], 5489 5510 [ … … 5506 5527 'ui_off_text' => 'Disable', 5507 5528 'lct_class_selector' => '', 5508 'menu_order' => 2 5,5529 'menu_order' => 26, 5509 5530 ], 5510 5531 [ … … 5535 5556 'ui_off_text' => '', 5536 5557 'lct_class_selector' => '', 5537 'menu_order' => 2 6,5558 'menu_order' => 27, 5538 5559 ], 5539 5560 [ … … 5569 5590 'maxlength' => '', 5570 5591 'lct_class_selector' => '', 5571 'menu_order' => 2 7,5592 'menu_order' => 28, 5572 5593 ], 5573 5594 [ … … 5586 5607 'placement' => 'top', 5587 5608 'endpoint' => 0, 5588 'menu_order' => 2 8,5609 'menu_order' => 29, 5589 5610 ], 5590 5611 [ … … 5607 5628 'ui_off_text' => 'Disable', 5608 5629 'lct_class_selector' => '', 5609 'menu_order' => 29,5630 'menu_order' => 30, 5610 5631 ], 5611 5632 [ … … 5636 5657 'ui_off_text' => 'Include', 5637 5658 'lct_class_selector' => '', 5638 'menu_order' => 3 0,5659 'menu_order' => 31, 5639 5660 ], 5640 5661 [ … … 5653 5674 'placement' => 'top', 5654 5675 'endpoint' => 0, 5655 'menu_order' => 3 1,5676 'menu_order' => 32, 5656 5677 ], 5657 5678 [ … … 5674 5695 'ui_off_text' => 'Off', 5675 5696 'lct_class_selector' => '', 5676 'menu_order' => 3 2,5697 'menu_order' => 33, 5677 5698 ], 5678 5699 [ … … 5697 5718 'ui_off_text' => 'Unlock', 5698 5719 'lct_class_selector' => '', 5699 'menu_order' => 3 3,5720 'menu_order' => 34, 5700 5721 ], 5701 5722 [ … … 5726 5747 'multiple' => 1, 5727 5748 'return_format' => 'array', 5728 'menu_order' => 3 4,5749 'menu_order' => 35, 5729 5750 ], 5730 5751 [ … … 5751 5772 'display_format' => 'g:i a', 5752 5773 'return_format' => 'g:i a', 5753 'menu_order' => 3 5,5774 'menu_order' => 36, 5754 5775 ], 5755 5776 [ … … 5772 5793 'ui_off_text' => '', 5773 5794 'lct_class_selector' => '', 5774 'menu_order' => 3 6,5795 'menu_order' => 37, 5775 5796 ], 5776 5797 [ … … 5801 5822 'maxlength' => '', 5802 5823 'lct_class_selector' => '', 5803 'menu_order' => 3 7,5824 'menu_order' => 38, 5804 5825 ], 5805 5826 [ … … 5822 5843 'ui_off_text' => '', 5823 5844 'lct_class_selector' => '', 5824 'menu_order' => 3 8,5845 'menu_order' => 39, 5825 5846 ], 5826 5847 [ … … 5851 5872 'maxlength' => '', 5852 5873 'lct_class_selector' => '', 5853 'menu_order' => 39,5874 'menu_order' => 40, 5854 5875 ], 5855 5876 [ … … 5872 5893 'ui_off_text' => 'Disable', 5873 5894 'lct_class_selector' => '', 5874 'menu_order' => 4 0,5895 'menu_order' => 41, 5875 5896 ], 5876 5897 [ … … 5895 5916 'lct_roles_n_caps' => '', 5896 5917 'lct_roles_n_caps_viewonly' => '', 5897 'menu_order' => 4 1,5918 'menu_order' => 42, 5898 5919 ], 5899 5920 [ … … 5959 5980 ], 5960 5981 ], 5961 'menu_order' => 4 2,5982 'menu_order' => 43, 5962 5983 ], 5963 5984 [ … … 5976 5997 'placement' => 'top', 5977 5998 'endpoint' => 0, 5978 'menu_order' => 4 3,5999 'menu_order' => 44, 5979 6000 ], 5980 6001 [ … … 6096 6117 ], 6097 6118 ], 6098 'menu_order' => 4 4,6119 'menu_order' => 45, 6099 6120 ], 6100 6121 [ … … 6113 6134 'placement' => 'top', 6114 6135 'endpoint' => 0, 6115 'menu_order' => 4 5,6136 'menu_order' => 46, 6116 6137 ], 6117 6138 [ … … 6134 6155 'ui_off_text' => '', 6135 6156 'lct_class_selector' => '', 6136 'menu_order' => 4 6,6157 'menu_order' => 47, 6137 6158 ], 6138 6159 [ … … 6163 6184 'maxlength' => '', 6164 6185 'lct_class_selector' => '', 6165 'menu_order' => 4 7,6186 'menu_order' => 48, 6166 6187 ], 6167 6188 [ … … 6192 6213 'maxlength' => '', 6193 6214 'lct_class_selector' => '', 6194 'menu_order' => 4 8,6215 'menu_order' => 49, 6195 6216 ], 6196 6217 [ … … 6227 6248 'lct_class_selector' => '', 6228 6249 'placeholder' => '', 6229 'menu_order' => 49,6250 'menu_order' => 50, 6230 6251 ], 6231 6252 ], … … 6247 6268 'active' => true, 6248 6269 'description' => '', 6270 'show_in_rest' => 1, 6249 6271 ] ); 6250 6272 -
lct-useful-shortcodes-functions/trunk/code/wp-admin/admin/_admin.php
r2679272 r2690235 62 62 63 63 add_filter( 'wp_check_filetype_and_ext', [ $this, 'check_for_needed_filetype' ], 10, 4 ); 64 65 add_filter( 'lct/check_for_bad_youtubes/check_pages', [ $this, 'disable_warning_notifications' ] ); 66 add_filter( 'lct/check_for_bad_youtubes/check_posts', [ $this, 'disable_warning_notifications' ] ); 67 add_filter( 'lct/check_for_bad_youtubes/check_fusion', [ $this, 'disable_warning_notifications' ] ); 68 add_filter( 'lct/check_for_bad_iframes/check_pages', [ $this, 'disable_warning_notifications' ] ); 69 add_filter( 'lct/check_for_bad_iframes/check_posts', [ $this, 'disable_warning_notifications' ] ); 70 add_filter( 'lct/avada/check_for_bad_avada_assets/google_analytics', [ $this, 'disable_warning_notifications' ] ); 71 add_filter( 'lct/avada/check_for_bad_avada_assets/head_space', [ $this, 'disable_warning_notifications' ] ); 72 add_filter( 'lct/avada/check_for_bad_avada_assets/custom_css', [ $this, 'disable_warning_notifications' ] ); 64 73 65 74 … … 1546 1555 return array_merge( $wp_check_filetype_and_ext, $wp_filetype ); 1547 1556 } 1557 1558 1559 /** 1560 * Global setting for content notifications 1561 * 1562 * @param bool $do_the_check 1563 * 1564 * @return bool 1565 * @date 2022.03.07 1566 * @since 2022.2 1567 * @verified 2022.03.07 1568 */ 1569 function disable_warning_notifications( $do_the_check ) { 1570 if ( lct_acf_get_option( 'disable_warning_notifications' ) ) 1571 return false; 1572 else if ( lct_acf_get_option( 'disable_warning_notifications' ) === false ) 1573 return true; 1574 1575 1576 return $do_the_check; 1577 } 1548 1578 } -
lct-useful-shortcodes-functions/trunk/lct-useful-shortcodes-functions.php
r2679272 r2690235 4 4 * Plugin URI: https://www.simplesmithmedia.com 5 5 * Description: Shortcodes & Functions that will help make your life easier. 6 * Version: 2022. 16 * Version: 2022.2 7 7 * Author: SimpleSmithMedia 8 8 * Author URI: https://www.simplesmithmedia.com -
lct-useful-shortcodes-functions/trunk/readme.txt
r2679272 r2690235 33 33 34 34 == Changelog == 35 = 2022.2 = 36 *Release Date - 07 March 2022* 37 38 * Added: 39 * add_filter( 'lct/check_for_bad_youtubes/check_pages', [ $this, 'disable_warning_notifications' ] ); 40 * add_filter( 'lct/check_for_bad_youtubes/check_posts', [ $this, 'disable_warning_notifications' ] ); 41 * add_filter( 'lct/check_for_bad_youtubes/check_fusion', [ $this, 'disable_warning_notifications' ] ); 42 * add_filter( 'lct/check_for_bad_iframes/check_pages', [ $this, 'disable_warning_notifications' ] ); 43 * add_filter( 'lct/check_for_bad_iframes/check_posts', [ $this, 'disable_warning_notifications' ] ); 44 * add_filter( 'lct/avada/check_for_bad_avada_assets/google_analytics', [ $this, 'disable_warning_notifications' ] ); 45 * add_filter( 'lct/avada/check_for_bad_avada_assets/head_space', [ $this, 'disable_warning_notifications' ] ); 46 * add_filter( 'lct/avada/check_for_bad_avada_assets/custom_css', [ $this, 'disable_warning_notifications' ] ); 47 * Updated: 48 * lct_mu{} 49 * Improved: 50 * lct_make_status_name() 51 * lct_acf_format_value_true_false_display_format() 52 * lct_acf_format_value_taxonomy() 53 * lct_acf_loaded{}get_group_of_field() 54 * lct_Avada_admin{}wp_enqueue_styles() 55 * Moved: 56 * afwp_acf_base64_decode() 57 35 58 = 2022.1 = 36 59 *Release Date - 15 February 2022*
Note: See TracChangeset
for help on using the changeset viewer.