Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #33277, comment 6


Ignore:
Timestamp:
08/06/2015 05:57:56 PM (9 years ago)
Author:
MikeHansenMe
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #33277, comment 6

    initial v1  
    1 Just dug into this a bit and it looks like it has never supported a post object. The code was introduced in https://github.com/WordPress/WordPress/commit/0456afb16d10ad4ccc0d1a5a9b979f35ce7135e0 it looks like the previous function(get_the_attachment_link) that was deprecated also forced int. So is this just a problem with the function doc implying it can be a post object?
     1Just dug into this a bit and it looks like it has never supported a post object. The code was introduced in https://github.com/WordPress/WordPress/commit/0456afb16d10ad4ccc0d1a5a9b979f35ce7135e0 it looks like the previous function(get_the_attachment_link) that was deprecated also forced int. So is this just a problem with the function doc stating it can be a post object?