Changeset 3280268
- Timestamp:
- 04/23/2025 06:57:42 PM (11 months ago)
- Location:
- gatherpress
- Files:
-
- 12 edited
- 1 copied
-
tags/0.32.1 (copied) (copied from gatherpress/trunk)
-
tags/0.32.1/gatherpress.php (modified) (1 diff)
-
tags/0.32.1/includes/core/classes/class-event-setup.php (modified) (1 diff)
-
tags/0.32.1/includes/core/classes/class-settings.php (modified) (5 diffs)
-
tags/0.32.1/includes/core/classes/class-venue.php (modified) (1 diff)
-
tags/0.32.1/includes/data/credits.php (modified) (1 diff)
-
tags/0.32.1/readme.md (modified) (1 diff)
-
trunk/gatherpress.php (modified) (1 diff)
-
trunk/includes/core/classes/class-event-setup.php (modified) (1 diff)
-
trunk/includes/core/classes/class-settings.php (modified) (5 diffs)
-
trunk/includes/core/classes/class-venue.php (modified) (1 diff)
-
trunk/includes/data/credits.php (modified) (1 diff)
-
trunk/readme.md (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
gatherpress/tags/0.32.1/gatherpress.php
r3271519 r3280268 6 6 * Author: The GatherPress Community 7 7 * Author URI: https://gatherpress.org/ 8 * Version: 0.32. 08 * Version: 0.32.1 9 9 * Requires PHP: 7.4 10 10 * Requires at least: 6.7 -
gatherpress/tags/0.32.1/includes/core/classes/class-event-setup.php
r3271519 r3280268 155 155 'supports' => array( 156 156 'title', 157 'author', 157 158 'editor', 158 159 'excerpt', -
gatherpress/tags/0.32.1/includes/core/classes/class-settings.php
r3271519 r3280268 62 62 $this->instantiate_classes(); 63 63 $this->set_current_page(); 64 $this->set_main_sub_page();65 64 $this->setup_hooks(); 66 65 } … … 90 89 */ 91 90 protected function setup_hooks(): void { 91 add_action( 'init', array( $this, 'set_main_sub_page' ) ); 92 92 add_action( 'admin_menu', array( $this, 'options_page' ) ); 93 93 add_action( 'admin_head', array( $this, 'remove_sub_options' ) ); … … 110 110 * @return void 111 111 */ 112 p rotectedfunction set_main_sub_page(): void {112 public function set_main_sub_page(): void { 113 113 $sub_pages = $this->get_sub_pages(); 114 114 $this->main_sub_page = array_key_first( $sub_pages ) ?? ''; … … 229 229 $sub_pages = $this->get_sub_pages(); 230 230 231 // @todo will need to add sanitization to setting. 232 // phpcs:ignore WordPress.CodeAnalysis.SettingSanitization.register_settingMissing 231 233 register_setting( 232 234 'gatherpress', … … 235 237 236 238 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 237 241 register_setting( 238 242 Utility::prefix_key( $sub_page ), -
gatherpress/tags/0.32.1/includes/core/classes/class-venue.php
r3271519 r3280268 143 143 'supports' => array( 144 144 'title', 145 'author', 145 146 'editor', 146 147 'thumbnail', -
gatherpress/tags/0.32.1/includes/data/credits.php
r3271519 r3280268 5 5 6 6 return array ( 7 'version' => '0.32. 0',7 'version' => '0.32.1', 8 8 'project-leaders' => 9 9 array ( -
gatherpress/tags/0.32.1/readme.md
r3271519 r3280268 1 1 # GatherPress 2 2 3 Stable tag: 0.32. 04 Tested up to: 6. 7.23 Stable tag: 0.32.1 4 Tested up to: 6.8 5 5 License: GPL v2 or later 6 6 Tags: events, event, meetup, community -
gatherpress/trunk/gatherpress.php
r3271519 r3280268 6 6 * Author: The GatherPress Community 7 7 * Author URI: https://gatherpress.org/ 8 * Version: 0.32. 08 * Version: 0.32.1 9 9 * Requires PHP: 7.4 10 10 * Requires at least: 6.7 -
gatherpress/trunk/includes/core/classes/class-event-setup.php
r3271519 r3280268 155 155 'supports' => array( 156 156 'title', 157 'author', 157 158 'editor', 158 159 'excerpt', -
gatherpress/trunk/includes/core/classes/class-settings.php
r3271519 r3280268 62 62 $this->instantiate_classes(); 63 63 $this->set_current_page(); 64 $this->set_main_sub_page();65 64 $this->setup_hooks(); 66 65 } … … 90 89 */ 91 90 protected function setup_hooks(): void { 91 add_action( 'init', array( $this, 'set_main_sub_page' ) ); 92 92 add_action( 'admin_menu', array( $this, 'options_page' ) ); 93 93 add_action( 'admin_head', array( $this, 'remove_sub_options' ) ); … … 110 110 * @return void 111 111 */ 112 p rotectedfunction set_main_sub_page(): void {112 public function set_main_sub_page(): void { 113 113 $sub_pages = $this->get_sub_pages(); 114 114 $this->main_sub_page = array_key_first( $sub_pages ) ?? ''; … … 229 229 $sub_pages = $this->get_sub_pages(); 230 230 231 // @todo will need to add sanitization to setting. 232 // phpcs:ignore WordPress.CodeAnalysis.SettingSanitization.register_settingMissing 231 233 register_setting( 232 234 'gatherpress', … … 235 237 236 238 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 237 241 register_setting( 238 242 Utility::prefix_key( $sub_page ), -
gatherpress/trunk/includes/core/classes/class-venue.php
r3271519 r3280268 143 143 'supports' => array( 144 144 'title', 145 'author', 145 146 'editor', 146 147 'thumbnail', -
gatherpress/trunk/includes/data/credits.php
r3271519 r3280268 5 5 6 6 return array ( 7 'version' => '0.32. 0',7 'version' => '0.32.1', 8 8 'project-leaders' => 9 9 array ( -
gatherpress/trunk/readme.md
r3271519 r3280268 1 1 # GatherPress 2 2 3 Stable tag: 0.32. 04 Tested up to: 6. 7.23 Stable tag: 0.32.1 4 Tested up to: 6.8 5 5 License: GPL v2 or later 6 6 Tags: events, event, meetup, community
Note: See TracChangeset
for help on using the changeset viewer.