Changeset 13721
- Timestamp:
- 05/17/2024 02:35:19 AM (9 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/class-plugin-directory.php
r13711 r13721 1889 1889 public function add_info_to_zip_url( $url, $attachment_id ) { 1890 1890 $post = get_post( $attachment_id ); 1891 if ( 'attachment' === $post->post_type) {1891 if ( $post && 'attachment' === $post->post_type && $post->post_parent ) { 1892 1892 $post = get_post( $post->post_parent ); 1893 1893 }
Note: See TracChangeset
for help on using the changeset viewer.