Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Remove pass-by-reference in admin-notices-ms.php

Open
#8 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
55/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
php
Domain
backend

Research direction

Start by inspecting admin-notices-ms.php around lines 85 and 86, then search that file for other pass-by-reference usage. Remove the deprecated usage and verify that the admin notices still work under PHP 7 compatibility requirements.

Written by the indexing model from the issue text.

Description

As discussed in https://wordpress.org/support/topic/php-7-compatibility-229/, pass-by-reference is deprecated.

Affects lines 85, 86 and possibly elsewhere:
https://github.com/littlebizzy/force-https/blob/1.2.0/admin-notices-ms.php#L85

Dominant language
PHP
Stars
26
Forks
8
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from littlebizzy/force-https

All issues in littlebizzy/force-https

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.