Plugin Directory

Changeset 3049746

Timestamp:
03/12/2024 12:17:07 PM (5 months ago)
Author:
bobbingwide
Message:

oik v4.10.2 contains a security fix.
plus previously unreleased changes for oik v4.10.1.

Location:
oik/trunk
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • oik/trunk/bobbnotwp.inc_

    r2948059 r3049746  
    114114if ( !function_exists( "esc_attr" ) ) {
    115115function esc_attr( $text ) { return( $text ); }
     116
     117
     118
     119
    116120}
    117121
  • oik/trunk/changelog.txt

    r2993121 r3049746  
    3737
    3838== Upgrade Notice ==
     39
     40
     41
     42
     43
     44
    3945= 4.9.2 =
    4046Upgrade for support for PHP 8.1 and PHP 8.2
     
    481487
    482488== Changelog ==
     489
     490
     491
     492
     493
     494
     495
     496
     497
     498
     499
     500
     501
     502
     503
     504
    483505= 4.9.2 =
    484506* 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, 2023
     1<?php // (C) Copyright Bobbing Wide 2012-2017,
    22/**
    33 * Logic to create metaboxes for each of the custom fields defined for a particular post type
     
    432432  stag( 'table', "form-table" );
    433433  foreach ( $fields as $field ) {
    434     $data = $bw_fields[$field];
     434    $data = ;
    435435    //bw_trace2( $field );
    436     $metabox_field = bw_check_metabox_field( $data );
     436    $metabox_field = bw_check_metabox_field( $data );
    437437    if ( $metabox_field ) {
    438438      $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
    22
    33/**
     
    206206  unset( $post_type_args['cap'] ) ;
    207207  // 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 );
    209210}
    210211
  • oik/trunk/libs/bobbfunc.php

    r2970543 r3049746  
    1 <?php // (C) Copyright Bobbing Wide 2009-2023
     1<?php // (C) Copyright Bobbing Wide 2009-202
    22if ( !defined( "BOBBFUNC_INCLUDED" ) ) {
    3 define( "BOBBFUNC_INCLUDED", "3.4.3" );
     3define( "BOBBFUNC_INCLUDED", "3." );
    44
    55/**
     
    260260  $link .= kv( "class", $class );
    261261  $link .= kv( "id", $id );
    262   $link .= kv( "href", $url );
     262  $link .= kv( "href",
    263263  if ( !is_null( $alt ) ) {
    264264        if ( $alt != $linktori ) {
  • oik/trunk/libs/oik_plugins.php

    r2970543 r3049746  
    1 <?php // (C) Copyright Bobbing Wide 2012-2023
     1<?php // (C) Copyright Bobbing Wide 2012-202
    22if ( !defined( "OIK_PLUGINS_INCLUDED" ) ) {
    3     define( "OIK_PLUGINS_INCLUDED", "0.3.4" );
     3    define( "OIK_PLUGINS_INCLUDED", "0.3." );
    44
    55/**
     
    466466function bw_update_option( $field, $value=NULL, $options="bw_options" ) {
    467467  $bw_options = get_option( $options );
     468
     469
     470
    468471  $bw_options[ $field ] = $value;
    469472  bw_trace2( $bw_options, 'options', true, BW_TRACE_VERBOSE );
  • oik/trunk/oik.php

    r2993121 r3049746  
    44Plugin URI: https://www.oik-plugins.com/oik-plugins/oik
    55Description: OIK Information Kit - Over 80 lazy smart shortcodes for displaying WordPress content
    6 Version: 4.10.0
     6Version: 4.10.
    77Author: bobbingwide
    88Author URI: https://bobbingwide.com/about-bobbing-wide
     
    1212License URI: https://www.gnu.org/licenses/gpl-2.0.html
    1313
    14     Copyright 2010-2023 Bobbing Wide (email : herb@bobbingwide.com )
     14    Copyright 2010-202 Bobbing Wide (email : herb@bobbingwide.com )
    1515
    1616    This program is free software; you can redistribute it and/or modify
  • oik/trunk/readme.txt

    r2993121 r3049746  
    44Tags: blocks, shortcodes, shortcode, advanced
    55Requires at least: 5.0.3
    6 Tested up to: 6.4.1
    7 Stable tag: 4.10.0
     6Tested up to: 6.4.
     7Stable tag: 4.10.
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    107107
    108108== Upgrade Notice ==
    109 = 4.10.0 =
    110 Update for improved basic spam checking on the contact form.
     109= 4.10.2 =
     110Update for a security fix to prevent JavaScript in URLs #224
     111 
     112= 4.10.1 =
     113Update for basic spam checking on the contact form subject, and support for PHP 8.3
    111114
    112115== 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
    120124* Tested: With PHPUnit 9.6
    121125
     
    176180* WordPress
    177181* WordPress Multisite
    178 * PHP 8.1 & PHP 8.2
     182* PHP 8.1
    179183* PHPUnit 9.6
    180184
  • oik/trunk/shortcodes/oik-codes.php

    r2772475 r3049746  
    682682  BW_::br();
    683683  bw_lazy_sc_syntax( "oik" );
    684   oik__example();
     684  if ( function_exists( "oik__example")) {
     685      oik__example();
     686  }
    685687}
    686688
  • oik/trunk/shortcodes/oik-contact-form.php

    r2993121 r3049746  
    273273
    274274    //bw_trace2();
    275     $fields_to_check = [ "comment_author", "comment_author_email", "comment_content" ];
     275    $fields_to_check = [ "comment_author", "comment_author_email", "comment_content" ];
    276276    foreach ( $fields_to_check as $field ) {
    277277        $content=bw_array_get( $fields, $field, '' );
     
    307307 * Return the query_string to pass to Akismet given the fields in $fields and $_SERVER
    308308 *
    309  * @link http://akismet.com/development/api/#comment-check
     309 * @link http://akismet.com/development/api/#comment-check
    310310 * blog (required) -The front page or home URL of the instance making the request.
    311311 *                  For a blog or wiki this would be the front page. Note: Must be a full URI, including http://.
     
    317317 * comment_type - May be blank, comment, trackback, pingback, or a made up value like "registration".
    318318 * comment_author - Name submitted with the comment
    319  * Use "viagra-test-123" to always get a spam response
     319 * Use to always get a spam response
    320320 * comment_author_email - Email address submitted with the comment
     321
    321322 * comment_author_url - URL submitted with comment
    322323 * comment_content - The content that was submitted.
     
    385386        $fields['comment_author_url'] = null;
    386387        $fields['comment_type'] = 'oik-contact-form';
     388
     389
    387390        $send = bw_akismet_check( $fields );
    388391        if ( $send ) {
Note: See TracChangeset for help on using the changeset viewer.