Several interesting fixes have been applied in the latest version of my favourite ever WordPress theme – and as always the “what’s new in this version” function isn’t working from the WordPress Appearance panel.
Here’s what’s new – taken from the readme.txt file included in P2:
- Allow user scaling on mobile version, props ryansommers
- Move viewport meta element to header, to load for all user agents, props ryansommers
- Fix audio player styles, props targz-1
- Fix menu display bug when custom header image is enabled and header text is hidden + a menu is visible
- Fix PHP warnings for strict mode
- Fix a bug where Author users could not add media via front end editor, props mfkelly
- Translation updates (pulled automatically from https://translate.wordpress.com/projects/wpcom/themes/p2)
The team have been hard at work again touring us P2 1.5.4. The major change is that the JetPack Social Icons are now looking nice again out of the box, without the need for a fix I mentioned in my previous post.
Here’s what’s changed in this version:
- Reduce text strings to avoid too many similar strings for easier translation
- Add display inline-block to sharedaddy lists to avoid issue with lists in the content
- Fix tooltip issue with Recent Comments widget
Yesterday the team released the latest version of P2, addressing the following items (from the readme.txt file):
- Add earlier filter to mentions URLs in case term doesn’t exist
- Add !important to #wrapper width property to fix iPhone stylesheet issue if no sidebar option is ticked
- Stylesheet tags: update Width terms to Layout
- Add ID argument when applying the_title filters, to match core
- Remove reliance on is_super_admin() for mention functionality
- Image optimization (PNG crushing!)
- Update screenshot size to new standard, 880×660
Download P2 from the official WordPress repository.
A few days ago users reported that the latest version of Chrome browsers has a problem with P2. And thankfully, the folks at Automattic’s theme division have been busy fixing these issues in Version 1.5.2.
The theme Los and feels like it always has, sans Chrome issues.
From the included readme file:
= 1.5.2 – November 2013 =
* Fix posting bug with Chrome 31.x
* Fix broken “selected” class values for post form
* Better not found message on author results
* Swap out get_term_link for get_tag_link to avoid fatal errors when an error object is returned
* Fix keyboard keys and keyboard shortcut menu clash
* Minor JS fixes to add missing semicolons and better check for updating title with newupdates count
* Only implement “p2_hide_threads” theme option when on non-singular views
* When hide comments on homepage option is on, don’t try to link to in-page comments in Recent Comments widget
* Turkish translation added, via erayaydin
* Serbian translation added, from Andrijana Nikolic
I’ve just noticed that P2 has been upgraded to version 1.5. From the readme.txt that comes with this release, here’s what’s changed:
- Added autofocus during the dropdown code so hitting enter selects the first entry.
- Made minor adjustments to print stylesheet to fix formatting issues, and to increase the main font size slightly.
- Updated license.
- Logged in non-members need to be able to access the logged_in_out action as well.
- Now calls P2’s upgrade routine before dispatching AJAX requests.
- Made sure that AJAX call has a random query string so that it isn’t cached, when P2 upgrades itself via an AJAX call. May help an upgrade race condition.
- Split AJAX calls into two groups. Public requests are handled by a new “feed” URL: /feed/p2.ajax/. Private requests are still handled by admin-ajax.php.
- Added forward compatibility with WordPress 3.6.
- Made error message translatable.
- Avoids a warning when the comment is null.
- Added Swedish (sv_SE) language files, props tdh (Thord Daniel Hedengren)
And I’m glad to see that the Add Media button now looks nice for status updates as well as blog posts out of the box.
Today I’ve noticed that a new version of P2 has been released. Graphically it looks the same as 1.4.2 did – but plenty of changes have been made under the hood.
From the P2 Website:
1.4.3 – May 2013
- Fixed JS errors caused by the x-post autocomplete menu.
- Enqueues scripts and styles via callback.
- New screenshot at 600×450 for HiDPI support.
- Restructured JS code in p2.js.
- Uses a filter to modify the output of
- Removed unnecessary top margin for the blog title from the iPhone.
- Cleanup of some formatting (whitespace) and strings (for i18n).
- Allow comments to be temporarily highlighted.
- Improvements to the front-end post form.
- Removes infinite loop created by
- Allows the comment form to appear below a newly published post.
- Adds compat with new media.
slideUp() animation in the comment form.
- Enabled comments to be posted via iDevice.
- Sends no-cache headers and 200 response when no results are returned.
is_object_in_taxonomy to check whether to display tags or not.
- Allows tabbing from content box to tabs input on post form.
- Allows autogrow textareas on any view (not just front page).
- First pass at a custom print stylesheet.
- More robust list creator logic.
- Moved header link color into stylesheet.
- Made spinner size and color match Instapost.
- Styled tables in comments like they are styled in post content.
- Allows tags to be edited from the front-end.
- Fixed margin bug for the post post-format in Chrome nightlies.
The position of the Add Media button has not been fixed (it’s still half-hanging in the box when you create a Blog Post), but my fix still works to remedy this – as discussed over here.
I found some time today and added some articles to the site – inspired by a few comments on my other site in regards to P2. The basic structure is coming along, together with a contents page and some write-ups about lists. I’ve also added a couple of tweaks which are re-hashes of bits and pieces I’ve mentioned before.
I like the idea of collating several helpful resources in one place so we can all find them much easier. On this note I’ve discovered PulsePress which is a theme based on P2, introducing some very nice ideas. Maybe we can recreate those as a plugin (i.e. voting, starring, favoring, etc).
I’ve also been made aware of a brilliant plugin for P2 called P2 Resolved Posts which introduces a green/red stripe on the left hand side of a post which users can toggle. Those are treasures we need more of!