Plugin Directory

Changeset 3309122


Ignore:
Timestamp:
06/10/2025 10:39:36 AM (10 months ago)
Author:
santoshtmp7
Message:

update plugin check

Location:
post-title-required/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • post-title-required/trunk/include/class-ptreq-check-settings.php

    r3308303 r3309122  
    9898                        wp_die(
    9999                            sprintf(
    100                                 'The title is too long! It must be at maximum %d characters long. Please correct it.',
     100                                esc_html('The title is too long! It must be at maximum %d characters long. Please correct it.'),
    101101                                esc_attr($character_limit)
    102102                            ),
    103                             'Title Too long'
     103                            esc_html('Title Too Long')
    104104                        );
    105105                    }
    106106                    if (!$title_length) {
    107                         wp_die(__('Title is required.'));
     107                        wp_die(esc_html('Title is required.'));
    108108                    }
    109109                }
    110110                return $data;
    111111            } catch (\Throwable $th) {
    112                 error_log($th->getMessage());
     112                // error_log($th->getMessage());
     113                wp_die(esc_html('something went wrong in post title required.'));
    113114            }
    114115        }
  • post-title-required/trunk/readme.txt

    r3308303 r3309122  
    22
    33Contributors: santoshtmp7, younginnovations
    4 Tested up to:      6.8.1
     4Tested up to:      6.8
    55Stable tag:        1.0.1
    66License:           GPLv2 or later
Note: See TracChangeset for help on using the changeset viewer.