Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Make the function name a verb

The functions *does* add the default settings,
doesn't return them
  • Loading branch information...
commit c65e58f3df32152612ed9fc9700bafcfe616282e 1 parent 8f9dae9
@nb nb authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 liveblog.php
View
4 liveblog.php
@@ -425,7 +425,7 @@ public static function enqueue_scripts() {
wp_enqueue_script( 'liveblog-publisher', plugins_url( 'js/liveblog-publisher.js', __FILE__ ), array( self::key ), self::version, true );
wp_enqueue_script( 'wp-plupload' );
wp_enqueue_script( 'liveblog-plupload', plugins_url( 'js/plupload.js', __FILE__ ), array( 'wp-plupload', 'jquery' ) );
- self::default_plupload_settings();
+ self::add_default_plupload_settings();
}
if ( wp_script_is( 'jquery.spin', 'registered' ) ) {
@@ -465,7 +465,7 @@ public static function enqueue_scripts() {
*
* @global type $wp_scripts
*/
- private static function default_plupload_settings() {
+ private static function add_default_plupload_settings() {
global $wp_scripts;
$defaults = array(
Please sign in to comment.
Something went wrong with that request. Please try again.