Skip to content
This repository has been archived by the owner on Sep 24, 2018. It is now read-only.

Commit

Permalink
Null default value for 'json_api_plugin_version' option should be in …
Browse files Browse the repository at this point in the history
…lower case.
  • Loading branch information
rachelbaker committed Apr 26, 2014
1 parent 8e5a060 commit 71107a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin.php
Expand Up @@ -52,7 +52,7 @@ function json_api_register_rewrites() {
* Determine if the rewrite rules should be flushed.
*/
function json_api_maybe_flush_rewrites() {
$version = get_option( 'json_api_plugin_version', NULL );
$version = get_option( 'json_api_plugin_version', null );

if ( empty( $version ) || $version !== JSON_API_VERSION ) {
flush_rewrite_rules();
Expand Down

0 comments on commit 71107a4

Please sign in to comment.