Merge pull request #3 from benchmarkstudios/master

import changes
This commit is contained in:
Lukas Juhas 2017-02-03 11:57:12 +00:00 committed by GitHub
commit 8e8ba23786
2 changed files with 1 additions and 3 deletions

View File

@ -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

View File

@ -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();