WordPress.org

Plugin Directory

Changeset 1709525


Ignore:
Timestamp:
08/07/17 11:59:15 (2 months ago)
Author:
mikeyott
Message:

Added new object types: business.business
Added new object types: place
Removed incorrect object type: object
Fixed malformed anchor in readme
Fixed typos

Location:
facebook-thumb-fixer/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • facebook-thumb-fixer/trunk/_facebook-thumb-fixer.php

    r1700669 r1709525  
    174174            <option value="book"<?php if($hpot == "book") { echo " selected"; } ?>>book</option> 
    175175            <option value="books.author"<?php if($hpot == "books.author") { echo " selected"; } ?>>books.author</option> 
     176            <option value="business.business"<?php if($hpot == "business.business") { echo " selected"; } ?>>business.business</option> 
    176177            <option value="fitness.course"<?php if($hpot == "fitness.course") { echo " selected"; } ?>>fitness.course</option> 
    177178            <option value="fitness.unit"<?php if($hpot == "fitness.unit") { echo " selected"; } ?>>fitness.unit</option> 
     
    180181            <option value="music.radio_station"<?php if($hpot == "music.radio_station") { echo " selected"; } ?>>music.radio_station</option> 
    181182            <option value="music.song"<?php if($hpot == "music.song") { echo " selected"; } ?>>music.song</option> 
    182             <option value="object"<?php if($hpot == "object") { echo " selected"; } ?>>object</option> 
     183            <option value="place"<?php if($hpot == "place") { echo " selected"; } ?>>place</option> 
    183184            <option value="product"<?php if($hpot == "product") { echo " selected"; } ?>>product</option> 
    184185            <option value="product.group"<?php if($hpot == "product.group") { echo " selected"; } ?>>product.group</option> 
     
    201202            <?php include(locate_template(plugin_basename( __FILE__ ))) . 'home-preview.php'; ?> 
    202203        <?php } else {  ?> 
    203             <p class="howto"><?php _e( '<strong>Note: </strong>If no selction is made, the Object Type for your home page will be "website".', 'facebook-thumb-fixer' ); ?></p> 
     204            <p class="howto"><?php _e( '<strong>Note: </strong>If no selection is made, the Object Type for your home page will be "website".', 'facebook-thumb-fixer' ); ?></p> 
    204205        <?php } ?> 
    205206 
     
    268269            <option value="book"<?php if($ot == "book") { echo " selected"; } ?>>book</option> 
    269270            <option value="books.author"<?php if($ot == "books.author") { echo " selected"; } ?>>books.author</option> 
     271            <option value="business.business"<?php if($ot == "business.business") { echo " selected"; } ?>>business.business</option> 
    270272            <option value="fitness.course"<?php if($ot == "fitness.course") { echo " selected"; } ?>>fitness.course</option> 
    271273            <option value="fitness.unit"<?php if($ot == "fitness.unit") { echo " selected"; } ?>>fitness.unit</option> 
     
    274276            <option value="music.radio_station"<?php if($ot == "music.radio_station") { echo " selected"; } ?>>music.radio_station</option> 
    275277            <option value="music.song"<?php if($ot == "music.song") { echo " selected"; } ?>>music.song</option> 
    276             <option value="object"<?php if($ot == "object") { echo " selected"; } ?>>object</option> 
     278            <option value="place"<?php if($ot == "place") { echo " selected"; } ?>>place</option> 
    277279            <option value="product"<?php if($ot == "product") { echo " selected"; } ?>>product</option> 
    278280            <option value="product.group"<?php if($ot == "product.group") { echo " selected"; } ?>>product.group</option> 
     
    287289 
    288290        <?php $fb_object_types_URL = 'https://developers.facebook.com/docs/reference/opengraph/'; ?> 
    289         <p><?php echo sprintf( __( 'If no selction is made, the Object Type for this %1$s will be "article". Learn about Object Types <a href="%2$s" target="_blank">here</a>.', 'facebook-thumb-fixer' ), $post_type_label, $fb_object_types_URL); ?></p> 
     291        <p><?php echo sprintf( __( 'If no selection is made, the Object Type for this %1$s will be "article". Learn about Object Types <a href="%2$s" target="_blank">here</a>.', 'facebook-thumb-fixer' ), $post_type_label, $fb_object_types_URL); ?></p> 
    290292     
    291293     
  • facebook-thumb-fixer/trunk/languages/facebook-thumb-fixer.pot

    r1700669 r1709525  
    44"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" 
    55"Project-Id-Version: Facebook Thumb Fixer\n" 
    6 "POT-Creation-Date: 2017-07-22 15:49+0800\n" 
    7 "PO-Revision-Date: 2017-07-22 15:49+0800\n" 
     6"POT-Creation-Date: 2017-08-07 19:56+0800\n" 
     7"PO-Revision-Date: 2017-08-07 19:56+0800\n" 
    88"Last-Translator: Michael Ott <hello@michaelott.id.au>\n" 
    99"Language-Team: Michael Ott <hello@michaelott.id.au>\n" 
     
    8181msgstr "" 
    8282 
    83 #: _facebook-thumb-fixer.php:195 
     83#: _facebook-thumb-fixer.php:196 
    8484#, php-format 
    8585msgid "Learn about Object Types <a href=\"%1$s\" target=\"_blank\">here</a>." 
    8686msgstr "" 
    8787 
    88 #: _facebook-thumb-fixer.php:203 
    89 msgid "" 
    90 "<strong>Note: </strong>If no selction is made, the Object Type for your home " 
    91 "page will be \"website\"." 
    92 msgstr "" 
    93  
    94 #: _facebook-thumb-fixer.php:289 
    95 #, php-format 
    96 msgid "" 
    97 "If no selction is made, the Object Type for this %1$s will be \"article\". " 
     88#: _facebook-thumb-fixer.php:204 
     89msgid "" 
     90"<strong>Note: </strong>If no selection is made, the Object Type for your " 
     91"home page will be \"website\"." 
     92msgstr "" 
     93 
     94#: _facebook-thumb-fixer.php:291 
     95#, php-format 
     96msgid "" 
     97"If no selection is made, the Object Type for this %1$s will be \"article\". " 
    9898"Learn about Object Types <a href=\"%2$s\" target=\"_blank\">here</a>." 
    9999msgstr "" 
    100100 
    101 #: _facebook-thumb-fixer.php:296 
     101#: _facebook-thumb-fixer.php:298 
    102102msgid "" 
    103103"Preview and debugging are not possible when open graph tags are disabled." 
    104104msgstr "" 
    105105 
    106 #: _facebook-thumb-fixer.php:300 
     106#: _facebook-thumb-fixer.php:302 
    107107#, php-format 
    108108msgid "Disable for this %s" 
    109109msgstr "" 
    110110 
    111 #: _facebook-thumb-fixer.php:351 
     111#: _facebook-thumb-fixer.php:353 
    112112msgid "FB Thumb Fixer" 
    113113msgstr "" 
    114114 
    115 #: _facebook-thumb-fixer.php:355 
     115#: _facebook-thumb-fixer.php:357 
    116116msgid "You do not have sufficient permissions to access this page." 
    117117msgstr "" 
    118118 
    119 #: _facebook-thumb-fixer.php:368 
     119#: _facebook-thumb-fixer.php:370 
    120120#, php-format 
    121121msgid "" 
     
    124124msgstr "" 
    125125 
    126 #: _facebook-thumb-fixer.php:370 home-preview.php:2 
     126#: _facebook-thumb-fixer.php:372 home-preview.php:2 
    127127msgid "Homepage Preview" 
    128128msgstr "" 
    129129 
    130 #: _facebook-thumb-fixer.php:371 
     130#: _facebook-thumb-fixer.php:373 
    131131msgid "" 
    132132"This is an approximate preview of your homepage when shared on Facebook:" 
    133133msgstr "" 
    134134 
    135 #: _facebook-thumb-fixer.php:406 
     135#: _facebook-thumb-fixer.php:408 
    136136#, php-format 
    137137msgid "" 
     
    140140msgstr "" 
    141141 
    142 #: _facebook-thumb-fixer.php:408 
     142#: _facebook-thumb-fixer.php:410 
    143143#, php-format 
    144144msgid "Your image (shown here scaled down) appears to be good at %1$s x %2$s." 
    145145msgstr "" 
    146146 
    147 #: _facebook-thumb-fixer.php:415 
     147#: _facebook-thumb-fixer.php:417 
    148148#, php-format 
    149149msgid "" 
     
    153153msgstr "" 
    154154 
    155 #: _facebook-thumb-fixer.php:422 
     155#: _facebook-thumb-fixer.php:424 
    156156#, php-format 
    157157msgid "" 
     
    160160msgstr "" 
    161161 
    162 #: _facebook-thumb-fixer.php:444 
     162#: _facebook-thumb-fixer.php:446 
    163163msgid "Where can I get support?" 
    164164msgstr "" 
    165165 
    166 #: _facebook-thumb-fixer.php:446 
     166#: _facebook-thumb-fixer.php:448 
    167167#, php-format 
    168168msgid "" 
  • facebook-thumb-fixer/trunk/readme.txt

    r1700669 r1709525  
    33Tags: facebook, thumb, fixer, default, thumbnail, thumbnails, thumbs, og:image, og:description, og:title, open, graph, open graph 
    44Requires at least: 4.0 
    5 Tested up to: 4.8 
     5Tested up to: 4.8.1 
    66Stable tag: trunk 
    77 
     
    4040== How to set an object type == 
    4141 
    42 <strong>Posts and Pages</strong> 
    43  
    44 On each page or post you edit there is an 'Open Graph Object Type' meta box. Simply make a section from there to specify what Object Type the page or post is. Example: If the it's an article, then choose 'article'. If it's a product, choose 'product'. To help you decide what Object Type to choose, go <a href-"https://developers.facebook.com/docs/reference/opengraph" target="_blank">here</a> to learn the differences between them all. 
     42<strong>Posts and pages</strong> 
     43 
     44On each page or post you edit there is an 'Open Graph Object Type' meta box. Simply make a section from there to specify what Object Type the page or post is. Example: If the it's an article, then choose 'article'. If it's a product, choose 'product'. To help you decide what Object Type to choose, go <a href="https://developers.facebook.com/docs/reference/opengraph" target="_blank">here</a> to learn the differences between them all. 
    4545 
    4646Note: If no selection is made for posts or pages then the Object Type will be 'article', which in most cases is fine. 
     
    5252Note: If no selection is made for the home page then the Object Type will default to 'webpage', which in most cases is probably what you want. 
    5353 
     54<strong>Known issues</strong> 
     55 
     56Divi theme is not houring the WordPress strip_shortcodes() function, and so if you have a shortcode early on in a post you may see unexpected results when sharing on social media. 
     57 
    5458== Changelog == 
     59 
     60= 1.7.5 = 
     61 
     62Added new object types: business.business 
     63Added new object types: place 
     64Removed incorrect object type: object 
     65Fixed malformed anchor in readme 
     66Fixed typos 
    5567 
    5668= 1.7.4 = 
Note: See TracChangeset for help on using the changeset viewer.