• When loading /wp-admin/options-general.php?page=contributor-resume:

    [28-Sep-2026 11:25:19 UTC] PHP Deprecated:  strip_tags(): Passing null to parameter #1 ($string) of type string is deprecated in /Users/marcoalmeida/Documents/Websites/_local/wordpress-testing/app/public/wp-admin/admin-header.php on line 41

    When clicking the button to create the resume page:

    [28-Sep-2026 11:22:20 UTC] PHP Warning:  Array to string conversion in /Users/marcoalmeida/Documents/Websites/_local/wordpress-testing/app/public/wp-content/plugins/contributor-resume/includes/class-cresume-settings.php on line 400
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Fernando Tellado

    (@fernandot)

    Olá Marco

    Both notices were real and are fixed in 1.4.2, already waiting in the updates fridge.

    1. strip_tags() deprecation: the settings and Stats screens were removed from the Settings submenu on admin_menu, before core reads the page title from it, so the title was null (and the heading was empty too). They are now hidden on admin_head, once the title is resolved.
    2. Array to string conversion: it comes from the Check step, which saves the username with update_option(). That runs the stored settings back through the sanitize callback, where the section order is an array rather than the comma-separated string the form sends. Besides the warning, it reset a custom section order. The sanitizer now accepts both.

    Thanks for the report and tests!

    Fernando

    Thread Starter Marco Almeida | Webdados

    (@webdados)

    💪

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.