Title: timtom's Replies | WordPress.org

---

# timtom

  [  ](https://wordpress.org/support/users/timtom/)

 *   [Profile](https://wordpress.org/support/users/timtom/)
 *   [Topics Started](https://wordpress.org/support/users/timtom/topics/)
 *   [Replies Created](https://wordpress.org/support/users/timtom/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/timtom/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/timtom/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/timtom/engagements/)
 *   [Favorites](https://wordpress.org/support/users/timtom/favorites/)

 Search replies:

## Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Zotpress] Small fixes to APA bibliography web display](https://wordpress.org/support/topic/small-fixes-to-apa-bibliography-web-display/)
 *  Thread Starter [timtom](https://wordpress.org/support/users/timtom/)
 * (@timtom)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/small-fixes-to-apa-bibliography-web-display/#post-18098609)
 * Thank you! Apologies, I wasn’t very clear in my message. I know GH isn’t monitored
   so I tried submitting the fix to WP Trac but wasn’t able to figure out how…
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Zotpress] Small fixes to APA bibliography web display](https://wordpress.org/support/topic/small-fixes-to-apa-bibliography-web-display/)
 *  Thread Starter [timtom](https://wordpress.org/support/users/timtom/)
 * (@timtom)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/small-fixes-to-apa-bibliography-web-display/#post-18079686)
 * Unless I’m mistaken, latest Zotpress versions still do not include the APA fix
   I had submitted to GitHub. So I tried creating a patch instead but I can’t seem
   to work out how to submit it to the svn repository. The WP contribution guidelines
   talk about opening a trac ticket for this, but I don’t have enough privileges
   to open one (at least on plugins.trac…).
 * [@kseaborn](https://wordpress.org/support/users/kseaborn/) I’m really grateful
   for the work you’re putting into Zotpress and would love to do this little fix
   myself, if only I knew how… Really sorry if I’m missing something obvious.
 * Here’s my patch:
 *     ```wp-block-code
       Index: lib/shortcode/shortcode.request.php===================================================================--- lib/shortcode/shortcode.request.php (revision 3170834)+++ lib/shortcode/shortcode.request.php (working copy)@@ -561,6 +561,8 @@                                                // REVIEW: Does this account for all citation styles?                                                /* chicago-author-date */ $item->bib = str_ireplace( htmlentities($item->data->url."."), "", $item->bib ); // Note the period                                                /* APA */ $item->bib = str_ireplace( htmlentities($item->data->url), "", $item->bib );+                        // Fix APA citation by removing the last part of the "Retrieved from" text+                        $item->bib = preg_replace('/(Retrieved \w+ \d+, \d+)(, from)/','${1}.',$item->bib);                                                $item->bib = str_ireplace( " Retrieved from ", "", $item->bib );                                                $item->bib = str_ireplace( " Available from: ", "", $item->bib ); @@ -618,7 +620,8 @@                                                        "\xE2\x80\x9E" => '"',  // U+201E double low-9 quotation mark                                                        "\xE2\x80\x9F" => '"',  // U+201F double high-reversed-9 quotation mark                                                        "\xE2\x80\xB9" => "'",  // U+2039 single left-pointing angle quotation mark-                                                       "\xE2\x80\xBA" => "'"   // U+203A single right-pointing angle quotation mark+                                                       "\xE2\x80\xBA" => "'",  // U+203A single right-pointing angle quotation mark+                            "\xE2\x80\xAF" => " "   // U+206F nominal digit shapes                                                );                                                $chr = array_keys( $chr_map );                                                $rpl = array_values( $chr_map );
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Zotpress] Small fixes to APA bibliography web display](https://wordpress.org/support/topic/small-fixes-to-apa-bibliography-web-display/)
 *  Thread Starter [timtom](https://wordpress.org/support/users/timtom/)
 * (@timtom)
 * [2 years ago](https://wordpress.org/support/topic/small-fixes-to-apa-bibliography-web-display/#post-17809512)
 * Thanks [@kseaborn](https://wordpress.org/support/users/kseaborn/)! I’m not familiar
   with svn so I’m not sure how I could submit a patch, so I think the best way 
   would be for you to bring over the relevant lines from my PR (very small changes).
 * In the meantime I should learn how to contribute to an svn project…
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Wordpress Flickr Embed] Empty add photos dialog](https://wordpress.org/support/topic/empty-add-photos-dialog/)
 *  [timtom](https://wordpress.org/support/users/timtom/)
 * (@timtom)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/empty-add-photos-dialog/#post-3777989)
 * Solved (thanks to [this](http://stackoverflow.com/questions/17795817/wordpress-jquery-uncaught-typeerror-property-of-object-object-object-is-n)).
   Locate the file `wp-flickr-embed.js` in your extensions directory and do the 
   following.
 * – Comment out the first line (add // before it):
    `//var $ = jQuery;`
 * – Then replace every instance of `$(` by `jQuery(`. Use the search and replace
   function of your text editor do do this quickly.
 * Working again!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Wordpress Flickr Embed] Empty add photos dialog](https://wordpress.org/support/topic/empty-add-photos-dialog/)
 *  [timtom](https://wordpress.org/support/users/timtom/)
 * (@timtom)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/empty-add-photos-dialog/#post-3777981)
 * Hi there!
 * I’m having the exact same issue, and seeing a similar JavaScript error in Firefox
   with WebDeveloper extension console:
 * `[21:38:30.696] TypeError: $ is not a function @ http://my.site/wp-content/plugins/
   wp-flickr-embed//wp-flickr-embed.js:548`
 * Have you been able to look into it? Thanks in advance!

Viewing 5 replies - 1 through 5 (of 5 total)