Plugin Directory

Changeset 1181507


Ignore:
Timestamp:
06/15/2015 11:55:33 PM (11 years ago)
Author:
guavaworks
Message:

v2.1 - firebase chat plugin fix

Location:
angularjs-for-wp/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • angularjs-for-wp/trunk/includes/contentFilter.php

    r1149615 r1181507  
    77    $meta = intval($meta);
    88    $content = str_replace('"', '\'', $content );
     9   
     10    $find_chat = strpos( $content, 'ng-chatroom' );
     11    if( $find_chat !== false ) {
     12        return $content;
     13    }
    914           
    1015    if($meta){
     
    1924
    2025
    21 // function angularFilterTitle( $title, $id ) {
    22 //  $meta = get_post_meta($id, 'angularjsLoad', true);
    23 //  $meta = intval($meta);
    24 
    25 //  if($meta) {
    26 //      $title = '';
    27 //  }
    28 
    29 //  return $title;
    30 // }
    31 
    32 // add_filter('the_title', 'angularFilterTitle', 10, 3);
    3326?>
  • angularjs-for-wp/trunk/includes/shortcodes.php

    r1045923 r1181507  
    11<?php
    22function ngPosts( $atts ) {
     3
    34    $a = shortcode_atts( array(
    45        // EMPTY DEFAULTS
  • angularjs-for-wp/trunk/readme.txt

    r1181193 r1181507  
    55Requires at least: 3.9
    66Tested up to: 4.2.2
    7 Stable tag: 2.0.1
     7Stable tag: 2.1
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    7676= 2.0.1 =
    7777* Now works with JSON REST API v2 beta with v1 fallback
     78
     79= 2.1 =
     80* Adding in fix for AngularJS FireBase Chat Room plugin shortcode
Note: See TracChangeset for help on using the changeset viewer.