Changeset 2475321
- Timestamp:
- 02/16/2021 07:27:59 AM (5 years ago)
- Location:
- workshop-butler
- Files:
-
- 8 edited
- 1 copied
-
tags/2.13.6 (copied) (copied from workshop-butler/trunk)
-
tags/2.13.6/includes/class-wsb-integration.php (modified) (1 diff)
-
tags/2.13.6/public/class-wsb-integration-public.php (modified) (2 diffs)
-
tags/2.13.6/readme.txt (modified) (1 diff)
-
tags/2.13.6/workshop-butler.php (modified) (2 diffs)
-
trunk/includes/class-wsb-integration.php (modified) (1 diff)
-
trunk/public/class-wsb-integration-public.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (1 diff)
-
trunk/workshop-butler.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
workshop-butler/tags/2.13.6/includes/class-wsb-integration.php
r2357023 r2475321 201 201 $this->loader->add_action( 'init', $plugin_public, 'init' ); 202 202 $this->loader->add_filter( 'pre_get_document_title', $plugin_public, 'set_document_title', 99 ); 203 $this->loader->add_filter( 'the_title', $plugin_public, 'set_title', 10 , 2);203 $this->loader->add_filter( 'the_title', $plugin_public, 'set_title', 10 ); 204 204 // Yoast SEO hooks 205 205 $this->loader->add_filter( 'wpseo_frontend_presenter_classes', $plugin_public, 'wpseo_frontend_presenters', 10, 1 ); -
workshop-butler/tags/2.13.6/public/class-wsb-integration-public.php
r2357023 r2475321 142 142 * 143 143 * @param string $title Current page title. 144 * @param int $id ID of the page.145 144 * 146 145 * @return string 147 146 * @since 2.0.0 148 147 */ 149 public function set_title( $title , $id) {148 public function set_title( $title ) { 150 149 $options = new WSB_Options(); 151 150 $reserved_ids = array( … … 155 154 ); 156 155 157 if ( in_array( $id, $reserved_ids, true ) ) { 156 $id = get_the_ID(); 157 if ( is_int( $id ) && in_array( $id, $reserved_ids, true ) ) { 158 158 return $this->get_title( $title ); 159 159 } else { -
workshop-butler/tags/2.13.6/readme.txt
r2463103 r2475321 69 69 70 70 == Changelog == 71 = 2.13.6 = 72 * Fixes a fatal error happening on some pages when Buddyboss is installed 73 71 74 = 2.13.5 = 72 75 * Fixes translations and support for Macedonian, Hungarian and Hebrew languages -
workshop-butler/tags/2.13.6/workshop-butler.php
r2463103 r2475321 12 12 * Description: This plugin integrates Workshop Butler Events, Trainers and Testimonials to your WordPress 13 13 * website. 14 * Version: 2.13. 514 * Version: 2.13.6 15 15 * Author: Workshop Butler 16 16 * Author URI: https://workshopbutler.com/ … … 29 29 * Currently plugin version. 30 30 */ 31 define( 'WSB_INTEGRATION_VERSION', '2.13. 5' );31 define( 'WSB_INTEGRATION_VERSION', '2.13.6' ); 32 32 33 33 /** -
workshop-butler/trunk/includes/class-wsb-integration.php
r2357023 r2475321 201 201 $this->loader->add_action( 'init', $plugin_public, 'init' ); 202 202 $this->loader->add_filter( 'pre_get_document_title', $plugin_public, 'set_document_title', 99 ); 203 $this->loader->add_filter( 'the_title', $plugin_public, 'set_title', 10 , 2);203 $this->loader->add_filter( 'the_title', $plugin_public, 'set_title', 10 ); 204 204 // Yoast SEO hooks 205 205 $this->loader->add_filter( 'wpseo_frontend_presenter_classes', $plugin_public, 'wpseo_frontend_presenters', 10, 1 ); -
workshop-butler/trunk/public/class-wsb-integration-public.php
r2357023 r2475321 142 142 * 143 143 * @param string $title Current page title. 144 * @param int $id ID of the page.145 144 * 146 145 * @return string 147 146 * @since 2.0.0 148 147 */ 149 public function set_title( $title , $id) {148 public function set_title( $title ) { 150 149 $options = new WSB_Options(); 151 150 $reserved_ids = array( … … 155 154 ); 156 155 157 if ( in_array( $id, $reserved_ids, true ) ) { 156 $id = get_the_ID(); 157 if ( is_int( $id ) && in_array( $id, $reserved_ids, true ) ) { 158 158 return $this->get_title( $title ); 159 159 } else { -
workshop-butler/trunk/readme.txt
r2463103 r2475321 69 69 70 70 == Changelog == 71 = 2.13.6 = 72 * Fixes a fatal error happening on some pages when Buddyboss is installed 73 71 74 = 2.13.5 = 72 75 * Fixes translations and support for Macedonian, Hungarian and Hebrew languages -
workshop-butler/trunk/workshop-butler.php
r2463103 r2475321 12 12 * Description: This plugin integrates Workshop Butler Events, Trainers and Testimonials to your WordPress 13 13 * website. 14 * Version: 2.13. 514 * Version: 2.13.6 15 15 * Author: Workshop Butler 16 16 * Author URI: https://workshopbutler.com/ … … 29 29 * Currently plugin version. 30 30 */ 31 define( 'WSB_INTEGRATION_VERSION', '2.13. 5' );31 define( 'WSB_INTEGRATION_VERSION', '2.13.6' ); 32 32 33 33 /**
Note: See TracChangeset
for help on using the changeset viewer.