Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #23776, comment 12


Ignore:
Timestamp:
06/13/2014 02:20:14 PM (10 years ago)
Author:
UmeshSingla
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #23776, comment 12

    v1 v2  
    33
    44For `autoembed_callback` it is dead code, $this->linkifunknown is set to false before calling shortocode function. As a result if there is a link in content it is never being converted to a link unless it is a youtube, vimeo or other known service link, it is left as it is, which is wrong, as per **Once found, it tries to embed it and if it is unable to, then it hyperlinks the URL**
     5
     6After the above patch, things works as they are intended to, i.e. If its a Youtube or some other service link, it is embedded otherwise it is made a hyperlink which is what required here.