WP Photo Album Plus - Version 8.1.00.006

Version Description

= 8.0.10 =

  • This version addresses various bug fixes, feature requests and security fixes.
Download this release

Release Info

Developer opajaap
Plugin Icon wp plugin WP Photo Album Plus
Version 8.1.00.006
Comparing to
See all releases

Code changes from version 8.1.00.005 to 8.1.00.006

js/wppa-gutenberg-wppa.js CHANGED
@@ -1,7 +1,7 @@
1
  /* wppa-gutenberg-wppa.js
2
  * Pachkage: wp-photo-album-plus
3
  *
4
- * Version 8.1.00.005
5
  */
6
 
7
  // Global vars
@@ -671,7 +671,7 @@ function wppaGutenbergGalleryEvaluate() {
671
 
672
  if ( shortcodeOk ) {
673
  result = shortcode.replace( /#/g, '@' );
674
- result = shortcode.replace( /"/g, '4711' );
675
  }
676
  else {
677
  result = '';
1
  /* wppa-gutenberg-wppa.js
2
  * Pachkage: wp-photo-album-plus
3
  *
4
+ * Version 8.1.00.006
5
  */
6
 
7
  // Global vars
671
 
672
  if ( shortcodeOk ) {
673
  result = shortcode.replace( /#/g, '@' );
674
+ result = shortcode.replace( /"/g, '' );
675
  }
676
  else {
677
  result = '';
wppa-admin-styles.css CHANGED
@@ -1,7 +1,7 @@
1
  /* admin-styles.css
2
  *
3
  * wp-photo-album-plus
4
- * version 8.1.00.004
5
  */
6
  #files_list, #files_list2
7
  {
@@ -304,9 +304,9 @@ border:1px solid black;
304
  float: left;
305
  }
306
  .ui-state-default-albums td {
307
- padding:0;
308
- line-height:12px;
309
- text-align:center;
310
  }
311
  #src-alb{
312
  color:transparent;
@@ -343,16 +343,17 @@ border:1px solid black;
343
  margin: 5px;
344
  border: 1px solid #cccccc;
345
  border-radius:3px;
346
- float: left;
347
  }
348
  .ui-state-default {
349
- position: relative;
350
  width: 180px;
351
  height: 180px;
352
  margin: 5px;
353
  border-radius:3px;
354
- float: left;
355
  }
 
356
  .wppa-publish {
357
  border: 1px solid;
358
  background-color: rgb( 255, 255, 224 );
1
  /* admin-styles.css
2
  *
3
  * wp-photo-album-plus
4
+ * version 8.1.00.006
5
  */
6
  #files_list, #files_list2
7
  {
304
  float: left;
305
  }
306
  .ui-state-default-albums td {
307
+ padding:0 !important;
308
+ line-height:12px !important;
309
+ text-align:center !important;
310
  }
311
  #src-alb{
312
  color:transparent;
343
  margin: 5px;
344
  border: 1px solid #cccccc;
345
  border-radius:3px;
346
+ float: left !important;
347
  }
348
  .ui-state-default {
349
+ position: relative !important;
350
  width: 180px;
351
  height: 180px;
352
  margin: 5px;
353
  border-radius:3px;
354
+ float: left !important;
355
  }
356
+
357
  .wppa-publish {
358
  border: 1px solid;
359
  background-color: rgb( 255, 255, 224 );
wppa-admin.php CHANGED
@@ -3,7 +3,7 @@
3
  * Package: wp-photo-album-plus
4
  *
5
  * Contains the admin menu and startups the admin pages
6
- * Version 8.1.00.005
7
  *
8
  */
9
 
@@ -102,9 +102,10 @@ global $wppa_api_version;
102
  // Standard frontend styles
103
  wp_register_style('wppa_style', WPPA_URL.'/theme/wppa-style.css', array(), $wppa_api_version);
104
  wp_enqueue_style('wppa_style');
105
- wp_add_inline_style( 'wppa_style', wppa_create_wppa_dynamic_css() );
106
 
107
- $the_css = '
 
 
108
  #TB_ajaxContent {
109
  box-sizing:border-box; width:100% !important;
110
  }
@@ -374,7 +375,7 @@ global $wpdb;
374
 
375
  // Fix
376
  $new_content = str_replace( array( 'wp:wppa/gutenberg-photo', 'wp:wppa/gutenberg-wppa' ), 'wp:shortcode', $post_content );
377
- $new_content = str_replace( '4711', '"', $new_content );
378
 
379
  // Update if fixed
380
  if ( $post_content != $new_content ) {
3
  * Package: wp-photo-album-plus
4
  *
5
  * Contains the admin menu and startups the admin pages
6
+ * Version 8.1.00.006
7
  *
8
  */
9
 
102
  // Standard frontend styles
103
  wp_register_style('wppa_style', WPPA_URL.'/theme/wppa-style.css', array(), $wppa_api_version);
104
  wp_enqueue_style('wppa_style');
 
105
 
106
+ $the_css = wppa_create_wppa_dynamic_css();
107
+ $the_css .= '
108
+ /* WPPA Admin styles */
109
  #TB_ajaxContent {
110
  box-sizing:border-box; width:100% !important;
111
  }
375
 
376
  // Fix
377
  $new_content = str_replace( array( 'wp:wppa/gutenberg-photo', 'wp:wppa/gutenberg-wppa' ), 'wp:shortcode', $post_content );
378
+ // $new_content = str_replace( ''', '"', $new_content );
379
 
380
  // Update if fixed
381
  if ( $post_content != $new_content ) {
wppa-ajax.php CHANGED
@@ -2,7 +2,7 @@
2
  /* wppa-ajax.php
3
  *
4
  * Functions used in ajax requests
5
- * Version 8.1.00.003
6
  *
7
  */
8
 
@@ -1084,6 +1084,7 @@ global $wppa;
1084
  case 'getshortcodedrendered':
1085
  $shortcode = wppa_get( 'shortcode' );
1086
  $shortcode = str_replace( '@', '#', $shortcode );
 
1087
 
1088
  wppa_load_theme();
1089
 
2
  /* wppa-ajax.php
3
  *
4
  * Functions used in ajax requests
5
+ * Version 8.1.00.006
6
  *
7
  */
8
 
1084
  case 'getshortcodedrendered':
1085
  $shortcode = wppa_get( 'shortcode' );
1086
  $shortcode = str_replace( '@', '#', $shortcode );
1087
+ // $shortcode = str_replace( ''', '"', $shortcode );
1088
 
1089
  wppa_load_theme();
1090
 
wppa-non-admin.php CHANGED
@@ -3,7 +3,7 @@
3
  * Package: wp-photo-album-plus
4
  *
5
  * Contains all the non admin stuff
6
- * Version 8.1.00.004
7
  *
8
  */
9
 
@@ -56,9 +56,9 @@ global $wppa_api_version;
56
  }
57
  wp_register_style('wppa_style', WPPA_URL.'/theme/wppa-style.css', array(), $ver);
58
  wp_enqueue_style('wppa_style');
59
- wp_add_inline_style( 'wppa_style', wppa_create_wppa_dynamic_css() );
60
 
61
- $the_css = '
 
62
  #wppaphoto-table {
63
  box-sizing:border-box; width:100% !important;
64
  }
3
  * Package: wp-photo-album-plus
4
  *
5
  * Contains all the non admin stuff
6
+ * Version 8.1.00.006
7
  *
8
  */
9
 
56
  }
57
  wp_register_style('wppa_style', WPPA_URL.'/theme/wppa-style.css', array(), $ver);
58
  wp_enqueue_style('wppa_style');
 
59
 
60
+ $the_css = wppa_create_wppa_dynamic_css();
61
+ $the_css .= '
62
  #wppaphoto-table {
63
  box-sizing:border-box; width:100% !important;
64
  }
wppa-photo-admin-autosave.php CHANGED
@@ -3,7 +3,7 @@
3
  * Package: wp-photo-album-plus
4
  *
5
  * edit and delete photos
6
- * Version 8.1.00.005
7
  *
8
  */
9
 
@@ -3078,6 +3078,7 @@ global $wpdb;
3078
 
3079
  if ( $photos ) {
3080
  ?>
 
3081
  <script>
3082
  jQuery( function() {
3083
  jQuery( "#sortable" ).sortable( {
3
  * Package: wp-photo-album-plus
4
  *
5
  * edit and delete photos
6
+ * Version 8.1.00.006
7
  *
8
  */
9
 
3078
 
3079
  if ( $photos ) {
3080
  ?>
3081
+
3082
  <script>
3083
  jQuery( function() {
3084
  jQuery( "#sortable" ).sortable( {
wppa-styles.php CHANGED
@@ -3,7 +3,7 @@
3
  /* Package: wp-photo-album-plus
4
  /*
5
  /* Various style computation routines
6
- /* Version 8.1.00.005
7
  /*
8
  */
9
 
@@ -12,7 +12,7 @@ if ( ! defined( 'ABSPATH' ) ) die( "Can't load this file directly" );
12
  // Create dynamic css
13
  function wppa_create_wppa_dynamic_css() {
14
 
15
- $the_style = '
16
  .wppa-box { ' .
17
  ( wppa_opt( 'bwidth' ) > '0' ? 'border-style: solid; border-width:' . wppa_opt( 'bwidth' ) . 'px; ' : '' ) .
18
  ( wppa_opt( 'bradius' ) > '0' ? 'border-radius:' . wppa_opt( 'bradius' ) . 'px; -moz-border-radius:' . wppa_opt( 'bradius' ) . 'px; ' : '' ) .
@@ -75,11 +75,11 @@ function wppa_create_wppa_dynamic_css() {
75
 
76
  // Add miscellaneous styles
77
  if ( ! wppa_switch( 'show_pname' ) ) {
78
- $the_style .= '
79
  .bc-pname { display:none; }';
80
  }
81
 
82
- return $the_style;
83
 
84
  }
85
 
3
  /* Package: wp-photo-album-plus
4
  /*
5
  /* Various style computation routines
6
+ /* Version 8.1.00.006
7
  /*
8
  */
9
 
12
  // Create dynamic css
13
  function wppa_create_wppa_dynamic_css() {
14
 
15
+ $the_css = '
16
  .wppa-box { ' .
17
  ( wppa_opt( 'bwidth' ) > '0' ? 'border-style: solid; border-width:' . wppa_opt( 'bwidth' ) . 'px; ' : '' ) .
18
  ( wppa_opt( 'bradius' ) > '0' ? 'border-radius:' . wppa_opt( 'bradius' ) . 'px; -moz-border-radius:' . wppa_opt( 'bradius' ) . 'px; ' : '' ) .
75
 
76
  // Add miscellaneous styles
77
  if ( ! wppa_switch( 'show_pname' ) ) {
78
+ $the_css .= '
79
  .bc-pname { display:none; }';
80
  }
81
 
82
+ return $the_css;
83
 
84
  }
85
 
wppa.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  * Plugin Name: WP Photo Album Plus
4
  * Description: Easily manage and display your photo albums and slideshows within your WordPress site.
5
- * Version: 8.1.00.005
6
  * Author: J.N. Breetvelt a.k.a. OpaJaap
7
  * Author URI: http://wppa.opajaap.nl/
8
  * Plugin URI: http://wordpress.org/extend/plugins/wp-photo-album-plus/
@@ -24,7 +24,7 @@ global $wp_version;
24
 
25
  /* WPPA GLOBALS */
26
  global $wppa_api_version;
27
- $wppa_api_version = '8.1.00.005'; // WPPA software version
28
  global $wppa_revno;
29
  $wppa_revno = str_replace( '.', '', $wppa_api_version ); // WPPA db version
30
 
2
  /*
3
  * Plugin Name: WP Photo Album Plus
4
  * Description: Easily manage and display your photo albums and slideshows within your WordPress site.
5
+ * Version: 8.1.00.006
6
  * Author: J.N. Breetvelt a.k.a. OpaJaap
7
  * Author URI: http://wppa.opajaap.nl/
8
  * Plugin URI: http://wordpress.org/extend/plugins/wp-photo-album-plus/
24
 
25
  /* WPPA GLOBALS */
26
  global $wppa_api_version;
27
+ $wppa_api_version = '8.1.00.006'; // WPPA software version
28
  global $wppa_revno;
29
  $wppa_revno = str_replace( '.', '', $wppa_api_version ); // WPPA db version
30