Plugin Directory

Changeset 3280268


Ignore:
Timestamp:
04/23/2025 06:57:42 PM (11 months ago)
Author:
gatherpress
Message:

Update to version 0.32.1 from GitHub

Location:
gatherpress
Files:
12 edited
1 copied

Legend:

Unmodified
Added
Removed
  • gatherpress/tags/0.32.1/gatherpress.php

    r3271519 r3280268  
    66 * Author:            The GatherPress Community
    77 * Author URI:        https://gatherpress.org/
    8  * Version:           0.32.0
     8 * Version:           0.32.1
    99 * Requires PHP:      7.4
    1010 * Requires at least: 6.7
  • gatherpress/tags/0.32.1/includes/core/classes/class-event-setup.php

    r3271519 r3280268  
    155155                'supports'      => array(
    156156                    'title',
     157                    'author',
    157158                    'editor',
    158159                    'excerpt',
  • gatherpress/tags/0.32.1/includes/core/classes/class-settings.php

    r3271519 r3280268  
    6262        $this->instantiate_classes();
    6363        $this->set_current_page();
    64         $this->set_main_sub_page();
    6564        $this->setup_hooks();
    6665    }
     
    9089     */
    9190    protected function setup_hooks(): void {
     91        add_action( 'init', array( $this, 'set_main_sub_page' ) );
    9292        add_action( 'admin_menu', array( $this, 'options_page' ) );
    9393        add_action( 'admin_head', array( $this, 'remove_sub_options' ) );
     
    110110     * @return void
    111111     */
    112     protected function set_main_sub_page(): void {
     112    public function set_main_sub_page(): void {
    113113        $sub_pages           = $this->get_sub_pages();
    114114        $this->main_sub_page = array_key_first( $sub_pages ) ?? '';
     
    229229        $sub_pages = $this->get_sub_pages();
    230230
     231        // @todo will need to add sanitization to setting.
     232        // phpcs:ignore WordPress.CodeAnalysis.SettingSanitization.register_settingMissing
    231233        register_setting(
    232234            'gatherpress',
     
    235237
    236238        foreach ( $sub_pages as $sub_page => $sub_page_settings ) {
     239            // @todo will need to add sanitization to setting.
     240            // phpcs:ignore WordPress.CodeAnalysis.SettingSanitization.register_settingMissing
    237241            register_setting(
    238242                Utility::prefix_key( $sub_page ),
  • gatherpress/tags/0.32.1/includes/core/classes/class-venue.php

    r3271519 r3280268  
    143143                'supports'     => array(
    144144                    'title',
     145                    'author',
    145146                    'editor',
    146147                    'thumbnail',
  • gatherpress/tags/0.32.1/includes/data/credits.php

    r3271519 r3280268  
    55
    66return array (
    7   'version' => '0.32.0',
     7  'version' => '0.32.1',
    88  'project-leaders' =>
    99  array (
  • gatherpress/tags/0.32.1/readme.md

    r3271519 r3280268  
    11# GatherPress
    22
    3 Stable tag: 0.32.0 
    4 Tested up to: 6.7.2 
     3Stable tag: 0.32.1 
     4Tested up to: 6.8 
    55License: GPL v2 or later 
    66Tags: events, event, meetup, community 
  • gatherpress/trunk/gatherpress.php

    r3271519 r3280268  
    66 * Author:            The GatherPress Community
    77 * Author URI:        https://gatherpress.org/
    8  * Version:           0.32.0
     8 * Version:           0.32.1
    99 * Requires PHP:      7.4
    1010 * Requires at least: 6.7
  • gatherpress/trunk/includes/core/classes/class-event-setup.php

    r3271519 r3280268  
    155155                'supports'      => array(
    156156                    'title',
     157                    'author',
    157158                    'editor',
    158159                    'excerpt',
  • gatherpress/trunk/includes/core/classes/class-settings.php

    r3271519 r3280268  
    6262        $this->instantiate_classes();
    6363        $this->set_current_page();
    64         $this->set_main_sub_page();
    6564        $this->setup_hooks();
    6665    }
     
    9089     */
    9190    protected function setup_hooks(): void {
     91        add_action( 'init', array( $this, 'set_main_sub_page' ) );
    9292        add_action( 'admin_menu', array( $this, 'options_page' ) );
    9393        add_action( 'admin_head', array( $this, 'remove_sub_options' ) );
     
    110110     * @return void
    111111     */
    112     protected function set_main_sub_page(): void {
     112    public function set_main_sub_page(): void {
    113113        $sub_pages           = $this->get_sub_pages();
    114114        $this->main_sub_page = array_key_first( $sub_pages ) ?? '';
     
    229229        $sub_pages = $this->get_sub_pages();
    230230
     231        // @todo will need to add sanitization to setting.
     232        // phpcs:ignore WordPress.CodeAnalysis.SettingSanitization.register_settingMissing
    231233        register_setting(
    232234            'gatherpress',
     
    235237
    236238        foreach ( $sub_pages as $sub_page => $sub_page_settings ) {
     239            // @todo will need to add sanitization to setting.
     240            // phpcs:ignore WordPress.CodeAnalysis.SettingSanitization.register_settingMissing
    237241            register_setting(
    238242                Utility::prefix_key( $sub_page ),
  • gatherpress/trunk/includes/core/classes/class-venue.php

    r3271519 r3280268  
    143143                'supports'     => array(
    144144                    'title',
     145                    'author',
    145146                    'editor',
    146147                    'thumbnail',
  • gatherpress/trunk/includes/data/credits.php

    r3271519 r3280268  
    55
    66return array (
    7   'version' => '0.32.0',
     7  'version' => '0.32.1',
    88  'project-leaders' =>
    99  array (
  • gatherpress/trunk/readme.md

    r3271519 r3280268  
    11# GatherPress
    22
    3 Stable tag: 0.32.0 
    4 Tested up to: 6.7.2 
     3Stable tag: 0.32.1 
     4Tested up to: 6.8 
    55License: GPL v2 or later 
    66Tags: events, event, meetup, community 
Note: See TracChangeset for help on using the changeset viewer.