Changeset 3444128
- Timestamp:
- 01/21/2026 01:42:29 PM (4 weeks ago)
- Location:
- local-magic/trunk
- Files:
-
- 4 edited
-
include/custom-fields.php (modified) (3 diffs)
-
include/function.php (modified) (3 diffs)
-
local-magic.php (modified) (2 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
local-magic/trunk/include/custom-fields.php
r3300077 r3444128 7 7 8 8 global $wpdb; 9 $lm_custom_fields_sql = "SELECT * FROM {$wpdb->prefix}mrylm_custom_fields where lm_city_id = ' .$lm_city_id.'";9 $lm_custom_fields_sql = "SELECT * FROM {$wpdb->prefix}mrylm_custom_fields where lm_city_id = '$lm_city_id'"; 10 10 $lm_custom_fields = $wpdb->get_row($lm_custom_fields_sql); 11 11 12 // $lm_custom_fields_sql = "SELECT * FROM {$wpdb->prefix}mrylm_cities where lm_city_id = ' .$lm_city_id.'";12 // $lm_custom_fields_sql = "SELECT * FROM {$wpdb->prefix}mrylm_cities where lm_city_id = '$lm_city_id'"; 13 13 // $lm_custom_fields = $wpdb->get_row($lm_custom_fields_sql); 14 14 15 15 16 16 // educational_institution................................................... 17 if( $lm_custom_fields->lm_educational_institution){17 if(isset($lm_custom_fields->lm_educational_institution)){ 18 18 19 19 $educational_arr = explode('|', $lm_custom_fields->lm_educational_institution); … … 23 23 $content = str_replace('EDUCATION_1', '', $content); 24 24 } 25 26 27 25 28 26 … … 57 55 // lm_chamber_ofcom => CHAMBER_OFCOM_1 58 56 // lm_football_team => FOOTBALL_TEAM_1 59 57 // lm_popular_wedding => POPULAR_WEDDING_1 58 // lm_largest_courthouse => LARGEST_COURTHOUSE_1 60 59 61 60 return $content; -
local-magic/trunk/include/function.php
r3300077 r3444128 114 114 } 115 115 } 116 116 117 117 118 function mrylm_title_tag_alternative() { … … 769 770 function mrylm_get_news_list_schema_data($lm_setting, $lm_news, $lm_city){ 770 771 771 $separator = $ obj->lm_city_keyword_separator ? $obj->lm_city_keyword_separator : $lm_setting->lm_keyword_separator;772 $separator = $lm_city->lm_city_keyword_separator ? $lm_city->lm_city_keyword_separator : $lm_setting->lm_keyword_separator; 772 773 $data = ''; 773 774 … … 784 785 $detail = trim(preg_replace("/<iframe[^>]*>(.+?)<\/iframe>/", "", $detail)); 785 786 $detail = trim(preg_replace("/<img[^>]*>(.+?)<\/img>/", "", $detail)); 786 $detail = preg_replace('/(<a\b[^><]*)>/i', '$1 rel="nofollow;" target="_blank">',$detail); 787 788 // this is for rel="nofollow;" target="_blank" in anchor tag 789 //$detail = preg_replace('/(<a\b[^><]*)>/i', '$1 rel="nofollow;" target="_blank">',$detail); 790 // This is for removal anchor tag with remain text 791 $detail = preg_replace('#<a.*?>([^>]*)</a>#i', '$1', $detail); 787 792 788 793 $author = $obj->lm_author ? $obj->lm_author : $obj->lm_source; -
local-magic/trunk/local-magic.php
r3300077 r3444128 13 13 * Plugin URI: https://www.mrmarketingres.com/local-magic 14 14 * Description: The Local Magic© WordPress plugin extends the functionality of the SaaS Local Magic© to WordPress so that the local news feed can be displayed on the WordPress website. The plugin is for customers of Local Magic© that have an active subscription with the company. 15 * Version: 2. 8.015 * Version: 2.9.0 16 16 * Requires at least: 3.5.1 17 17 * Tested up to: 6.8.1 … … 28 28 } 29 29 30 define('MRYLM_VERSION', '2. 8.0');30 define('MRYLM_VERSION', '2.9.0'); 31 31 32 32 define('MRYLM_PLUGIN_DIR', plugin_dir_path(__FILE__)); -
local-magic/trunk/readme.txt
r3300078 r3444128 5 5 Tested up to: 6.8.1 6 6 Requires PHP: 5.6.0 7 Stable tag: 2. 8.07 Stable tag: 2.9.0 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html
Note: See TracChangeset
for help on using the changeset viewer.