A Blog’s changelog
With the help of @toscho, i made this plugin http://wordpress.org/extend/plugins/wp-changes-tracker/
With the help of @toscho, i made this plugin http://wordpress.org/extend/plugins/wp-changes-tracker/
Sounds like browser prefetching, see WordPress core tickets #12603, #14382, and #20192. Basically, sometimes some browsers see what the next post is, and decide to go ahead and load it while you are reading this one. So when you go to the next post it loads immediately, instead of you having to wait. The downside, … Read more
I am not familiar with bbpress, but I think that first you need to get the forums in your site and then you need to loop through its topics to obtain the topic that matches your criteria of popular topics. You can search in the docs or source code to find the functions and methods … Read more
I assume this is a page or page template of some sort? I had a similar need so submitted a patch to the Infinite scroll plugin for the inclusion of a new filter infinite_scroll_load_javascript. By default the plugin doesn’t load on any singular posts/pages, but with this filter you can toggle it to load wherever … Read more
Here is a patch for 3.5 to use this with plugins. Use wp-content/languages/plugins/textdomain-pt_BR.po Apply this via SSH with: patch -p1 < no_plugin_overwrite.patch Hopefully its gonna be released in 3.6. Ticket #18200 (new task (blessed)) Implement language packs for core, plugins, and themes.
Some of your user pictures are 30K characters long when encoded. Have you heard of URL length limit? See What is the maximum length of a URL?. Also I believe there are some limits were put by browser manufacturers in spite of HTML 4-5 specifications does not put any limits on attribute value length (AFAIK).
When calling add_filter( ‘image_size_names_choose’, ‘custom_image_sizes_choose’ ); use your investigative skills to see how it would be best to call an if(thisweretrue) add_filter( ‘image_size_names_choose’, ‘custom_image_sizes_choose’ ); since I don’t know exactly what your specific situation is. I actually was able to use your solution for setting up the custom sizes to help out with what I … Read more
Based on @Mamaduka comment; the following changes resolve it: Use plugin_dir_path() to get the filesystem directory path: $certfile = plugin_dir_path(__FILE__) . ‘/clientcert.pem’; $keyfile = plugin_dir_path(__FILE__) . ‘/clientkey.key’; Then remove getcwd(). If you want to use it in your theme use TEMPLATEPATH I also want to mention that using the following paths previously did not work: … Read more
I found a few references to edit_user as a capability, one of which is this: // Allow user to edit itself if ( ‘edit_user’ == $cap && isset( $args[0] ) && $user_id == $args[0] ) break; http://core.trac.wordpress.org/browser/tags/3.5.2/wp-includes/capabilities.php#L1005 I believe the comment in that block of code answers this question. Per @PatJ, it looks like map_meta_cap … Read more
Since you want to check for a certain page, you could use one of the following functions, for instance: get_post: Takes a post ID and returns the database record for that post, which can also be a page. get_page_by_title: Retrieves a post given its title. If more that one post uses the same title, the … Read more