Changeset 3049746
- Timestamp:
- 03/12/2024 12:17:07 PM (5 months ago)
- Location:
- oik/trunk
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
oik/trunk/bobbnotwp.inc_
r2948059 r3049746 114 114 if ( !function_exists( "esc_attr" ) ) { 115 115 function esc_attr( $text ) { return( $text ); } 116 117 118 119 116 120 } 117 121 -
oik/trunk/changelog.txt
r2993121 r3049746 37 37 38 38 == Upgrade Notice == 39 40 41 42 43 44 39 45 = 4.9.2 = 40 46 Upgrade for support for PHP 8.1 and PHP 8.2 … … 481 487 482 488 == Changelog == 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 483 505 = 4.9.2 = 484 506 * Changed: Support PHP 8.1 and PHP 8.2 #220 -
oik/trunk/includes/bw_metadata.php
r2970543 r3049746 1 <?php // (C) Copyright Bobbing Wide 2012-2017, 20231 <?php // (C) Copyright Bobbing Wide 2012-2017, 2 2 /** 3 3 * Logic to create metaboxes for each of the custom fields defined for a particular post type … … 432 432 stag( 'table', "form-table" ); 433 433 foreach ( $fields as $field ) { 434 $data = $bw_fields[$field];434 $data = ; 435 435 //bw_trace2( $field ); 436 $metabox_field = bw_check_metabox_field( $data );436 $metabox_field = bw_check_metabox_field( $data ); 437 437 if ( $metabox_field ) { 438 438 $multiple = bw_array_get( $data['#args'], "#multiple", false ); -
oik/trunk/includes/bw_register.php
r2772475 r3049746 1 <?php // (C) Copyright Bobbing Wide 2012-2017,2020 1 <?php // (C) Copyright Bobbing Wide 2012-2017,2020 2 2 3 3 /** … … 206 206 unset( $post_type_args['cap'] ) ; 207 207 // bw_trace2( $post_type_args, "post_type_args"); 208 register_post_type( $post_type, $post_type_args ); 208 $post_type_object = register_post_type( $post_type, $post_type_args ); 209 //bw_trace2( $post_type_object, 'post_type_object', false, BW_TRACE_VERBOSE ); 209 210 } 210 211 -
oik/trunk/libs/bobbfunc.php
r2970543 r3049746 1 <?php // (C) Copyright Bobbing Wide 2009-202 31 <?php // (C) Copyright Bobbing Wide 2009-202 2 2 if ( !defined( "BOBBFUNC_INCLUDED" ) ) { 3 define( "BOBBFUNC_INCLUDED", "3. 4.3" );3 define( "BOBBFUNC_INCLUDED", "3." ); 4 4 5 5 /** … … 260 260 $link .= kv( "class", $class ); 261 261 $link .= kv( "id", $id ); 262 $link .= kv( "href", $url );262 $link .= kv( "href", 263 263 if ( !is_null( $alt ) ) { 264 264 if ( $alt != $linktori ) { -
oik/trunk/libs/oik_plugins.php
r2970543 r3049746 1 <?php // (C) Copyright Bobbing Wide 2012-202 31 <?php // (C) Copyright Bobbing Wide 2012-202 2 2 if ( !defined( "OIK_PLUGINS_INCLUDED" ) ) { 3 define( "OIK_PLUGINS_INCLUDED", "0.3. 4" );3 define( "OIK_PLUGINS_INCLUDED", "0.3." ); 4 4 5 5 /** … … 466 466 function bw_update_option( $field, $value=NULL, $options="bw_options" ) { 467 467 $bw_options = get_option( $options ); 468 469 470 468 471 $bw_options[ $field ] = $value; 469 472 bw_trace2( $bw_options, 'options', true, BW_TRACE_VERBOSE ); -
oik/trunk/oik.php
r2993121 r3049746 4 4 Plugin URI: https://www.oik-plugins.com/oik-plugins/oik 5 5 Description: OIK Information Kit - Over 80 lazy smart shortcodes for displaying WordPress content 6 Version: 4.10. 06 Version: 4.10. 7 7 Author: bobbingwide 8 8 Author URI: https://bobbingwide.com/about-bobbing-wide … … 12 12 License URI: https://www.gnu.org/licenses/gpl-2.0.html 13 13 14 Copyright 2010-202 3Bobbing Wide (email : herb@bobbingwide.com )14 Copyright 2010-202 Bobbing Wide (email : herb@bobbingwide.com ) 15 15 16 16 This program is free software; you can redistribute it and/or modify -
oik/trunk/readme.txt
r2993121 r3049746 4 4 Tags: blocks, shortcodes, shortcode, advanced 5 5 Requires at least: 5.0.3 6 Tested up to: 6.4. 17 Stable tag: 4.10. 06 Tested up to: 6.4. 7 Stable tag: 4.10. 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 107 107 108 108 == Upgrade Notice == 109 = 4.10.0 = 110 Update for improved basic spam checking on the contact form. 109 = 4.10.2 = 110 Update for a security fix to prevent JavaScript in URLs #224 111 112 = 4.10.1 = 113 Update for basic spam checking on the contact form subject, and support for PHP 8.3 111 114 112 115 == Changelog == 113 = 4.10.0 = 114 * Changed: Support PHP 8.1 and PHP 8.2 #220 115 * Changed: Improve bw_basic_spam_check() #221 116 * Changed: Update PHPUnit tests for WordPress 6.4 changes #222 117 * Tested: With WordPress 6.4.1 and WordPress Multisite 118 * Tested: With Gutenberg 16.9.0 119 * Tested: With PHP 8.1 and PHP 8.2 116 = 4.10.2 = 117 * Fixed: Escape the URL in links. #224 Props: Wordfence. Vulnerability Researcher: Francesco Carlucci 118 119 = 4.10.1 = 120 * Changed: Support PHP 8.3 #220 121 * Changed: Spam check subject for #221 122 * Tested: With WordPress 6.4.3 and WordPress Multisite 123 * Tested: With PHP 8.3 120 124 * Tested: With PHPUnit 9.6 121 125 … … 176 180 * WordPress 177 181 * WordPress Multisite 178 * PHP 8.1 & PHP 8.2182 * PHP 8.1 179 183 * PHPUnit 9.6 180 184 -
oik/trunk/shortcodes/oik-codes.php
r2772475 r3049746 682 682 BW_::br(); 683 683 bw_lazy_sc_syntax( "oik" ); 684 oik__example(); 684 if ( function_exists( "oik__example")) { 685 oik__example(); 686 } 685 687 } 686 688 -
oik/trunk/shortcodes/oik-contact-form.php
r2993121 r3049746 273 273 274 274 //bw_trace2(); 275 $fields_to_check = [ "comment_author", "comment_author_email", "comment_content" ];275 $fields_to_check = [ "comment_author", "comment_author_email", "comment_content" ]; 276 276 foreach ( $fields_to_check as $field ) { 277 277 $content=bw_array_get( $fields, $field, '' ); … … 307 307 * Return the query_string to pass to Akismet given the fields in $fields and $_SERVER 308 308 * 309 * @link http ://akismet.com/development/api/#comment-check309 * @link http://akismet.com/development/api/#comment-check 310 310 * blog (required) -The front page or home URL of the instance making the request. 311 311 * For a blog or wiki this would be the front page. Note: Must be a full URI, including http://. … … 317 317 * comment_type - May be blank, comment, trackback, pingback, or a made up value like "registration". 318 318 * comment_author - Name submitted with the comment 319 * Use "viagra-test-123"to always get a spam response319 * Use to always get a spam response 320 320 * comment_author_email - Email address submitted with the comment 321 321 322 * comment_author_url - URL submitted with comment 322 323 * comment_content - The content that was submitted. … … 385 386 $fields['comment_author_url'] = null; 386 387 $fields['comment_type'] = 'oik-contact-form'; 388 389 387 390 $send = bw_akismet_check( $fields ); 388 391 if ( $send ) {
Note: See TracChangeset
for help on using the changeset viewer.