Archive for the ‘Uncategorized’ Category
The latest point release of WordPress was just launched to the masses a few hours ago.
We’re most excited about all the nifty new theme customization tools.
User brinleyang on Zend forums has posted a temporary fix for the bug Zend introduced in their server on Ubuntu 12.04.
What he did is he created a quick hack and removed the dependency on libkrb in libpq and php-5.3-imap-zend-server deb packages and manually installed the packages after which installing zend server ce should work.
However, this will most likely break postgres and imap zend modules so it may not be the solution for people who require those modules.
You can follow the post here:
WordPress developer team have released Beta 1 of the next version of WordPress.
This is not a production release, only install it on test servers to check on your themes and plugins!
If all goes well, WordPress 3.4 will be released in May. If you want to be a beta tester, you should check out the Codex article on how to report bugs.
Here’s some of what’s new:
- Theme Customizer with Previewer
- Flexible Custom Header Sizes
- Selecting Custom Header and Background Images from Media Library
- Better experience searching for and choosing a theme
And some of the under-the-hood changes:
- New XML-RPC API for external and mobile applications
- New API for registering theme support for custom headers and backgrounds
- Performance improvements to WP_Query by splitting the query (Please test!)
- Internationalization improvements (improved performance and locale support)
- Performance and API improvements when working with lists of installed themes
- Support for installing child themes from the WordPress Themes Directory
Remember, if you find something you think is a bug, report it! You can bring it up in the alpha/beta forum, you can email it to the wp-testers list, or if you’ve confirmed that other people are experiencing the same bug, you can report it on the WordPress Core Trac. (We recommend starting in the forum or on the mailing list.)
As of today PHP team has released PHP 5.4.
Since this is a major version here is the list of things you should look at:
- The break and continue keywords don’t accept variable argument anymore. Consider using a static constant argument.
- Safe mode is no longer supported. Any application that rely on safe mode may need adjustements in term of security.
- Salsa10 and Salsa20 hash algorithms have been removed.
- In Date extension, setting the timezone with the TZ environment variable is no longer supported. The extension will no longer guess the default timezone if none is set, instead it will always fall back to “UTC”.
- get_magic_quotes_gpc() and get_magic_quotes_runtime() now always return false. set_magic_quotes_runtime() raises an E_CORE_ERROR
- Non-numeric string offsets – e.g. $a['foo'] where $a is a string – now return false on isset() and true on empty(), and produce warning if trying to use them. Offsets of types double, bool and null produce notice. Numeric strings ($a['2']) still work as before. Note that offsets like ’12.3′ and ’5 and a half’ are considered non-numeric and produce warning, but are converted to 12 and 5 respectively for BC reasons.
- Turning null, false or empty string into an object by adding a property will now emit a warning instead of an E_STRICT error.
- Converting array to string now will cause E_NOTICE warning.
- Shadowing names of superglobals for parameter names now causes a fatal error.
- array_combine() now returns array() instead of FALSE when two empty arrays are provided as parameters.
- call_user_func_array() no longer allows call-time pass by reference.
- htmlentities() now emits an E_STRICT warning when used with asian characters, as in that case htmlentities() has (and already had before this version) the same functionality as htmlspecialchars().
The following keyword(s) are now reserved and may not be used in function, class, etc. names.
The following functions have been removed from PHP :
- session_is_registered(), session_register() and session_unregister()
- mysqli_bind_param(), mysqli_bind_result(), mysqli_client_encoding(), mysqli_fetch(), mysqli_param_count(), mysqli_get_metadata(), mysqli_send_long_data(), mysqli::client_encoding() and mysqli_stmt::stmt()
Have fun coding!
In addition to this post:Problem with UTF, Excepts — AND GOOD CODING PRACTICES!
I have created a fix to Ultimate Facebook:
This fix address next things:
* Facebook OpenGraph fails if the text in description is incorrect – especially in Hebrew
* Current version of the plugin sends in wall post description blog tag line. In my fix I am sending Excerpts.
The plugin can be downloaded at wordpres.org.
Well not know if anybody noticed but I have decided to move this blog to it’s own domain name.
Going to play with WordPress MultiSite
One of my projects had an old .svn files from the ckeditor checkout.
The problem was that there are too many directories to remove it manually so after some searches and tries here is the command to clean this .svn files.
find ./ -name ".svn" | xargs rm -Rf
I was googling lots to understand how to add custom folder locations to the “Places” menu in my Ubuntu.
What I have found finally is that you simple need to open the location in the file manager (The file manager is named Nautilus) and drag the folder to the left side menu!
Simple as that.