Plugin Directory

Changeset 3333106


Ignore:
Timestamp:
07/23/2025 05:56:10 PM (8 months ago)
Author:
wptaskforce
Message:

Php 8.1 compatibility

Location:
wp-obituary
Files:
59 added
3 edited

Legend:

Unmodified
Added
Removed
  • wp-obituary/trunk/includes/functions.php

    r3266692 r3333106  
    601601
    602602function translate_text_to_germen($ttxt, $txt, $d) {
    603     global $wp_query;
    604     //var_dump($wp_query->query_vars['post_type']);
    605 if($wp_query->query_vars['post_type']=='wp_obituary'){
     603    $post_type = get_post_type();
     604    if($post_type=='wp_obituary'){
     605       
    606606   switch ($txt) {
    607607      case 'Post comment':
  • wp-obituary/trunk/readme.txt

    r3266692 r3333106  
    1010Tested up to: 6.7.2
    1111Requires PHP: 8.1
    12 Stable tag: 2.0.5
     12Stable tag: 2.0.6
    1313License: GPLv3
    1414License URI: https://www.gnu.org/licenses/gpl-3.0.html
     
    8282
    8383== Changelog ==
     84= 2.0.6 =
     85
     86- Fix postype query_vars issue
     87
     88
    8489= 2.0.5 =
    8590
  • wp-obituary/trunk/wp-obituary.php

    r3266692 r3333106  
    99 * Description: WP Obituary Manager plugin will helps you manage your obituary sites easy.
    1010
    11  * Version: 2.0.5
     11 * Version: 2.0.6
    1212
    1313 * Author: WPTaskForce.com
Note: See TracChangeset for help on using the changeset viewer.