Make WordPress Core

Ticket #43046: 43046.diff

File 43046.diff, 664 bytes (added by subrataemfluence, 7 years ago)
  • /home/subrara/Desktop/

    old new  
    11==Description==
    22Checks if an image size name has been registered using [[Function_Reference/add_image_size|add_image_size()]]. This is a boolean function, meaning it returns either TRUE or FALSE.
     3
     4Since it only checks for image sizes that are registered via add_image_size() function, core image sizes namely small, medium, medium_large and large will not be considered. Hence, checking for a core image size using has_image_size() will always return FALSE.