Changeset 1320971
- Timestamp:
- 01/04/2016 02:40:51 PM (10 years ago)
- Location:
- deweys-open-graph-helper
- Files:
-
- 11 added
- 3 edited
-
tags/2.0.1 (added)
-
tags/2.0.1/LICENSE.txt (added)
-
tags/2.0.1/README.txt (added)
-
tags/2.0.1/class-wad_open_graph.php (added)
-
tags/2.0.1/css (added)
-
tags/2.0.1/css/admin.css (added)
-
tags/2.0.1/index.php (added)
-
tags/2.0.1/templates (added)
-
tags/2.0.1/templates/ogform.php (added)
-
tags/2.0.1/uninstall.php (added)
-
tags/2.0.1/wad_open_graph.php (added)
-
trunk/README.txt (modified) (2 diffs)
-
trunk/class-wad_open_graph.php (modified) (3 diffs)
-
trunk/wad_open_graph.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
deweys-open-graph-helper/trunk/README.txt
r1257849 r1320971 4 4 Requires at least: 3.5.1 5 5 Tested up to: 4.0 6 Stable tag: 2.0. 06 Stable tag: 2.0.1 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 39 39 == Changelog == 40 40 41 = 2.0.1 = 42 * Small changes to fix some issues with some of the og tag meta not being rendered properly 43 41 44 = 2.0.0 = 42 45 * Added a meta box to make it easier to use custom og tag meta -
deweys-open-graph-helper/trunk/class-wad_open_graph.php
r1257849 r1320971 25 25 * @var string 26 26 */ 27 protected $version = '2.0. 0';27 protected $version = '2.0.1'; 28 28 29 29 /** … … 140 140 $excerpt = substr($excerpt, 0, 155); 141 141 $excerpt = $excerpt.'...'; 142 $excerpt = addslashes($excerpt);143 142 } 144 143 … … 178 177 $tags['url'] = get_bloginfo( 'url' ); 179 178 $tags['description'] = get_bloginfo( 'description' ); 179 180 $tags = apply_filters( "og_tags" , $tags ); 181 $tags = apply_filters( "front_page_og_tags" , $tags ); 180 182 } 181 183 182 184 //Loop through the tags and generate the open graph tags 183 185 foreach ( $tags as $key => $value ) { 184 echo("<meta property= 'og:" . $key . "' content='" . $value . "'/>\n");186 echo("<meta property=\"og:" . $key . "\" content=\"" . htmlentities($value) . "\" />\n"); 185 187 } 186 188 } -
deweys-open-graph-helper/trunk/wad_open_graph.php
r1257849 r1320971 11 11 * Plugin URI: http://www.whatadewitt.ca 12 12 * Description: Simplifies the use of Open Graph. 13 * Version: 2.0. 013 * Version: 2.0.1 14 14 * Author: Luke DeWitt 15 15 * Author URI: http://www.whatadewitt.ca
Note: See TracChangeset
for help on using the changeset viewer.