Plugin Directory

Changeset 2264857


Ignore:
Timestamp:
03/21/2020 05:23:21 AM (6 years ago)
Author:
dscassel
Message:

Update to remove deprecated split function.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki-page-links/trunk/wikipagelinks.php

    r401555 r2264857  
    7171     */
    7272    function wiki_get_piped_title($link) {
    73         list($link, $title) = split('\|', $link, 2);
     73        list($link, $title) = explode('\|', $link, 2);
    7474        if (!$title) $title = $link;
    7575        return array($link, $title);
     
    9898            // If the "page title" contains a ':', it *may* be a shortcut
    9999            // link rather than a page.  Deal with those first.
    100             list($prefix, $sublink) = split(':', $full_link, 2);
     100            list($prefix, $sublink) = explode(':', $full_link, 2);
    101101
    102102            if ( $sublink ) {
Note: See TracChangeset for help on using the changeset viewer.