Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
pereirinha committed Sep 20, 2024
1 parent 2575049 commit cb77118
Show file tree
Hide file tree
Showing 14 changed files with 18 additions and 15 deletions.
2 changes: 1 addition & 1 deletion docs/cloudinary_asset_payload.html
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ <h5>Parameters:</h5>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="php_class-media.php.html">php/class-media.php</a>, <a href="php_class-media.php.html#line2264">line 2264</a>
<a href="php_class-media.php.html">php/class-media.php</a>, <a href="php_class-media.php.html#line2265">line 2265</a>
</li></ul></dd>


Expand Down
2 changes: 1 addition & 1 deletion docs/cloudinary_context_options.html
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ <h5>Parameters:</h5>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="php_class-media.php.html">php/class-media.php</a>, <a href="php_class-media.php.html#line2820">line 2820</a>
<a href="php_class-media.php.html">php/class-media.php</a>, <a href="php_class-media.php.html#line2821">line 2821</a>
</li></ul></dd>


Expand Down
2 changes: 1 addition & 1 deletion docs/cloudinary_download_asset.html
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ <h5>Parameters:</h5>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="php_class-media.php.html">php/class-media.php</a>, <a href="php_class-media.php.html#line2382">line 2382</a>
<a href="php_class-media.php.html">php/class-media.php</a>, <a href="php_class-media.php.html#line2383">line 2383</a>
</li></ul></dd>


Expand Down
2 changes: 1 addition & 1 deletion docs/cloudinary_filter_out_local.html
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ <h5>Parameters:</h5>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="php_class-media.php.html">php/class-media.php</a>, <a href="php_class-media.php.html#line3028">line 3028</a>
<a href="php_class-media.php.html">php/class-media.php</a>, <a href="php_class-media.php.html#line3029">line 3029</a>
</li></ul></dd>


Expand Down
2 changes: 1 addition & 1 deletion docs/cloudinary_id.html
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ <h5>Parameters:</h5>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="php_class-media.php.html">php/class-media.php</a>, <a href="php_class-media.php.html#line1781">line 1781</a>
<a href="php_class-media.php.html">php/class-media.php</a>, <a href="php_class-media.php.html#line1782">line 1782</a>
</li></ul></dd>


Expand Down
2 changes: 1 addition & 1 deletion docs/cloudinary_is_folder_synced.html
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ <h5>Parameters:</h5>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="php_class-media.php.html">php/class-media.php</a>, <a href="php_class-media.php.html#line2855">line 2855</a>
<a href="php_class-media.php.html">php/class-media.php</a>, <a href="php_class-media.php.html#line2856">line 2856</a>
</li></ul></dd>


Expand Down
2 changes: 1 addition & 1 deletion docs/cloudinary_max_files_import.html
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ <h5>Parameters:</h5>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="php_class-media.php.html">php/class-media.php</a>, <a href="php_class-media.php.html#line2059">line 2059</a>
<a href="php_class-media.php.html">php/class-media.php</a>, <a href="php_class-media.php.html#line2060">line 2060</a>
</li></ul></dd>


Expand Down
2 changes: 1 addition & 1 deletion docs/cloudinary_migrate_legacy_meta.html
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ <h5>Parameters:</h5>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="php_class-media.php.html">php/class-media.php</a>, <a href="php_class-media.php.html#line2594">line 2594</a>
<a href="php_class-media.php.html">php/class-media.php</a>, <a href="php_class-media.php.html#line2595">line 2595</a>
</li></ul></dd>


Expand Down
2 changes: 1 addition & 1 deletion docs/cloudinary_prepare_size.html
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ <h5>Parameters:</h5>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="php_class-media.php.html">php/class-media.php</a>, <a href="php_class-media.php.html#line1608">line 1608</a>
<a href="php_class-media.php.html">php/class-media.php</a>, <a href="php_class-media.php.html#line1609">line 1609</a>
</li></ul></dd>


Expand Down
2 changes: 1 addition & 1 deletion docs/cloudinary_upload_options.html
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ <h5>Parameters:</h5>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="php_class-media.php.html">php/class-media.php</a>, <a href="php_class-media.php.html#line2895">line 2895</a>
<a href="php_class-media.php.html">php/class-media.php</a>, <a href="php_class-media.php.html#line2896">line 2896</a>
</li></ul></dd>


Expand Down
2 changes: 1 addition & 1 deletion docs/cloudinary_validate_cloudinary_id.html
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ <h5>Parameters:</h5>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="php_class-media.php.html">php/class-media.php</a>, <a href="php_class-media.php.html#line1769">line 1769</a>
<a href="php_class-media.php.html">php/class-media.php</a>, <a href="php_class-media.php.html#line1770">line 1770</a>
</li></ul></dd>


Expand Down
2 changes: 1 addition & 1 deletion docs/cloudinary_version_upgrade.html
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ <h5>Parameters:</h5>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="php_class-connect.php.html">php/class-connect.php</a>, <a href="php_class-connect.php.html#line777">line 777</a>
<a href="php_class-connect.php.html">php/class-connect.php</a>, <a href="php_class-connect.php.html#line779">line 779</a>
</li></ul></dd>


Expand Down
6 changes: 4 additions & 2 deletions docs/php_class-connect.php.html
Original file line number Diff line number Diff line change
Expand Up @@ -213,8 +213,10 @@ <h1 class="page-title">Source: php/class-connect.php</h1>
$advanced = true === $request->get_param( 'advanced' ) ? 'on' : 'off';

// Cloudinary URL.
$connect = $this->settings->get_setting( 'cloudinary_url' );
$connect->set_pending( $url );
if ( ! empty( $url ) &amp;&amp; true !== $url ) {
$connect = $this->settings->get_setting( 'cloudinary_url' );
$connect->set_pending( $url );
}

// Autosync setup.
$autosync = $this->settings->get_setting( 'auto_sync' );
Expand Down
3 changes: 2 additions & 1 deletion docs/php_class-media.php.html
Original file line number Diff line number Diff line change
Expand Up @@ -1622,7 +1622,8 @@ <h1 class="page-title">Source: php/class-media.php</h1>
}
} elseif ( is_string( $size ) || ( is_array( $size ) &amp;&amp; 3 === count( $size ) ) ) {
$intermediate = image_get_intermediate_size( $attachment_id, $size );
if ( is_array( $intermediate ) ) {
// PDF's do not have intermediate URL.
if ( is_array( $intermediate ) &amp;&amp; ! empty( $intermediate['url'] ) ) {
$size = $this->get_crop( $intermediate['url'], $attachment_id );
}
} elseif ( array_keys( $size ) === array( 0, 1 ) ) {
Expand Down

0 comments on commit cb77118

Please sign in to comment.