Advertisement
Guest User

Untitled

a guest
Dec 10th, 2012
38
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ./blueprint.php, around line 82, change from this:
  2.  
  3.         self::$boot_from = $boot_from;
  4.  
  5.         /** Set the plugin error flag. */
  6.         $placester_blueprint->has_plugin_error = $this->_has_plugin_error();
  7.  
  8.         /** Define the famework constants. */
  9.         add_action( 'after_setup_theme', array( &$this, 'constants' ), 1 );
  10.  
  11. to this:
  12.  
  13.         self::$boot_from = $boot_from;
  14.  
  15.         /** Set the plugin error flag. */
  16.         $placester_blueprint = new stdClass();
  17.         $placester_blueprint->has_plugin_error = $this->_has_plugin_error();
  18.  
  19.         /** Define the famework constants. */
  20.         add_action( 'after_setup_theme', array( &$this, 'constants' ), 1 );
  21.  
  22. ./custom/property-details.php:
  23.  
  24. There are 3 instances looking like that:
  25.  
  26. PLS_Format::translate_amenities(&$amenities
  27.  
  28. Remove the ampersand sign from all of them
  29.  
  30. ./blueprint/functions/formatting.php, around line 267:
  31.  
  32. Update this:
  33.  
  34.     function amenities_but($listing_data, $amenities_to_remove) {
  35.  
  36. to this:
  37.  
  38.     function amenities_but(&$listing_data, $amenities_to_remove) {
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement