Opened 3 years ago
Closed 3 years ago
#11679 closed enhancement (fixed)
Mark 2nd param of load_plugin_textdomain() as deprecated
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 3.0 |
| Component: | General | Version: | 3.0 |
| Severity: | normal | Keywords: | has-patch commit |
| Cc: |
Description
Mark 2nd param of load_plugin_textdomain() as deprecated.
Attachments (1)
Change History (5)
I would prefer to put the check inside where the argument is used.
That way we only warn people who just use this argument rather than those who supply both so as to enable the plugin to function with old WordPress version.
Note: See
TracTickets for help on using
tickets.

We normally check for empty() but since the function is very particular about checking for $abs_rel_path !== false, I patched it on !== false.
Commit candidate.