Plugin Directory

Changeset 3063871


Ignore:
Timestamp:
04/03/2024 03:22:15 PM (21 months ago)
Author:
totalpressorg
Message:

5.0.5

Location:
custom-post-types
Files:
75 added
4 edited

Legend:

Unmodified
Added
Removed
  • custom-post-types/trunk/assets/icon.svg

    r2955361 r3063871  
    11<?xml version="1.0" encoding="iso-8859-1"?>
    2 <svg style="background-color: #00acfe;" fill="#fff" height="500px" width="500px" version="1.1" id="custom-post-types-icon" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
    3      viewBox="-50 -50 612 612" xml:space="preserve">
     2<svg fill="#fff" height="500px" width="500px" version="1.1" id="custom-post-types-icon" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
     3     viewBox="0 0 612 612" xml:space="preserve">
    44     <style>
    55        @keyframes pulse-1 {
     
    7070
    7171        .part-4  {
    72             transform-origin: 181px 75%;
     72            transform-origin: 181px 431px;
    7373           
    7474            animation-name: pulse-4;
    7575        }
    7676     </style>
    77      <g>
     77    <rect xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" fill="#00acfe"/>
     78     <g transform="translate(50,50)">
    7879<g class="part part-1">
    7980<path d="M237.714,70.29c0-7.543,0-62.709,0-70.289H54.857C24.609,0.001,0,24.609,0,54.858v182.857c8.319,0,84.971,0,94.903,0
  • custom-post-types/trunk/custom-post-types.php

    r3056218 r3063871  
    88Text Domain: custom-post-types
    99Domain Path: /languages/
    10 Version: 5.0.4
     10Version: 5.0.5
    1111*/
    1212
  • custom-post-types/trunk/includes/class-cpt-shortcodes.php

    r2989869 r3063871  
    1212        add_shortcode( 'cpt-term-field', array( $this, 'get_term_field' ) );
    1313        add_shortcode( 'cpt-option-field', array( $this, 'get_option_field' ) );
     14
     15        add_filter( 'cpt_shortcode_field_output', array( $this, 'sanitize_shortcode_output' ) );
     16        add_filter( 'cpt_shortcode_term_field_output', array( $this, 'sanitize_shortcode_output' ) );
     17        add_filter( 'cpt_shortcode_option_field_output', array( $this, 'sanitize_shortcode_output' ) );
    1418    }
    1519
     
    120124        return apply_filters( 'cpt_shortcode_option_field_output', $output, $a );
    121125    }
     126
     127    /**
     128     * @param $output
     129     *
     130     * @return mixed|string|null
     131     */
     132    public function sanitize_shortcode_output( $output ) {
     133        return wp_kses_post( $output );
     134    }
    122135}
  • custom-post-types/trunk/readme.txt

    r3056218 r3063871  
    55Requires at least: 4.0
    66Tested up to: 6.4
    7 Stable tag: 5.0.4
     7Stable tag: 5.0.5
    88Requires PHP: 5.6
    99License: GPLv2 or later
     
    188188== Changelog ==
    189189
     190= 5.0.5 - 2024-04-03 =
     191* FIX: sanitize shortcodes output;
     192
    190193= 5.0.4 - 2024-03-21 =
    191194* FIX: improve plugin bug feedback;
Note: See TracChangeset for help on using the changeset viewer.