commit
8e8ba23786
|
@ -6,12 +6,10 @@
|
||||||
* Add dependencies that were missing while using yarn
|
* Add dependencies that were missing while using yarn
|
||||||
|
|
||||||
## 2.0.1
|
## 2.0.1
|
||||||
|
|
||||||
* Comment out example "add_image_size" as it can be easily forgotten which leaves you with extra unused image size.
|
* Comment out example "add_image_size" as it can be easily forgotten which leaves you with extra unused image size.
|
||||||
* Add CHANGELOG.MD to track changes
|
* Add CHANGELOG.MD to track changes
|
||||||
* Tidy up formatting using PHP-CS-Fixer (mostly spacing)
|
* Tidy up formatting using PHP-CS-Fixer (mostly spacing)
|
||||||
* Update README.MD dependencies
|
* Update README.MD dependencies
|
||||||
|
|
||||||
## 2.0.0
|
## 2.0.0
|
||||||
|
|
||||||
* Refreshed tooling using Elixir with lots of improvements
|
* Refreshed tooling using Elixir with lots of improvements
|
||||||
|
|
|
@ -181,7 +181,7 @@ add_filter('tiny_mce_before_init', 'barebones_tiny_mce_before_init');
|
||||||
* @param int $post_id post id
|
* @param int $post_id post id
|
||||||
* @param boolean $icon if no image found, display icon
|
* @param boolean $icon if no image found, display icon
|
||||||
*/
|
*/
|
||||||
function get_post_thumbnail_url( $size = 'full', $post_id, $icon = false )
|
function get_post_thumbnail_url( $size = 'full', $post_id = false, $icon = false )
|
||||||
{
|
{
|
||||||
if(!$post_id) {
|
if(!$post_id) {
|
||||||
$post_id = get_the_ID();
|
$post_id = get_the_ID();
|
||||||
|
|
Loading…
Reference in New Issue