Issue #2002902 by laszlocore, marlatt: Rename Views method get_description() to getDescription().
parent
dd87cbcf20
commit
ee5a04c93b
|
@ -98,7 +98,7 @@ class Rss extends StylePluginBase {
|
|||
* @return string
|
||||
* The string containing the description with the tokens replaced.
|
||||
*/
|
||||
function get_description() {
|
||||
public function getDescription() {
|
||||
$description = $this->options['description'];
|
||||
|
||||
// Allow substitutions from the first row.
|
||||
|
|
|
@ -972,7 +972,7 @@ function template_preprocess_views_view_rss(&$vars) {
|
|||
// The RSS 2.0 "spec" doesn't indicate HTML can be used in the description.
|
||||
// We strip all HTML tags, but need to prevent double encoding from properly
|
||||
// escaped source data (such as & becoming &).
|
||||
$vars['description'] = check_plain(decode_entities(strip_tags($style->get_description())));
|
||||
$vars['description'] = check_plain(decode_entities(strip_tags($style->getDescription())));
|
||||
|
||||
if ($view->display_handler->getOption('sitename_title')) {
|
||||
$title = $config->get('name');
|
||||
|
|
Loading…
Reference in New Issue