Changeset 3374483 for polldaddy/trunk/polldaddy-shortcode.php
- Timestamp:
- 10/07/2025 02:25:18 PM (6 months ago)
- File:
-
- 1 edited
-
polldaddy/trunk/polldaddy-shortcode.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
polldaddy/trunk/polldaddy-shortcode.php
r2435361 r3374483 181 181 $poll = intval( $poll ); 182 182 $poll_url = sprintf( 'https://poll.fm/%d', $poll ); 183 $poll_js = sprintf( ' %s.polldaddy.com/p/%d.js', '//static', $poll );183 $poll_js = sprintf( 'https://static.polldaddy.com/p/%d.js', $poll ); 184 184 $poll_link = sprintf( '<a href="%s">Take Our Poll</a>', $poll_url ); 185 185 … … 443 443 if ( !function_exists( 'polldaddy_link' ) ) { 444 444 // http://polldaddy.com/poll/1562975/?view=results&msg=voted 445 // http://poll.fm/1562975 445 446 function polldaddy_link( $content ) { 446 if ( false === strpos( $content, "polldaddy.com/" ) )447 if ( false === strpos( $content, "polldaddy.com/" ) && false === strpos( $content, "poll.fm/" ) ) 447 448 return $content; 448 449 $textarr = wp_html_split( $content );
Note: See TracChangeset
for help on using the changeset viewer.